search for: prologueepilogue

Displaying 3 results from an estimated 3 matches for "prologueepilogue".

2004 Jun 09
2
[LLVMdev] Saving registers used by function
Alkis Evlogimenos wrote: > On Wed, 2004-06-09 at 04:56, Vladimir Prus wrote: > > Hello! > > Is there an (semi)automatic way to save registers used by a function? For > > example, on my target I have to store ar0-ar4 and gr0-gr4, gr5, gr6. For > > now I just emit huge prologue code to push them all to stack -- even if > > they are not modified at all. > > >
2004 Jun 09
0
[LLVMdev] Saving registers used by function
...sters. The naive compiler pushes/pop all > registers which are used in a function and must be preserved. You should define these as they are defined in the X86 and PowerPC backends: def X86 : Target { // Specify the callee saved registers. let CalleeSavedRegisters = [ESI, EDI, EBX, EBP]; PrologueEpilogue inserter will then add store/loads to each register in this list that is modified. -- Alkis
2015 May 29
0
[LLVMdev] Pristine Register Semantics
...ust a short heads-up for out-of-tree targets relying on the concept of pristine registers. I slightly changed their semantics in r238524 (see http://reviews.llvm.org/D10101 <http://reviews.llvm.org/D10101> for details). If you happened to not use the RegisterScavenger to get liveness past the PrologueEpilogue inserted and relied on MachineFrameInfo::getPristineRegs() without at same time relying on the machine basic blocks live-in sets then you may be affected by it. - Matthias -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/a...