/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | allocsize.ll | 14 store i8* %1, i8** %p, align 8 ; To ensure objectsize isn't killed 16 %2 = call i64 @llvm.objectsize.i64.p0i8(i8* %1, i1 false) 25 store i8* %1, i8** %p, align 8 ; To ensure objectsize isn't killed 27 %2 = call i64 @llvm.objectsize.i64.p0i8(i8* %1, i1 false) 37 store i8* %1, i8** %p, align 8 ; To ensure objectsize isn't killed 39 ; CHECK: @llvm.objectsize.i64.p0i8 40 %2 = call i64 @llvm.objectsize.i64.p0i8(i8* %1, i1 false) 48 store i8* %1, i8** %p, align 8 ; To ensure objectsize isn't killed 50 ; CHECK: @llvm.objectsize.i64.p0i8 51 %2 = call i64 @llvm.objectsize.i64.p0i8(i8* %1, i1 false) [all …]
|
D | objsize.ll | 1 ; Test a pile of objectsize bounds checking. 11 …%1 = call i32 @llvm.objectsize.i32.p0i8(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @a, i32 … 19 …%0 = call i32 @llvm.objectsize.i32.p0i8(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @a, i32 … 36 …%1 = call i32 @llvm.objectsize.i32.p0i8(i8* getelementptr ([60 x i8], [60 x i8]* @a, i32 1, i32 0)… 44 ; CHECK-NEXT: objectsize 45 …%1 = tail call i32 @llvm.objectsize.i32.p0i8(i8* getelementptr inbounds ([0 x i8], [0 x i8]* @wind… 52 ; CHECK: objectsize.i32.p0i8 54 …%0 = call i32 @llvm.objectsize.i32.p0i8(i8* getelementptr inbounds ([0 x i8], [0 x i8]* @window, i… 70 …%1 = call i32 @llvm.objectsize.i32.p0i8(i8* getelementptr (i8, i8* bitcast ([9 x i32]* @.str5 to i… 79 declare i32 @llvm.objectsize.i32.p0i8(i8*, i1, i1) nounwind readonly [all …]
|
D | objsize-address-space.ll | 4 declare i32 @llvm.objectsize.i32.p0i8(i8*, i1) nounwind readonly 5 declare i32 @llvm.objectsize.i32.p1i8(i8 addrspace(1)*, i1) nounwind readonly 6 declare i32 @llvm.objectsize.i32.p2i8(i8 addrspace(2)*, i1) nounwind readonly 7 declare i32 @llvm.objectsize.i32.p3i8(i8 addrspace(3)*, i1) nounwind readonly 8 declare i16 @llvm.objectsize.i16.p3i8(i8 addrspace(3)*, i1) nounwind readonly 24 …%1 = call i32 @llvm.objectsize.i32.p3i8(i8 addrspace(3)* getelementptr inbounds ([60 x i8], [60 x … 31 …%1 = call i16 @llvm.objectsize.i16.p3i8(i8 addrspace(3)* getelementptr inbounds ([60 x i8], [60 x … 37 …%1 = call i32 @llvm.objectsize.i32.p3i8(i8 addrspace(3)* getelementptr inbounds ([60 x i8], [60 x … 45 %1 = call i32 @llvm.objectsize.i32.p2i8(i8 addrspace(2)* %bc, i1 false) 53 %1 = call i32 @llvm.objectsize.i32.p1i8(i8 addrspace(1)* %bc, i1 false) [all …]
|
D | allocsize-32.ll | 13 store i8* %1, i8** %p, align 8 ; To ensure objectsize isn't killed 15 %2 = call i32 @llvm.objectsize.i32.p0i8(i8* %1, i1 false) 21 store i8* %3, i8** %p, align 8 ; To ensure objectsize isn't killed 23 ; CHECK: call i32 @llvm.objectsize 24 %4 = call i32 @llvm.objectsize.i32.p0i8(i8* %3, i1 false) 29 declare i32 @llvm.objectsize.i32.p0i8(i8*, i1)
|
D | objsize-noverify.ll | 1 ; Test objectsize bounds checking that won't verify until after -instcombine. 6 declare i32 @llvm.objectsize.i32.p0i8(i8*, i1) nounwind readonly 17 %0 = tail call i32 @llvm.objectsize.i32.p0i8(i8* %select, i1 true) 18 %1 = tail call i32 @llvm.objectsize.i32.p0i8(i8* %select2, i1 true) 37 %o = call i32 @llvm.objectsize.i32.p0i8(i8* %gep, i1 true)
|
D | invoke.ll | 6 declare i64 @llvm.objectsize.i64(i8*, i1) nounwind readonly 19 %0 = tail call i64 @llvm.objectsize.i64(i8* %call, i1 false) 39 %0 = tail call i64 @llvm.objectsize.i64(i8* %call, i1 false) 58 ; CHECK: call i64 @llvm.objectsize.i64.p0i8(i8* %call, i1 false, i1 false) 59 %0 = tail call i64 @llvm.objectsize.i64(i8* %call, i1 false)
|
D | objsize-64.ll | 8 declare i64 @llvm.objectsize.i64(i8*, i1) nounwind readonly 14 %size = call i64 @llvm.objectsize.i64(i8* %call, i1 false) 30 %0 = tail call i64 @llvm.objectsize.i64(i8* %call, i1 false)
|
/external/llvm/test/Transforms/InstCombine/ |
D | allocsize.ll | 14 store i8* %1, i8** %p, align 8 ; To ensure objectsize isn't killed 16 %2 = call i64 @llvm.objectsize.i64.p0i8(i8* %1, i1 false) 25 store i8* %1, i8** %p, align 8 ; To ensure objectsize isn't killed 27 %2 = call i64 @llvm.objectsize.i64.p0i8(i8* %1, i1 false) 37 store i8* %1, i8** %p, align 8 ; To ensure objectsize isn't killed 39 ; CHECK: @llvm.objectsize.i64.p0i8 40 %2 = call i64 @llvm.objectsize.i64.p0i8(i8* %1, i1 false) 48 store i8* %1, i8** %p, align 8 ; To ensure objectsize isn't killed 50 ; CHECK: @llvm.objectsize.i64.p0i8 51 %2 = call i64 @llvm.objectsize.i64.p0i8(i8* %1, i1 false) [all …]
|
D | objsize.ll | 1 ; Test a pile of objectsize bounds checking. 11 …%1 = call i32 @llvm.objectsize.i32.p0i8(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @a, i32 … 19 …%0 = call i32 @llvm.objectsize.i32.p0i8(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @a, i32 … 36 …%1 = call i32 @llvm.objectsize.i32.p0i8(i8* getelementptr ([60 x i8], [60 x i8]* @a, i32 1, i32 0)… 44 ; CHECK-NEXT: objectsize 45 …%1 = tail call i32 @llvm.objectsize.i32.p0i8(i8* getelementptr inbounds ([0 x i8], [0 x i8]* @wind… 52 ; CHECK: objectsize.i32.p0i8 54 …%0 = call i32 @llvm.objectsize.i32.p0i8(i8* getelementptr inbounds ([0 x i8], [0 x i8]* @window, i… 70 …%1 = call i32 @llvm.objectsize.i32.p0i8(i8* getelementptr (i8, i8* bitcast ([9 x i32]* @.str5 to i… 79 declare i32 @llvm.objectsize.i32.p0i8(i8*, i1) nounwind readonly [all …]
|
D | objsize-address-space.ll | 4 declare i32 @llvm.objectsize.i32.p0i8(i8*, i1) nounwind readonly 5 declare i32 @llvm.objectsize.i32.p1i8(i8 addrspace(1)*, i1) nounwind readonly 6 declare i32 @llvm.objectsize.i32.p2i8(i8 addrspace(2)*, i1) nounwind readonly 7 declare i32 @llvm.objectsize.i32.p3i8(i8 addrspace(3)*, i1) nounwind readonly 8 declare i16 @llvm.objectsize.i16.p3i8(i8 addrspace(3)*, i1) nounwind readonly 24 …%1 = call i32 @llvm.objectsize.i32.p3i8(i8 addrspace(3)* getelementptr inbounds ([60 x i8], [60 x … 31 …%1 = call i16 @llvm.objectsize.i16.p3i8(i8 addrspace(3)* getelementptr inbounds ([60 x i8], [60 x … 37 …%1 = call i32 @llvm.objectsize.i32.p3i8(i8 addrspace(3)* getelementptr inbounds ([60 x i8], [60 x … 45 %1 = call i32 @llvm.objectsize.i32.p2i8(i8 addrspace(2)* %bc, i1 false) 53 %1 = call i32 @llvm.objectsize.i32.p1i8(i8 addrspace(1)* %bc, i1 false) [all …]
|
D | allocsize-32.ll | 13 store i8* %1, i8** %p, align 8 ; To ensure objectsize isn't killed 15 %2 = call i32 @llvm.objectsize.i32.p0i8(i8* %1, i1 false) 21 store i8* %3, i8** %p, align 8 ; To ensure objectsize isn't killed 23 ; CHECK: call i32 @llvm.objectsize 24 %4 = call i32 @llvm.objectsize.i32.p0i8(i8* %3, i1 false) 29 declare i32 @llvm.objectsize.i32.p0i8(i8*, i1)
|
D | objsize-noverify.ll | 1 ; Test objectsize bounds checking that won't verify until after -instcombine. 6 declare i32 @llvm.objectsize.i32.p0i8(i8*, i1) nounwind readonly 17 %0 = tail call i32 @llvm.objectsize.i32.p0i8(i8* %select, i1 true) 18 %1 = tail call i32 @llvm.objectsize.i32.p0i8(i8* %select2, i1 true) 37 %o = call i32 @llvm.objectsize.i32.p0i8(i8* %gep, i1 true)
|
D | objsize-64.ll | 8 declare i64 @llvm.objectsize.i64(i8*, i1) nounwind readonly 14 %size = call i64 @llvm.objectsize.i64(i8* %call, i1 false) 30 %0 = tail call i64 @llvm.objectsize.i64(i8* %call, i1 false)
|
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/ |
D | objsize.ll | 1 ; Test a pile of objectsize bounds checking. 12 …%1 = call i32 @llvm.objectsize.i32(i8* getelementptr inbounds ([60 x i8]* @a, i32 0, i32 0), i1 fa… 20 …%0 = call i32 @llvm.objectsize.i32(i8* getelementptr inbounds ([60 x i8]* @a, i32 0, i32 0), i1 fa… 37 %1 = call i32 @llvm.objectsize.i32(i8* getelementptr ([60 x i8]* @a, i32 1, i32 0), i1 false) 46 …%1 = tail call i32 @llvm.objectsize.i32(i8* getelementptr inbounds ([0 x i8]* @window, i32 0, i32 … 53 ; CHECK: objectsize.i32 55 …%0 = call i32 @llvm.objectsize.i32(i8* getelementptr inbounds ([0 x i8]* @window, i32 0, i32 10), … 71 …%1 = call i32 @llvm.objectsize.i32(i8* getelementptr (i8* bitcast ([9 x i32]* @.str5 to i8*), i32 … 80 declare i32 @llvm.objectsize.i32(i8*, i1) nounwind readonly 92 %2 = call i32 @llvm.objectsize.i32(i8* %1, i1 false) ; <i32> [#uses=1] [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/CodeGenPrepare/ |
D | basic.ll | 7 ; objectsize should fold to a constant, which causes the branch to fold to an 12 %0 = tail call i64 @llvm.objectsize.i64(i8* %ptr, i1 false, i1 false) 32 %0 = tail call i64 @llvm.objectsize.i64(i8* null, i1 false, i1 true) 40 %0 = tail call i64 @llvm.objectsize.i64(i8* null, i1 true, i1 true) 50 %0 = tail call i64 @llvm.objectsize.i64.p1i8(i8 addrspace(1)* null, i1 false, 59 %0 = tail call i64 @llvm.objectsize.i64.p1i8(i8 addrspace(1)* null, i1 true, 68 %0 = tail call i64 @llvm.objectsize.i64.p1i8(i8 addrspace(1)* null, i1 false, 77 %0 = tail call i64 @llvm.objectsize.i64.p1i8(i8 addrspace(1)* null, i1 true, 83 declare i64 @llvm.objectsize.i64(i8*, i1, i1) nounwind readonly 84 declare i64 @llvm.objectsize.i64.p1i8(i8 addrspace(1)*, i1, i1) nounwind readonly
|
D | builtin-condition.ll | 14 %2 = call i32 @llvm.objectsize.i32.p0i8(i8* %1, i1 false) 29 %1 = call i32 @llvm.objectsize.i32.p0i8(i8* %0, i1 false) 33 declare i32 @llvm.objectsize.i32.p0i8(i8*, i1) 82 %2 = call i64 @llvm.objectsize.i64.p0i8(i8* %cptr.0, i1 true) 92 declare i64 @llvm.objectsize.i64.p0i8(i8*, i1) 107 %2 = call i64 @llvm.objectsize.i64.p0i8(i8* %cond, i1 false)
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Assembler/ |
D | auto_upgrade_intrinsics.ll | 11 declare i32 @llvm.objectsize.i32(i8*, i1) nounwind readonly 54 define i32 @test.objectsize() { 55 ; CHECK-LABEL: @test.objectsize( 56 ; CHECK: @llvm.objectsize.i32.p0i8(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @a, i32 0, i32… 57 …%s = call i32 @llvm.objectsize.i32(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @a, i32 0, i3… 61 declare i64 @llvm.objectsize.i64.p0i8(i8*, i1) nounwind readonly 62 define i64 @test.objectsize.2() { 63 ; CHECK-LABEL: @test.objectsize.2( 64 ; CHECK: @llvm.objectsize.i64.p0i8(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @a, i32 0, i32… 65 …%s = call i64 @llvm.objectsize.i64.p0i8(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @a, i32 … [all …]
|
/external/llvm/test/Assembler/ |
D | auto_upgrade_intrinsics.ll | 11 declare i32 @llvm.objectsize.i32(i8*, i1) nounwind readonly 54 define i32 @test.objectsize() { 55 ; CHECK-LABEL: @test.objectsize( 56 ; CHECK: @llvm.objectsize.i32.p0i8 57 …%s = call i32 @llvm.objectsize.i32(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @a, i32 0, i3… 89 ; This is part of @test.objectsize(), since llvm.objectsize declaration gets 91 ; CHECK: declare i32 @llvm.objectsize.i32.p0i8
|
/external/llvm/test/CodeGen/AArch64/ |
D | arm64-memset-to-bzero.ll | 44 %tmp = tail call i64 @llvm.objectsize.i64(i8* %ptr, i1 false) 51 declare i64 @llvm.objectsize.i64(i8*, i1) 59 %tmp = tail call i64 @llvm.objectsize.i64(i8* %ptr, i1 false) 71 %tmp = tail call i64 @llvm.objectsize.i64(i8* %ptr, i1 false) 84 %tmp = tail call i64 @llvm.objectsize.i64(i8* %ptr, i1 false) 94 %tmp = tail call i64 @llvm.objectsize.i64(i8* %ptr, i1 false) 105 %tmp = tail call i64 @llvm.objectsize.i64(i8* %ptr, i1 false)
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/ |
D | arm64-memset-to-bzero.ll | 46 %tmp = tail call i64 @llvm.objectsize.i64(i8* %ptr, i1 false) 53 declare i64 @llvm.objectsize.i64(i8*, i1) 61 %tmp = tail call i64 @llvm.objectsize.i64(i8* %ptr, i1 false) 73 %tmp = tail call i64 @llvm.objectsize.i64(i8* %ptr, i1 false) 87 %tmp = tail call i64 @llvm.objectsize.i64(i8* %ptr, i1 false) 98 %tmp = tail call i64 @llvm.objectsize.i64(i8* %ptr, i1 false) 110 %tmp = tail call i64 @llvm.objectsize.i64(i8* %ptr, i1 false)
|
/external/swiftshader/third_party/LLVM/test/Transforms/CodeGenPrepare/ |
D | basic.ll | 7 ; objectsize should fold to a constant, which causes the branch to fold to an 12 %0 = tail call i64 @llvm.objectsize.i64(i8* %ptr, i1 false) 28 declare i64 @llvm.objectsize.i64(i8*, i1) nounwind readonly
|
/external/llvm/test/Transforms/CodeGenPrepare/ |
D | basic.ll | 7 ; objectsize should fold to a constant, which causes the branch to fold to an 12 %0 = tail call i64 @llvm.objectsize.i64(i8* %ptr, i1 false) 28 declare i64 @llvm.objectsize.i64(i8*, i1) nounwind readonly
|
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
D | object-size.ll | 13 %0 = call i64 @llvm.objectsize.i64(i8* %tmp, i1 0) ; <i64> [#uses=1] 22 %1 = call i64 @llvm.objectsize.i64(i8* %tmp2, i1 1) ; <i64> [#uses=1] 36 declare i64 @llvm.objectsize.i64(i8*, i1) nounwind readonly 50 %0 = call i64 @llvm.objectsize.i64(i8* %tmp2, i1 1) ; <i64> [#uses=1]
|
/external/llvm/test/CodeGen/X86/ |
D | object-size.ll | 13 %0 = call i64 @llvm.objectsize.i64.p0i8(i8* %tmp, i1 0) ; <i64> [#uses=1] 22 %1 = call i64 @llvm.objectsize.i64.p0i8(i8* %tmp2, i1 1) ; <i64> [#uses=1] 36 declare i64 @llvm.objectsize.i64.p0i8(i8*, i1) nounwind readonly 50 %0 = call i64 @llvm.objectsize.i64.p0i8(i8* %tmp2, i1 1) ; <i64> [#uses=1]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | object-size.ll | 13 %0 = call i64 @llvm.objectsize.i64.p0i8(i8* %tmp, i1 0) ; <i64> [#uses=1] 22 %1 = call i64 @llvm.objectsize.i64.p0i8(i8* %tmp2, i1 1) ; <i64> [#uses=1] 36 declare i64 @llvm.objectsize.i64.p0i8(i8*, i1) nounwind readonly 50 %0 = call i64 @llvm.objectsize.i64.p0i8(i8* %tmp2, i1 1) ; <i64> [#uses=1]
|