search for: lowerx86_32fastccargu

Displaying 5 results from an estimated 5 matches for "lowerx86_32fastccargu".

2007 Aug 11
1
[LLVMdev] Tail call optimization deeds
...llingconv::fastcc and the tail call attribute will be optimized. Maybe the next step should be to integrate the code into the other calling convention lowering. Here is what i have at the moment: If callingconv::fastcc is used the function will be custom lowered. (LowerX86_32FastCCCallTo and LowerX86_32FastCCArguments, the code is based on the std calling convention minus ecx as inreg) The lowering code decides whether the function call really is eligible for tail call optimization tco (caller-callee agree, tail call opt is enabled, tail position, TODO: check for PIC code). If it is okay to do tco it...
2007 Aug 13
0
[LLVMdev] Tail call optimization deeds
...and the tail call attribute will be optimized. > Maybe the next step should be to integrate the code into the other > calling convention lowering. Here is what i have at the moment: > > If callingconv::fastcc is used the function will be custom lowered. > (LowerX86_32FastCCCallTo and LowerX86_32FastCCArguments, the code is > based on the std calling convention minus ecx as inreg) > The lowering code decides whether the function call really is > eligible for tail call optimization tco (caller-callee agree, tail > call opt is enabled, tail position, TODO: check for PIC code). > If it is...
2007 Aug 09
4
[LLVMdev] Tail call optimization thoughts
Hello, Arnold. Only quick comments, I'll try to make a full review a little bit later. > 0.)a fast calling convention (maybe use the current > CallingConv::Fast, or create a CallingConv::TailCall) > 1.) lowering of formal arguments > like for example x86_LowerCCCArguments in stdcall mode > we need to make sure that later mentioned CALL_CLOBBERED_REG is >
2007 Sep 06
2
[LLVMdev] RFC: Tail call optimization X86
...what you described here. I am having a hard time following > it. :-) Please send patch. > Okay here is a patch containing the tail call optimization code for X86. It mostly does what i have described in preceeding emails: There is new code for lowering fastcc calls: LowerX86_32FastCCCallTo LowerX86_32FastCCArguments There is some code checking whether a TAIL CALL really is eligible for tail call optimization. I modified: LowerRET to create a TC_RETURN node. (used for adjusting stackpointer and jumping to function in epilogue, similar to EH_RETURN) There is a new calling convention: CC_X86_32_TailCall...
2007 Sep 11
0
[LLVMdev] RFC: Tail call optimization X86
...ime following >> it. :-) Please send patch. >> > > Okay here is a patch containing the tail call optimization code > for X86. It mostly does what i have described in preceeding > emails: > > There is new code for lowering fastcc calls: > LowerX86_32FastCCCallTo > LowerX86_32FastCCArguments > > There is some code checking whether a TAIL CALL really is > eligible for tail call optimization. > > I modified: > LowerRET > to create a TC_RETURN node. (used for adjusting stackpointer and > jumping to function in epilogue, similar to EH_RETURN) > > There is...