search for: d21115

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

Did you mean: d21105
2016 Jun 22
0
Finding caller-saved registers at a function call site
...ends. You should be able to use the RegMask operand to the MachineInstr to discover the registers that are preserved or clobbered by the call according to the calling convention. For reference, you might want to look at `getRegMask` and `gatherMaximalPreservedRegisters` in http://reviews.llvm.org/D21115. As far as discovering the slot to which it is spilled, I have no idea. CC'ing Matthias for this. -- Sanjoy
2016 Jun 22
3
Finding caller-saved registers at a function call site
Hi everyone, I'm looking for a way to get all the caller-saved registers (both the register and the stack slot at which it was saved) for a given function call site in the backend. What's the best way to grab this information? Is it possible to get this information if I have the MachineInstr of the function call? I'm currently targeting the AArch64 & X86 backends. Thanks! --
2016 Jun 27
3
Finding caller-saved registers at a function call site
...able to use the RegMask operand to the MachineInstr to > discover the registers that are preserved or clobbered by the call > according to the calling convention. For reference, you might want to > look at `getRegMask` and `gatherMaximalPreservedRegisters` in > http://reviews.llvm.org/D21115. > > As far as discovering the slot to which it is spilled, I have no idea. > CC'ing Matthias for this. > > -- Sanjoy > -- Rob Lyerly Graduate Research Assistant, Systems Software Research Group -------------- next part -------------- An HTML attachment was scrubbed... URL...
2016 May 15
2
RFC: callee saved register verifier
I’ve seen this done in the past without compiler support (for the case of handwritten or JIT’d, etc functions that need checking). It worked something like this: 1. Pass calls to the risky functions through a macro/template or such. 2. In release mode, this turns into a no-op. In debug mode, this sends the calls through a handwritten asm wrapper that sets all the callee-save registers to random
2016 Jun 27
0
Finding caller-saved registers at a function call site
...RegMask operand to the MachineInstr to >> discover the registers that are preserved or clobbered by the call >> according to the calling convention. For reference, you might want to >> look at `getRegMask` and `gatherMaximalPreservedRegisters` in >> http://reviews.llvm.org/D21115. >> >> As far as discovering the slot to which it is spilled, I have no idea. >> CC'ing Matthias for this. >> >> -- Sanjoy >> > > > > -- > Rob Lyerly > Graduate Research Assistant, Systems Software Research Group > > > -------------...