Lines Matching full:tail
4 ; The MSVC family of x86 calling conventions makes tail calls really tricky.
10 ; Don't allow tail calling these cdecl functions, because we need to clear the
14 tail call void @cdecl_void()
22 tail call void @cdecl_void()
30 tail call void @cdecl_void()
38 tail call void @cdecl_void()
46 ; Tail call to/from callee pop functions can work under the right circumstances:
56 tail call x86_thiscallcc void @no_args_method(i8* %this)
64 tail call x86_thiscallcc void @two_args_method(i8* %this, i32 %a, i32 %b)
73 tail call x86_thiscallcc void @two_args_method(i8* %this, i32 %a, i32 %b)
83 tail call x86_thiscallcc void @no_args_method(i8* %this)
94 tail call x86_thiscallcc void @no_args_method(i8* %x)
97 ; Tail calling from ccall to thiscall works.
103 tail call x86_thiscallcc void @one_arg_method(i8* %x, i32 %y);
112 tail call void @ccall_func()
115 ; Tail call from thiscall to ccall works if no arguments need popping.
121 tail call void @ccall_func1(i32 %x)
124 ; No tail call: %x needs to be popped.
135 tail call x86_thiscallcc void %1(%S* %this, i32 %a)
138 ; Tail calling works through function pointers too.
143 tail call void @ccall_func()
151 tail call void @ccall_func()
159 tail call void @ccall_func()
167 tail call x86_thiscallcc void @two_args_method(i8* %this, i32 %a, i32 %b)
175 tail call x86_thiscallcc void @two_args_method(i8* null, i32 %a, i32 %b)
184 tail call x86_fastcallcc void @fastcall2(i32 %a, i32 %b)