/external/llvm/test/Transforms/MemCpyOpt/ |
D | memcpy-to-memset-with-lifetimes.ll | 6 define void @foo([8 x i64]* noalias nocapture sret dereferenceable(64) %sret) { 12 %sret.cast = bitcast [8 x i64]* %sret to i8* 13 call void @llvm.memcpy.p0i8.p0i8.i64(i8* %sret.cast, i8* %a.cast, i64 64, i32 8, i1 false) 18 ; CHECK: %[[sret_cast:[^=]+]] = bitcast [8 x i64]* %sret to i8* 24 define void @bar([8 x i64]* noalias nocapture sret dereferenceable(64) %sret, [8 x i64]* noalias no… 30 %sret.cast = bitcast [8 x i64]* %sret to i8* 31 call void @llvm.memcpy.p0i8.p0i8.i64(i8* %sret.cast, i8* %a.cast, i64 64, i32 8, i1 false) 42 ; CHECK: %[[sret_cast:[^=]+]] = bitcast [8 x i64]* %sret to i8*
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/MemCpyOpt/ |
D | memcpy-to-memset-with-lifetimes.ll | 6 define void @foo([8 x i64]* noalias nocapture sret dereferenceable(64) %sret) { 12 %sret.cast = bitcast [8 x i64]* %sret to i8* 13 …call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 8 %sret.cast, i8* align 8 %a.cast, i64 64, i1 false) 18 ; CHECK: %[[sret_cast:[^=]+]] = bitcast [8 x i64]* %sret to i8* 24 define void @bar([8 x i64]* noalias nocapture sret dereferenceable(64) %sret, [8 x i64]* noalias no… 30 %sret.cast = bitcast [8 x i64]* %sret to i8* 31 …call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 8 %sret.cast, i8* align 8 %a.cast, i64 64, i1 false) 42 ; CHECK: %[[sret_cast:[^=]+]] = bitcast [8 x i64]* %sret to i8*
|
/external/llvm/test/Verifier/ |
D | sret.ll | 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!
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Verifier/ |
D | sret.ll | 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!
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/MergeFunc/ |
D | apply_function_attributes.ll | 9 define void @B(%Opaque_type* sret %a, %S2i* %b, i32* %xp, i32* %yp) { 18 define void @C(%Opaque_type* sret %a, %S2i* %b, i32* %xp, i32* %yp) { 27 define void @A(%Opaque_type* sret %a, %D2i* %b, i32* %xp, i32* %yp) { 37 ; CHECK-LABEL: define void @C(%Opaque_type* sret 38 …32*, i32*)* @A to void (%Opaque_type*, %S2i*, i32*, i32*)*)(%Opaque_type* sret %0, %S2i* %1, i32* … 43 ; CHECK-LABEL: define void @B(%Opaque_type* sret 45 ; CHECK: tail call void @A(%Opaque_type* sret %0, %D2i* %5, i32* %2, i32* %3)
|
/external/llvm/test/Transforms/MergeFunc/ |
D | apply_function_attributes.ll | 9 define void @B(%Opaque_type* sret %a, %S2i* %b, i32* %xp, i32* %yp) { 18 define void @C(%Opaque_type* sret %a, %S2i* %b, i32* %xp, i32* %yp) { 27 define void @A(%Opaque_type* sret %a, %D2i* %b, i32* %xp, i32* %yp) { 37 ; CHECK-LABEL: define void @C(%Opaque_type* sret 38 …32*, i32*)* @A to void (%Opaque_type*, %S2i*, i32*, i32*)*)(%Opaque_type* sret %0, %S2i* %1, i32* … 43 ; CHECK-LABEL: define void @B(%Opaque_type* sret 45 ; CHECK: tail call void @A(%Opaque_type* sret %0, %D2i* %5, i32* %2, i32* %3)
|
/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
D | msgrcv08.c | 60 ssize_t sret; in msr() local 69 sret = msgrcv(msqid, &msbr, sizeof(msbr.mtext), -mtype, IPC_NOWAIT | MSG_NOERROR); in msr() 71 if (sret < 0) { in msr() 80 if ((size_t)sret != sizeof(msbs.mtext)) in msr() 82 sret, sizeof(msbs.mtext)); in msr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | win32_sret.ll | 12 ; The SysV ABI used by most Unixes and Mingw on x86 specifies that an sret pointer 13 ; is callee-cleanup. However, in MSVC's cdecl calling convention, sret pointer 16 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) 160 ; The sret pointer is (%esp) 164 ; The sret pointer is %ecx [all …]
|
D | inalloca-invoke.ll | 10 declare void @begin(%Iter* sret) 11 declare void @plus(%Iter* sret, %Iter*, i32) 29 call void @begin(%Iter* sret %temp.lvalue) 32 invoke void @plus(%Iter* sret %end, %Iter* %temp.lvalue, i32 4) 35 ; Uses end as sret param. 40 call void @begin(%Iter* sret %beg)
|
D | fast-isel-x86.ll | 17 define void @test1({i32, i32, i32, i32}* sret %p) nounwind { 63 ; Check that we fast-isel sret, and handle the callee-pops behavior correctly. 68 call void @test3sret(%struct.a* sret %tmp) 76 declare void @test3sret(%struct.a* sret) 78 ; Check that fast-isel sret works with fastcc (and does not callee-pop) 82 call fastcc void @test4fastccsret(%struct.a* sret %tmp) 90 declare fastcc void @test4fastccsret(%struct.a* sret)
|
D | negate-add-zero.ll | 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 …]
|
/external/llvm/test/CodeGen/X86/ |
D | win32_sret.ll | 12 ; The SysV ABI used by most Unixes and Mingw on x86 specifies that an sret pointer 13 ; is callee-cleanup. However, in MSVC's cdecl calling convention, sret pointer 16 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) 160 ; The sret pointer is (%esp) 164 ; The sret pointer is %ecx [all …]
|
D | inalloca-invoke.ll | 10 declare void @begin(%Iter* sret) 11 declare void @plus(%Iter* sret, %Iter*, i32) 29 call void @begin(%Iter* sret %temp.lvalue) 32 invoke void @plus(%Iter* sret %end, %Iter* %temp.lvalue, i32 4) 35 ; Uses end as sret param. 40 call void @begin(%Iter* sret %beg)
|
D | fast-isel-x86.ll | 17 define void @test1({i32, i32, i32, i32}* sret %p) nounwind { 63 ; Check that we fast-isel sret, and handle the callee-pops behavior correctly. 68 call void @test3sret(%struct.a* sret %tmp) 76 declare void @test3sret(%struct.a* sret) 78 ; Check that fast-isel sret works with fastcc (and does not callee-pop) 82 call fastcc void @test4fastccsret(%struct.a* sret %tmp) 90 declare fastcc void @test4fastccsret(%struct.a* sret)
|
D | negate-add-zero.ll | 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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/Lint/ |
D | noalias-byval.ll | 11 declare void @f1(%s* noalias nocapture sret, %s* nocapture readnone) 20 call void @f1(%s* sret %c, %s* %c) 27 ; CHECK-NEXT: call void @f1(%s* sret %c, %s* %c) 29 declare void @f3(%s* noalias nocapture sret, %s* byval nocapture readnone) 38 call void @f3(%s* sret %c, %s* byval %c) 46 ; CHECK-NOT: call void @f3(%s* sret %c, %s* %c)
|
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
D | widen_load-2.ll | 7 define void @add3i32(%i32vec3* sret %ret, %i32vec3* %ap, %i32vec3* %bp) { 19 define void @add3i32_2(%i32vec3* sret %ret, %i32vec3* %ap, %i32vec3* %bp) { 35 define void @add7i32(%i32vec7* sret %ret, %i32vec7* %ap, %i32vec7* %bp) { 51 define void @add12i32(%i32vec12* sret %ret, %i32vec12* %ap, %i32vec12* %bp) { 70 define void @add3i16(%i16vec3* nocapture sret %ret, %i16vec3* %ap, %i16vec3* %bp) nounwind { 83 define void @add4i16(%i16vec4* nocapture sret %ret, %i16vec4* %ap, %i16vec4* %bp) nounwind { 95 define void @add12i16(%i16vec12* nocapture sret %ret, %i16vec12* %ap, %i16vec12* %bp) nounwind { 110 define void @add18i16(%i16vec18* nocapture sret %ret, %i16vec18* %ap, %i16vec18* %bp) nounwind { 129 define void @add3i8(%i8vec3* nocapture sret %ret, %i8vec3* %ap, %i8vec3* %bp) nounwind { 142 define void @add31i8(%i8vec31* nocapture sret %ret, %i8vec31* %ap, %i8vec31* %bp) nounwind {
|
D | negate-add-zero.ll | 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 …]
|
/external/llvm/test/CodeGen/AArch64/ |
D | tailcall-explicit-sret.ll | 6 ; Check that we don't try to tail-call with a non-forwarded sret parameter. 7 declare void @test_explicit_sret(i1024* sret) #0 9 ; This is the only OK case, where we forward the explicit sret pointer. 13 define void @test_tailcall_explicit_sret(i1024* sret %arg) #0 { 22 define void @test_call_explicit_sret(i1024* sret %arg) #0 { 85 define void @test_indirect_tailcall_explicit_sret_nosret_arg(i1024* sret %arg, void (i1024*)* %f) #… 100 define void @test_indirect_tailcall_explicit_sret_(i1024* sret %arg, i1024 ()* %f) #0 {
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/ |
D | tailcall-explicit-sret.ll | 6 ; Check that we don't try to tail-call with a non-forwarded sret parameter. 7 declare void @test_explicit_sret(i1024* sret) #0 9 ; This is the only OK case, where we forward the explicit sret pointer. 13 define void @test_tailcall_explicit_sret(i1024* sret %arg) #0 { 22 define void @test_call_explicit_sret(i1024* sret %arg) #0 { 85 define void @test_indirect_tailcall_explicit_sret_nosret_arg(i1024* sret %arg, void (i1024*)* %f) #… 100 define void @test_indirect_tailcall_explicit_sret_(i1024* sret %arg, i1024 ()* %f) #0 {
|
D | tailcall-string-rvo.ll | 19 declare void @TestBaz(%class.basic_string.11.42.73* noalias sret %arg) 21 define void @TestBar(%class.basic_string.11.42.73* noalias sret %arg) { 23 call void @TestBaz(%class.basic_string.11.42.73* noalias sret %arg) 27 define void @TestFoo(%class.basic_string.11.42.73* noalias sret %arg) { 40 tail call void @TestBar(%class.basic_string.11.42.73* noalias sret %arg)
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | call-cast-attrs.ll | 21 call void bitcast (void (...)* @c to void (i32*)*)(i32* sret %y) 22 call void bitcast (void (i32, ...)* @d to void (i32, i32*)*)(i32 0, i32* sret %y) 28 ; CHECK: call void bitcast (void (...)* @c to void (i32*)*)(i32* sret %y) 29 ; CHECK: call void bitcast (void (i32, ...)* @d to void (i32, i32*)*)(i32 0, i32* sret %y)
|
/external/swiftshader/third_party/LLVM/test/Transforms/MemCpyOpt/ |
D | loadstore-sret.ll | 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)
|
/external/llvm/test/CodeGen/PowerPC/ |
D | tailcall-string-rvo.ll | 19 declare void @TestBaz(%class.basic_string.11.42.73* noalias sret %arg) 21 define void @TestBar(%class.basic_string.11.42.73* noalias sret %arg) { 23 call void @TestBaz(%class.basic_string.11.42.73* noalias sret %arg) 27 define void @TestFoo(%class.basic_string.11.42.73* noalias sret %arg) { 40 tail call void @TestBar(%class.basic_string.11.42.73* noalias sret %arg)
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/ |
D | tailcall-string-rvo.ll | 19 declare void @TestBaz(%class.basic_string.11.42.73* noalias sret %arg) 21 define void @TestBar(%class.basic_string.11.42.73* noalias sret %arg) { 23 call void @TestBaz(%class.basic_string.11.42.73* noalias sret %arg) 27 define void @TestFoo(%class.basic_string.11.42.73* noalias sret %arg) { 40 tail call void @TestBar(%class.basic_string.11.42.73* noalias sret %arg)
|