search for: xxxframelow

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

2017 Jun 09
2
Question about Prolog/Epilog Code Insertion
Hi All, When seeing the title "Prolog/Epilog Code Insertion", I'd expect something about XXXFrameLowering.cpp (particular about emitPrologue/emitEpilogue). But the document [1] is about unwind. Is it placed at the right place/section? Thanks. [1] http://llvm.org/docs/CodeGenerator.html#prolog-epilog-code-insertion Regards, chenwj -- Wei-Ren Chen (陳韋任) Homepage: https://people.cs.nctu.edu.tw...
2015 May 07
2
[LLVMdev] How to Store variable allocation in Registers
Hello, Im trying to build a Backend using LLVM. My Architecture doesnt have a stack. So,I need to store all the variables in Registers. I found in xxxFrameLowering.cpp (where xxx is any target name) references to stack and frame pointer. I tried to remove all those references by placing Register class in place of stack but of no use. Can anyone please suggest the way to do this...,would be very helpful if you can share some code or reference links too.....
2011 Nov 20
2
[LLVMdev] How can I output assembly comments from emitPrologue()?
...I am having trouble attaching the MDString to an instruction. I am using BuildMI to create my instruction, which only seems to have an "addMetadata()" function rather than "setMetadata()", and which takes an MDNode instead of an MDString. I attempted to do this as follows: void XXXFrameLowering::emitPrologue(MachineFunction &MF) const { ... Value* end_prologue_comment = MDString::get(getGlobalContext(), "end of prologue"); BuildMI(MBB, MBBI, dl, TII.get(Target::AnInstr), Target::R1).addMetadata(cast<MDNode>(end_prologue_comment)); } However, it seems an MDStr...
2011 Nov 20
0
[LLVMdev] How can I output assembly comments from emitPrologue()?
...ching the MDString to an instruction. I am > using BuildMI to create my instruction, which only seems to have an > "addMetadata()" function rather than "setMetadata()", and which takes an > MDNode instead of an MDString. I attempted to do this as follows: > > void XXXFrameLowering::emitPrologue(MachineFunction &MF) const { > ... > Value* end_prologue_comment = MDString::get(getGlobalContext(), "end of > prologue"); > BuildMI(MBB, MBBI, dl, TII.get(Target::AnInstr), > Target::R1).addMetadata(cast<MDNode>(end_prologue_comment)); >...
2011 Nov 21
0
[LLVMdev] How to get ELF section virtual starting address from MCSymbolRefExpr?
...I am having trouble attaching the MDString to an instruction. I am using BuildMI to create my instruction, which only seems to have an "addMetadata()" function rather than "setMetadata()", and which takes an MDNode instead of an MDString. I attempted to do this as follows: void XXXFrameLowering::emitPrologue(MachineFunction &MF) const { ... Value* end_prologue_comment = MDString::get(getGlobalContext(), "end of prologue"); BuildMI(MBB, MBBI, dl, TII.get(Target::AnInstr), Target::R1).addMetadata(cast<MDNode>(end_prologue_comment)); } However, it seems an MDStr...