Displaying 4 results from an estimated 4 matches for "emitfoo".
2013 May 30
2
[LLVMdev] How to associate extra comments to a MachineInstruction ?
> From: Eric Christopher
> Subject: Re: [LLVMdev] How to associate extra comments to a
> MachineInstruction ?
>
> Should be spelled like this yes?
>
> Asm->OutStreamer.AddComment("foo")
> Asm->EmitFoo();
>
> -eric
That should work at the moment that you are emitting the instructions.
But what would you do when you are manipulating a MachineBasicBlock and want to
annotate some instructions there ? (way before the assembler jumps in)
The annotation belongs to the instruction and other m...
2013 May 30
2
[LLVMdev] How to associate extra comments to a MachineInstruction ?
Hi,
is there a convenient way to associate/add a comment to a MachineInstruction, so that
in the produced assembly file, the comment is added next to the instruction ?
Greetings,
Jeroen Dobbelaere
2013 May 30
0
[LLVMdev] How to associate extra comments to a MachineInstruction ?
Should be spelled like this yes?
Asm->OutStreamer.AddComment("foo")
Asm->EmitFoo();
-eric
On Thu, May 30, 2013 at 1:44 PM, Jeroen Dobbelaere
<Jeroen.Dobbelaere at synopsys.com> wrote:
> Hi,
>
> is there a convenient way to associate/add a comment to a MachineInstruction, so that
> in the produced assembly file, the comment is added next to the instruction ?...
2013 May 30
0
[LLVMdev] How to associate extra comments to a MachineInstruction ?
...belaere at synopsys.com> wrote:
>> From: Eric Christopher
>> Subject: Re: [LLVMdev] How to associate extra comments to a
>> MachineInstruction ?
>>
>> Should be spelled like this yes?
>>
>> Asm->OutStreamer.AddComment("foo")
>> Asm->EmitFoo();
>>
>> -eric
>
>
> That should work at the moment that you are emitting the instructions.
>
Yep.
> But what would you do when you are manipulating a MachineBasicBlock and want to
> annotate some instructions there ? (way before the assembler jumps in)
> The ann...