search for: patchable_event_call

Displaying 5 results from an estimated 5 matches for "patchable_event_call".

2018 May 07
0
How to add assembly instructions in CodeGen
...gAlloc, but it failed due to insufficient register allocation error or something on that line. > Can anybody please help me write a MachineFunctionPass where I can insert assembly instruction without breaking the alignment? I am doing this for X86_64. You can look at the XRay lowering for the PATCHABLE_EVENT_CALL lowering in X86AsmPrinter as a guide for the lowering, but you might also want to see how we're inserting these pseudo-instructions from the I don't remember having to specify where the pass is defined, since it's already in the assembly printing. So you might consider inserting these...
2018 May 07
2
How to add assembly instructions in CodeGen
...ufficient register allocation error or something on that line. > > > Can anybody please help me write a MachineFunctionPass where I can insert > assembly instruction without breaking the alignment? I am doing this for > X86_64. > > > You can look at the XRay lowering for the PATCHABLE_EVENT_CALL lowering in > X86AsmPrinter as a guide for the lowering, but you might also want to see > how we're inserting these pseudo-instructions from the > > I don't remember having to specify where the pass is defined, since it's > already in the assembly printing. So you might c...
2018 May 05
4
How to add assembly instructions in CodeGen
Hello, I want to add assembly instructions at certain points in a function. This is X86 specific. So I am working in the lib/Target/X86 folder. I create a `MachineFunctionPass` in that folder. I register it in the X86TargetMachine.cpp in addPreEmitPass(). I use BuildMI to insert my own assembly instructions in the MachineFunctionPass. This works and my assembly instructions are inserted at
2018 May 08
0
How to add assembly instructions in CodeGen
...cient register allocation error or something on that line. >> > Can anybody please help me write a MachineFunctionPass where I can insert >> assembly instruction without breaking the alignment? I am doing this for >> X86_64. >> You can look at the XRay lowering for the PATCHABLE_EVENT_CALL lowering in >> X86AsmPrinter as a guide for the lowering, but you might also want to see >> how we're inserting these pseudo-instructions from the >> I don't remember having to specify where the pass is defined, since it's >> already in the assembly printing. So...
2018 May 09
1
How to add assembly instructions in CodeGen
...mething on that line. > > >> > Can anybody please help me write a MachineFunctionPass where I can > insert > >> assembly instruction without breaking the alignment? I am doing this for > >> X86_64. > > > >> You can look at the XRay lowering for the PATCHABLE_EVENT_CALL lowering > in > >> X86AsmPrinter as a guide for the lowering, but you might also want to > see > >> how we're inserting these pseudo-instructions from the > > >> I don't remember having to specify where the pass is defined, since it's > >> al...