search for: gathermaximalpreservedregist

Displaying 4 results from an estimated 4 matches for "gathermaximalpreservedregist".

2016 Jun 22
0
Finding caller-saved registers at a function call site
...I'm currently targeting the AArch64 > & X86 backends. 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
...the AArch64 > > & X86 backends. > > 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 > -- Rob Lyerly Graduate Research Assistant, Systems Software Research Group -------------- next part ----------...
2016 Jun 27
0
Finding caller-saved registers at a function call site
...; & X86 backends. >> >> 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 >> > > > > -- > Rob Lyerly > Graduate Research Assistant, Systems Softw...