search for: outer_func

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

Did you mean: other_func
2016 Jun 27
3
Finding caller-saved registers at a function call site
...y, I'm having trouble finding caller-saved registers using the RegMask operand you've mentioned. As an example, I've got a C function that looks like this: double recurse(int depth, double val) { if(depth < max_depth) return recurse(depth + 1, val * 1.2) + val; else return outer_func(val); } As a quick refresher, all "xmm" registers are considered caller-saved on x86, hence values stored in these registers should be spilled to the stack before a function call. The generated assembly for branch containing the call to "recurse" with clang/LLVM 3.8 (-O3) on U...
2016 Jun 22
0
Finding caller-saved registers at a function call site
Hi Rob, Rob Lyerly via llvm-dev wrote: > 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
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
0
Finding caller-saved registers at a function call site
...caller-saved registers using the RegMask > operand you've mentioned. As an example, I've got a C function that looks > like this: > > double recurse(int depth, double val) > { > if(depth < max_depth) return recurse(depth + 1, val * 1.2) + val; > else return outer_func(val); > } > > As a quick refresher, all "xmm" registers are considered caller-saved on > x86, hence values stored in these registers should be spilled to the stack > before a function call. The generated assembly for branch containing the > call to "recurse" w...