/external/llvm/test/CodeGen/PowerPC/ |
D | jaggedstructs.ll | 15 define void @test(%struct.S3* byval %s3, %struct.S5* byval %s5, %struct.S6* byval %s6, %struct.S7* … 17 …call void @check(%struct.S3* byval %s3, %struct.S5* byval %s5, %struct.S6* byval %s6, %struct.S7* … 48 declare void @check(%struct.S3* byval, %struct.S5* byval, %struct.S6* byval, %struct.S7* byval)
|
D | structsinregs.ll | 59 ….s1* byval %p1, %struct.s2* byval %p2, %struct.s3* byval %p3, %struct.s4* byval %p4, %struct.s5* b… 73 ….s1* byval %v1, %struct.s2* byval %v2, %struct.s3* byval %v3, %struct.s4* byval %v4, %struct.s5* b… 139 ….t1* byval %p1, %struct.t2* byval %p2, %struct.t3* byval %p3, %struct.t4* byval %p4, %struct.t5* b… 160 ….t1* byval %v1, %struct.t2* byval %v2, %struct.t3* byval %v3, %struct.t4* byval %v4, %struct.t5* b…
|
D | ppc64-byval-align.ll | 12 define signext i32 @callee1(i32 signext %x, %struct.test* byval align 16 nocapture readnone %y, i32… 20 declare signext i32 @test1(i32 signext, %struct.test* byval align 16, i32 signext) 23 …%call = tail call signext i32 @test1(i32 signext 0, %struct.test* byval align 16 @gt, i32 signext … 31 define i64 @callee2(%struct.pad* byval nocapture readnone %x, i32 signext %y, %struct.test* byval a… 42 declare i64 @test2(%struct.pad* byval, i32 signext, %struct.test* byval align 16) 48 %call = call i64 @test2(%struct.pad* byval @gp, i32 signext 0, %struct.test* byval align 16 %tmp)
|
D | structsinmem.ll | 59 ….s1* byval %p1, %struct.s2* byval %p2, %struct.s3* byval %p3, %struct.s4* byval %p4, %struct.s5* b… 73 ….s1* byval %v1, %struct.s2* byval %v2, %struct.s3* byval %v3, %struct.s4* byval %v4, %struct.s5* b… 148 ….t1* byval %p1, %struct.t2* byval %p2, %struct.t3* byval %p3, %struct.t4* byval %p4, %struct.t5* b… 165 ….t1* byval %v1, %struct.t2* byval %v2, %struct.t3* byval %v3, %struct.t4* byval %v4, %struct.t5* b…
|
D | byval-aliased.ll | 8 define void @foo(%struct.sm* byval %s) #0 { 16 call void @bar(%struct.sm* byval %s, %struct.sm* byval %s) #1 26 declare void @bar(%struct.sm* byval, %struct.sm* byval)
|
D | ppc64-smallarg.ll | 16 …s nocapture sret %agg.result, %struct.large_arg* byval nocapture readnone %pad, %struct.small_arg*… 31 …id @test1(%struct.small_arg* sret %tmp, %struct.large_arg* byval @gl, %struct.small_arg* byval @gs) 38 declare void @test1(%struct.small_arg* sret, %struct.large_arg* byval, %struct.small_arg* byval)
|
D | ppc64le-smallarg.ll | 16 …s nocapture sret %agg.result, %struct.large_arg* byval nocapture readnone %pad, %struct.small_arg*… 31 …id @test1(%struct.small_arg* sret %tmp, %struct.large_arg* byval @gl, %struct.small_arg* byval @gs) 38 declare void @test1(%struct.small_arg* sret, %struct.large_arg* byval, %struct.small_arg* byval)
|
/external/llvm/test/CodeGen/NVPTX/ |
D | param-align.ll | 3 ;;; Need 4-byte alignment on float* passed byval 4 define ptx_device void @t1(float* byval %x) { 11 ;;; Need 8-byte alignment on double* passed byval 12 define ptx_device void @t2(double* byval %x) { 19 ;;; Need 4-byte alignment on float2* passed byval 21 define ptx_device void @t3(%struct.float2* byval %x) {
|
/external/llvm/test/Transforms/Inline/ |
D | byval.ll | 3 ; Inlining a byval struct should cause an explicit copy into an alloca. 8 define internal void @f(%struct.ss* byval %b) nounwind { 26 call void @f( %struct.ss* byval %S ) nounwind 35 ; Inlining a byval struct should NOT cause an explicit copy 38 define internal i32 @f2(%struct.ss* byval %b) nounwind readonly { 53 %X = call i32 @f2( %struct.ss* byval %S ) nounwind 62 ; Inlining a byval with an explicit alignment needs to use *at least* that 67 define internal void @f3(%struct.ss* byval align 64 %b) nounwind { 75 call void @f3( %struct.ss* byval align 64 %S) nounwind 86 ; Inlining a byval struct should NOT cause an explicit copy [all …]
|
D | byval-tail-call.ll | 4 ; Calls that capture byval parameters cannot be marked as tail calls. Other 5 ; tails that don't capture byval parameters can still be tail calls. 12 define void @bar(i32* byval %x) { 21 call void @bar(i32* byval %x) 25 define internal void @qux(i32* byval %x) { 39 tail call void @qux(i32* byval %x)
|
/external/llvm/test/Transforms/ArgumentPromotion/ |
D | fp80.ll | 16 tail call i8 @UseLongDoubleUnsafely(%union.u* byval align 16 bitcast (%struct.s* @b to %union.u*)) 17 …tail call x86_fp80 @UseLongDoubleSafely(%union.u* byval align 16 bitcast (%struct.s* @b to %union.… 23 ; CHECK: internal i8 @UseLongDoubleUnsafely(%union.u* byval align 16 %arg) { 24 define internal i8 @UseLongDoubleUnsafely(%union.u* byval align 16 %arg) { 33 define internal x86_fp80 @UseLongDoubleSafely(%union.u* byval align 16 %arg) { 39 ; CHECK: define internal i64 @AccessPaddingOfStruct(%struct.Foo* byval %a) { 40 define internal i64 @AccessPaddingOfStruct(%struct.Foo* byval %a) { 46 ; CHECK: define internal i64 @CaptureAStruct(%struct.Foo* byval %a) { 47 define internal i64 @CaptureAStruct(%struct.Foo* byval %a) {
|
D | byval-2.ll | 8 define internal void @f(%struct.ss* byval %b, i32* byval %X) nounwind { 9 ; CHECK-LABEL: define internal void @f(i32 %b.0, i64 %b.1, i32* byval %X) 28 call void @f( %struct.ss* byval %S, i32* byval %X) 29 ; CHECK: call void @f(i32 %{{.*}}, i64 %{{.*}}, i32* byval %{{.*}})
|
/external/llvm/test/Linker/ |
D | func-attrs-a.ll | 4 …d @check0(%struct.S0* sret null, %struct.S0* byval align 4 null, %struct.S0* align 4 null, %struct… 5 …d @check0(%struct.S0* sret %agg.result, %struct.S0* byval %arg0, %struct.S0* %arg1, %struct.S0* by… 10 …d @check0(%struct.S0* sret null, %struct.S0* byval align 4 null, %struct.S0* align 4 null, %struct…
|
/external/llvm/test/CodeGen/ARM/ |
D | struct_byval_arm_t1_t2.ll | 12 ;byval in the arm backend. We have tests for both packed and unpacked 24 declare void @use_A(%struct.A* byval) 26 declare void @use_B(%struct.B* byval) 28 declare void @use_C(%struct.C* byval) 30 declare void @use_D(%struct.D* byval) 32 declare void @use_E(%struct.E* byval) 34 declare void @use_F(%struct.F* byval) 36 declare void @use_G(%struct.G* byval) 38 declare void @use_H(%struct.H* byval) 40 declare void @use_I(%struct.I* byval) [all …]
|
D | struct_byval.ll | 23 %call = call i32 @e1(%struct.SmallStruct* byval %st) 27 ; Generate a loop for large struct byval 49 %call = call i32 @e2(%struct.LargeStruct* byval %st) 72 %call = call i32 @e3(%struct.LargeStruct* byval align 16 %st) 76 declare i32 @e1(%struct.SmallStruct* nocapture byval %in) nounwind 77 declare i32 @e2(%struct.LargeStruct* nocapture byval %in) nounwind 78 declare i32 @e3(%struct.LargeStruct* nocapture byval align 16 %in) nounwind 83 define void @f3(%struct.SmallStruct* nocapture byval %s) nounwind optsize { 94 define void @f4(%struct.SmallStruct* nocapture byval %s) nounwind optsize { 107 define void @f5(i32 %a, i32 %b, i32 %c, i32 %d, %struct.SmallStruct* nocapture byval %s) nounwind o… [all …]
|
D | 2014-02-21-byval-reg-split-alignment.ll | 14 define void @foo1(i32 %a, %struct12bytes* byval %b, i64 %c) { 33 define void @foo2(i32 %a, %struct8bytes8align* byval %b) { 50 define void @foo3(%struct8bytes8align* byval %a, %struct4bytes* byval %b) { 67 define void @foo4(%struct4bytes* byval %a, %struct8bytes8align* byval %b) { 87 define void @foo5(%struct8bytes8align* byval %a, %struct4bytes* byval %b, %struct4bytes* byval %c) { 105 define void @foo6(i32 %a, i32 %b, i32 %c, %struct8bytes8align* byval %d) {
|
D | byval-align.ll | 6 ; users of byval alignments > 4, so no real calls for ABI stability. 8 ; "byval align 16" can't fit in any regs with an i8* taking up r0. 9 define i32 @test_align16(i8*, [4 x i32]* byval align 16 %b) { 23 ; byval align 8 can, but we used to incorrectly set r7 here (miscalculating the 25 define i32 @test_align8(i8*, [4 x i32]* byval align 8 %b) { 41 ; "byval align 32" can't fit in regs no matter what: it would be misaligned 43 define i32 @test_align32(i8*, [4 x i32]* byval align 32 %b) { 57 ; When passing an object "byval align N", the stack must be at least N-aligned. 70 call i32 @test_align16(i8* null, [4 x i32]* byval align 16 @var)
|
D | 2013-04-05-Small-ByVal-Structs-PR15293.ll | 52 define void @foo(%artz* byval %s) { 57 define void @foo2(%artz* byval %s, i32 %p, %artz* byval %s2) { 65 call void @foo(%artz* byval @static_val) 70 call void @foo2(%artz* byval @static_val, i32 0, %artz* byval @static_val)
|
D | 2013-06-03-ByVal-2Kbytes.ll | 15 call void @callme0(%big_struct0* byval %p0) 21 call void @callme1(%big_struct1* byval %p1) 28 declare void @callme0(%big_struct0* byval) 29 declare void @callme1(%big_struct1* byval)
|
/external/llvm/test/CodeGen/Mips/ |
D | o32_cc_byval.ll | 31 …call void @callee1(float 2.000000e+01, %struct.S1* byval bitcast (%0* @f1.s1 to %struct.S1*)) noun… 32 call void @callee2(%struct.S2* byval @f1.s2) nounwind 35 …call void @callee3(float 2.100000e+01, %struct.S3* byval %agg.tmp10, %struct.S1* byval bitcast (%0… 39 declare void @callee1(float, %struct.S1* byval) 41 declare void @callee2(%struct.S2* byval) 43 declare void @callee3(float, %struct.S3* byval, %struct.S1* byval) 45 define void @f2(float %f, %struct.S1* nocapture byval %s1) nounwind { 82 define void @f3(%struct.S2* nocapture byval %s2) nounwind { 101 define void @f4(float %f, %struct.S3* nocapture byval %s3, %struct.S1* nocapture byval %s1) nounwin… 125 define void @f5(i64 %a0, %struct.S4* nocapture byval %a1) nounwind { [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | sibcall-byval.ll | 6 define i32 @f(%struct.p* byval align 4 %q) nounwind ssp { 13 %call = tail call i32 @g(%struct.p* byval align 4 %q) nounwind 17 declare i32 @g(%struct.p* byval align 4) 19 define i32 @h(%struct.p* byval align 4 %q, i32 %r) nounwind ssp { 27 %call = tail call i32 @i(%struct.p* byval align 4 %q, i32 %r) nounwind 31 declare i32 @i(%struct.p* byval align 4, i32)
|
D | tailcallbyval64.ll | 3 ; FIXME: Win64 does not support byval. 8 ; Expect 2 rep;movs because of tail call byval lowering. 12 ; A sequence of copyto/copyfrom virtual registers is used to deal with byval 16 ; byval lowering - not rsi, not rdi, not rcx). 33 declare fastcc i64 @tailcallee(%struct.s* byval %a, i64 %val, i64 %val2, i64 %val3, i64 %val4, i64… 36 define fastcc i64 @tailcaller(i64 %b, %struct.s* byval %a) { 40 …%tmp4 = tail call fastcc i64 @tailcallee(%struct.s* byval %a , i64 %tmp3, i64 %b, i64 7, i64 13, i…
|
/external/llvm/test/Transforms/SafeStack/ |
D | byval.ll | 9 ; Safe access to a byval argument. 10 define i32 @ByValSafe(%struct.S* byval nocapture readonly align 8 %zzz) norecurse nounwind readonly… 20 ; Unsafe access to a byval argument. 22 define i32 @ByValUnsafe(%struct.S* byval nocapture readonly align 8 %zzz, i64 %idx) norecurse nounw… 36 ; Highly aligned byval argument. 37 define i32 @ByValUnsafeAligned(%struct.S* byval nocapture readonly align 64 %zzz, i64 %idx) norecur…
|
/external/llvm/test/Transforms/IPConstantProp/ |
D | 2009-09-24-byval-ptr.ll | 2 ; Don't constant-propagate byval pointers, since they are not pointers! 6 define internal void @vfu1(%struct.MYstr* byval align 4 %u) nounwind { 20 define internal i32 @vfu2(%struct.MYstr* byval align 4 %u) nounwind readonly { 35 call void @vfu1(%struct.MYstr* byval align 4 @mystr) nounwind 36 %result = call i32 @vfu2(%struct.MYstr* byval align 4 @mystr) nounwind
|
/external/llvm/test/CodeGen/Thumb/ |
D | PR17309.ll | 15 call void @use_C(%struct.C* byval %c) #3 28 call void @use_S(%struct.S* byval %s) #3 41 call void @use_I(%struct.I* byval %i) #3 46 declare void @use_C(%struct.C* byval) #2 47 declare void @use_S(%struct.S* byval) #2 48 declare void @use_I(%struct.I* byval) #2
|