search for: getstackpointerregist

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

2008 Mar 04
2
[LLVMdev] Getting the Stack Pointer
...hancing Fernando's register allocator debugger and would like to add support for stack pointer semantics. TargetRegisterInfo has a getFrameRegister method but that returns (on x86) either ESP/RSP or EBP/RBP depending on whether frame pointer elimination has been done. Would it be ok to add a getStackPointerRegister method to TargetRegisterInfo? -Dave
2008 Mar 04
0
[LLVMdev] Getting the Stack Pointer
...allocator > debugger and would like to add support for stack pointer semantics. > > TargetRegisterInfo has a getFrameRegister method but that returns > (on x86) either ESP/RSP or EBP/RBP depending on whether frame > pointer elimination has been done. > > Would it be ok to add a getStackPointerRegister method to TargetRegisterInfo? Why do you need to do this in a register allocator? Typically you want to refer to abstract frame indices. Wouldn't fernando's debugger use a similar representation? -Chris -- http://nondot.org/sabre/ http://llvm.org/
2008 Mar 04
1
[LLVMdev] Getting the Stack Pointer
On Tuesday 04 March 2008 12:16, Chris Lattner wrote: > > Would it be ok to add a getStackPointerRegister method to > > TargetRegisterInfo? > > Why do you need to do this in a register allocator? Typically you want to > refer to abstract frame indices. Wouldn't fernando's debugger use a > similar representation? I don't need it in the allocator. I need it in Fernando...