Searched refs:sret (Results 1 – 25 of 110) sorted by relevance
12345
3 declare void @a(i32* sret %a, i32* sret %b)4 ; CHECK: Cannot have multiple 'sret' parameters!6 declare void @b(i32* %a, i32* %b, i32* sret %c)7 ; CHECK: Attribute 'sret' is not on first or second parameter!
16 define void @test1({i32, i32, i32, i32}* sret %p) nounwind {35 ; Check that we fast-isel sret, and handle the callee-pops behavior correctly.40 call void @test3sret(%struct.a* sret %tmp)48 declare void @test3sret(%struct.a* sret)50 ; Check that fast-isel sret works with fastcc (and does not callee-pop)54 call fastcc void @test4fastccsret(%struct.a* sret %tmp)62 declare fastcc void @test4fastccsret(%struct.a* sret)
9 declare void @begin(%Iter* sret)10 declare void @plus(%Iter* sret, %Iter*, i32)27 call void @begin(%Iter* sret %temp.lvalue)30 invoke void @plus(%Iter* sret %end, %Iter* %temp.lvalue, i32 4)33 ; Uses end as sret param.38 call void @begin(%Iter* sret %beg)
3 ; Skip this on Windows as there is no ccosl and sret behaves differently.6 define void @ccosl({ x86_fp80, x86_fp80 }* noalias sret %agg.result, { x86_fp80, x86_fp80 } %z) nou…13 …call void @ccoshl({ x86_fp80, x86_fp80 }* noalias sret %agg.result, { x86_fp80, x86_fp80 } %insert…17 declare void @ccoshl({ x86_fp80, x86_fp80 }* noalias sret, { x86_fp80, x86_fp80 }) nounwind
12 ; The SysV ABI used by most Unixes and Mingw on x86 specifies that an sret pointer13 ; is callee-cleanup. However, in MSVC's cdecl calling convention, sret pointer16 define void @sret1(i8* sret %x) nounwind {36 define void @sret2(i8* sret %x, i8 %y) nounwind {56 define void @sret3(i8* sret %x, i8* %y) nounwind {81 define void @sret4(%struct.S4* noalias sret %agg.result) {105 define x86_thiscallcc void @"\01?foo@C5@@QAE?AUS5@@XZ"(%struct.S5* noalias sret %agg.result, %class…130 call x86_thiscallcc void @"\01?foo@C5@@QAE?AUS5@@XZ"(%struct.S5* sret %s, %class.C5* %c)168 ; The sret pointer is (%esp)172 ; The sret pointer is %ecx[all …]
8 define void @add3i32(%i32vec3* sret %ret, %i32vec3* %ap, %i32vec3* %bp) {21 define void @add3i32_2(%i32vec3* sret %ret, %i32vec3* %ap, %i32vec3* %bp) {38 define void @add7i32(%i32vec7* sret %ret, %i32vec7* %ap, %i32vec7* %bp) {55 define void @add12i32(%i32vec12* sret %ret, %i32vec12* %ap, %i32vec12* %bp) {75 define void @add3i16(%i16vec3* nocapture sret %ret, %i16vec3* %ap, %i16vec3* %bp) nounwind {87 define void @add4i16(%i16vec4* nocapture sret %ret, %i16vec4* %ap, %i16vec4* %bp) nounwind {99 define void @add12i16(%i16vec12* nocapture sret %ret, %i16vec12* %ap, %i16vec12* %bp) nounwind {115 define void @add18i16(%i16vec18* nocapture sret %ret, %i16vec18* %ap, %i16vec18* %bp) nounwind {135 define void @add3i8(%i8vec3* nocapture sret %ret, %i8vec3* %ap, %i8vec3* %bp) nounwind {147 define void @add31i8(%i8vec31* nocapture sret %ret, %i8vec31* %ap, %i8vec31* %bp) nounwind {
279 …S0_IS1_XT1_EXT0_ELi0ELi0EE(%"struct.FixedMatrix<double,3,3,0,0>"* noalias sret, %"struct.FixedMatr…285 …0ELi0EERKS0_IS1_XT1_ELi0EE(%"struct.FixedMatrix<double,1,6,0,0>"* noalias sret, %struct.Mat6*, %"s…287 …IS1_XT0_EXT1_ELi0ELi0EERKS0_IS1_XT1_EXT2_ELi0ELi0EE(%struct.Mat6* noalias sret, %struct.Mat6*, %st…289 …S0_IS1_XT1_EXT2_ELi0ELi0EE(%"struct.FixedMatrix<double,3,6,0,0>"* noalias sret, %struct.Mat6*, %"s…291 …S0_IS1_XT1_EXT2_ELi0ELi0EE(%"struct.FixedMatrix<double,2,6,0,0>"* noalias sret, %struct.Mat6*, %"s…293 …_ELi0ELi0EERKS0_IS1_XT1_ELi0EE(%"struct.FixedVector<double,5,0>"* noalias sret, %"struct.FixedMatr…295 …S0_IS1_XT1_EXT2_ELi0ELi0EE(%"struct.FixedMatrix<double,5,6,0,0>"* noalias sret, %struct.Mat6*, %"s…379 …IS1_XT0_EXT0_ELi0ELi0EERKS0_IS1_XT1_EXT0_ELi0ELi0EE(%struct.Mat6* noalias sret, %struct.Mat6*, %st…391 …IS1_XT0_EXT1_ELi0ELi0EERKS0_IS1_XT1_EXT2_ELi0ELi0EE(%struct.Mat6* noalias sret, %"struct.FixedMatr…399 …IS1_XT0_EXT0_ELi0ELi0EERKS0_IS1_XT1_EXT0_ELi0ELi0EE(%struct.Mat6* noalias sret, %"struct.FixedMatr…[all …]
3 define void @casin({ double, double }* sret %agg.result, double %z.0, double %z.1) nounwind {7 call void @casinh( { double, double }* sret %memtmp, double %tmp4, double %z.0 ) nounwind 20 declare void @casinh({ double, double }* sret , double, double) nounwind
6 ; perform sret demotion when we couldn't return the result in registers. Make12 ; Stack for call: 4(sret ptr), 16(i128 %l), 16(128 %r). So next logical13 ; (aligned) place for the actual sret data is %esp + 40.
4 define void @ccosl({ x86_fp80, x86_fp80 }* noalias sret %agg.result, { x86_fp80, x86_fp80 }* byval…16 …call void @ccoshl( { x86_fp80, x86_fp80 }* noalias sret %agg.result, { x86_fp80, x86_fp80 }* byva…20 declare void @ccoshl({ x86_fp80, x86_fp80 }* noalias sret , { x86_fp80, x86_fp80 }* byval align 4 )…
9 call void @f(%struct.s1* inreg sret %tmp, i32 inreg 41, i32 inreg 42, i32 43)32 declare void @f(%struct.s1* inreg sret, i32 inreg, i32 inreg, i32)36 define void @g2(%struct.s2* inreg sret %agg.result) nounwind {
5 define fastcc void @bar(%struct.foo* noalias sret %agg.result) nounwind {19 call fastcc void @bar( %struct.foo* sret %memtmp ) nounwind
1 ; RUN: opt < %s -instcombine -S | grep "call.*sret"2 ; Make sure instcombine doesn't drop the sret attribute.6 call void bitcast (i8* (i8*, i8*, ...)* @objc_msgSend_stret to void (i16*)*)( i16* sret %tmp10 )
10 define void @_Z3foov(%"class.std::auto_ptr"* noalias nocapture sret %agg.result) ssp {13 ; CHECK: call void @_Z3barv(%"class.std::auto_ptr"* sret %agg.result)14 call void @_Z3barv(%"class.std::auto_ptr"* sret %temp.lvalue)25 declare void @_Z3barv(%"class.std::auto_ptr"* sret)
8 define void @ccosl(%0* noalias sret %agg.result, %0* byval align 8 %z) nounwind {21 call void @ccoshl(%0* noalias sret %memtmp, %0* byval align 8 %iz) nounwind28 declare void @ccoshl(%0* noalias sret, %0* byval) nounwind
12 declare void @bar(%struct1* nocapture sret %agg.result) nounwind17 call void @bar(%struct1* sret %x) nounwind18 ; CHECK: call void @bar(%struct1* sret %x)
9 define void @test1(%0* sret %agg.result, x86_fp80 %z.0, x86_fp80 %z.1) nounwind {14 call void @ccoshl(%0* sret %memtmp, x86_fp80 %tmp5, x86_fp80 %z.0) nounwind32 declare void @ccoshl(%0* sret , x86_fp80, x86_fp80) nounwind 54 define void @test3(%0* noalias sret %agg.result) nounwind {164 call void @f1(%struct.big* sret %tmp)180 call void @f1(%struct.big* sret %tmp)190 ; opaque type of *x, where the x is the formal argument with attribute 'sret'.195 define void @test10(%opaque* noalias nocapture sret %x, i32 %y) {205 declare void @f1(%struct.big* sret)
170 S* b(S* sret, int, int, int, int, T, void*) { in b() argument171 return sret; in b()180 S* d(S* sret, int, int, int, T, void*) { in d() argument181 return sret; in d()
4 ; CHECK: call void @check0(%struct.S0* sret null, %struct.S0* byval align 4 null, %struct.S0* align…5 ; CHECK: define void @check0(%struct.S0* sret %agg.result, %struct.S0* byval %arg0, %struct.S0* %ar…10 …call void @check0(%struct.S0* sret null, %struct.S0* byval align 4 null, %struct.S0* align 4 null,…
9 define void @_Z3foov(%"class.std::auto_ptr"* noalias nocapture sret %agg.result) uwtable ssp {12 call void @_Z3barv(%"class.std::auto_ptr"* sret %temp.lvalue)23 declare void @_Z3barv(%"class.std::auto_ptr"* sret)
35 invoke void @system__img_int__image_integer(%struct.string___XUP* noalias sret null, i32 %i.0)39 …invoke void @system__string_ops__str_concat(%struct.string___XUP* noalias sret null, [0 x i8]* bit…57 declare void @system__img_int__image_integer(%struct.string___XUP* noalias sret, i32)59 declare void @system__string_ops__str_concat(%struct.string___XUP* noalias sret, [0 x i8]*, %struct…
3 define internal void @build_delaunay({ i32 }* sret %agg.result) {8 call void @build_delaunay( { i32 }* sret null )
3 ; CHECK: sparc only supports sret on the first parameter5 define void @foo(i32 %a, i32* sret %out) {
29 define void @f128_ops(fp128* noalias sret %scalar.result, fp128* byval %a, fp128* byval %b, fp128* …57 define void @f128_spill(fp128* noalias sret %scalar.result, fp128* byval %a) {108 define void @f128_abs(fp128* noalias sret %scalar.result, fp128* byval %a) {124 define void @int_to_f128(fp128* noalias sret %scalar.result, i32 %i) {158 define void @uint_to_f128(fp128* noalias sret %scalar.result, i32 %i) {239 define void @f128_neg(fp128* noalias sret %scalar.result, fp128* byval %a) {
3 define void @foo(i32* noalias sret %agg.result) nounwind {14 define void @bar(i32 %v, i32* noalias sret %agg.result) nounwind {