search for: targetfunction

Displaying 2 results from an estimated 2 matches for "targetfunction".

Did you mean: _targetfunction
2007 Aug 09
1
[LLVMdev] Tail call optimization thoughts
...would then have TargetRegisterInfo::emitEpilogue() { ... if (RetOpcode== X86::TC_RETURN){ if (isDynamicCallee(RetOpCode)) add esp {stack adjustment from tc_return} jmp {register operand of tc_return} } else add esp {stack adjustment from tc_return} jmp {targetfunction operand} } } resulting code for dynamic function mov ecx esi #load callee, say esi holds the address of the tailcalled epilogue #TAILCALL add esp 8 #caller has 2 more arg jmp ecx if the targetfunction is known epilogue #TAILCALL add esp 8 #caller has 2 more a...
2007 Aug 08
2
[LLVMdev] Destination register needs to be valid after callee saved register restore when tail calling
Hello, Arnold. > with the sentence i tried to express the question whether there is a > way to persuade the code generator to use another register to load (or > move) the function pointer to (right before the callee saved register > restore) but thinking a little further that's nonsense. Why don't define some special op for callee address and custom lower it? I really