search for: _targetfunction

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

2007 Aug 09
1
[LLVMdev] Tail call optimization thoughts
...} } 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 arg jmp _targetfunction Should also work for architectures other than x86. any critique, comments welcome regards arnold
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