Displaying 3 results from an estimated 3 matches for "const_instr_iterator".
2013 Oct 10
0
[LLVMdev] [PATCH] R600/SI: Embed disassembly in ELF object
...ctStreamer.h"
> #include "llvm/MC/MCStreamer.h"
> #include "llvm/Support/ErrorHandling.h"
> +#include "llvm/Support/Format.h"
> +#include <algorithm>
>
> using namespace llvm;
>
> @@ -69,10 +74,7 @@
> MachineBasicBlock::const_instr_iterator I = MI;
> ++I;
> while (I != MBB->end() && I->isInsideBundle()) {
> - MCInst MCBundleInst;
> - const MachineInstr *BundledInst = I;
> - MCInstLowering.lower(BundledInst, MCBundleInst);
> - OutStreamer.EmitInstruction(MCBundleInst);
>...
2013 Oct 10
2
[LLVMdev] [PATCH] R600/SI: Embed disassembly in ELF object
Hi,
This patch adds R600/SI disassembly text to compiled object files, when
a code dump is requested, to assist debugging in Mesa clients.
Here's an example of the output in a Mesa client with a corresponding
patch and RADEON_DUMP_SHADERS set:
Shader Disassembly:
S_WQM_B64 EXEC, EXEC ; BEFE0A7E
S_MOV_B32 M0, SGPR6 ; BEFC0306
2012 Apr 19
0
[LLVMdev] Target Dependent Hexagon Packetizer patch
...;> - HexagonLowerToMC(MI, MCI, *this);
>> - OutStreamer.EmitInstruction(MCI);
>> + if (MI->isBundle()) {
>> + std::vector<const MachineInstr*> BundleMIs;
>> +
>> + const MachineBasicBlock *MBB = MI->getParent();
>> + MachineBasicBlock::const_instr_iterator MII = MI;
>> + ++MII;
>> + unsigned int IgnoreCount = 0;
>> + while (MII != MBB->end()&& MII->isInsideBundle()) {
>> + const MachineInstr *MInst = MII;
>> + if (MInst->getOpcode() == TargetOpcode::DBG_VALUE ||
>> + MI...