/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-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 | 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 | 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)
|
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)
|
D | strcpy_chk-1.ll | 67 ; CHECK-NEXT: %len = call i32 @llvm.objectsize.i32.p0i8(i8* getelementptr inbounds ([60 x i8], [60 … 70 %len = call i32 @llvm.objectsize.i32.p0i8(i8* %dst, i1 false) 81 ; CHECK-NEXT: %len = call i32 @llvm.objectsize.i32.p0i8(i8* getelementptr inbounds ([60 x i8], [60 … 84 %len = call i32 @llvm.objectsize.i32.p0i8(i8* %dst, i1 false) 103 declare i32 @llvm.objectsize.i32.p0i8(i8*, i1) nounwind readonly
|
D | builtin-object-size-ptr.ll | 22 %1 = call i64 @llvm.objectsize.i64.p0i8(i8* %arrayidx, i1 false) 32 declare i64 @llvm.objectsize.i64.p0i8(i8*, i1) #2
|
D | stpcpy_chk-1.ll | 67 ; CHECK-NEXT: %len = call i32 @llvm.objectsize.i32.p0i8(i8* getelementptr inbounds ([60 x i8], [60 … 70 %len = call i32 @llvm.objectsize.i32.p0i8(i8* %dst, i1 false) 84 %len = call i32 @llvm.objectsize.i32.p0i8(i8* %dst, i1 false) 103 declare i32 @llvm.objectsize.i32.p0i8(i8*, i1) nounwind readonly
|
D | memset_chk-1.ll | 72 %yo107 = call i64 @llvm.objectsize.i64.p0i8(i8* %b, i1 false) 90 declare i64 @llvm.objectsize.i64.p0i8(i8*, i1) 103 %call2 = tail call i64 @llvm.objectsize.i64.p0i8(i8* nonnull %call, i1 false) 117 ; CHECK-NEXT: %call2 = tail call i64 @llvm.objectsize.i64.p0i8(i8* nonnull %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/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)
|
D | arm64-indexed-vector-ldst-2.ll | 24 %7 = tail call i64 @llvm.objectsize.i64.p0i8(i8* undef, i1 false) 32 declare i64 @llvm.objectsize.i64.p0i8(i8*, i1) #1
|
/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
|
D | builtin-condition.ll | 49 %2 = call i64 @llvm.objectsize.i64.p0i8(i8* %cptr.0, i1 true) 59 declare i64 @llvm.objectsize.i64.p0i8(i8*, i1) 74 %2 = call i64 @llvm.objectsize.i64.p0i8(i8* %cond, i1 false)
|
/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]
|
D | unreachable-stack-protector.ll | 5 declare i64 @llvm.objectsize.i64(i8*, i1) nounwind readnone 11 %0 = call i64 @llvm.objectsize.i64(i8* undef, i1 false)
|
D | 2011-05-26-UnreachableBlockElim.ll | 11 declare i64 @llvm.objectsize.i64(i8*, i1) nounwind readnone 24 %0 = call i64 @llvm.objectsize.i64(i8* undef, i1 false) nounwind 29 %1 = call i64 @llvm.objectsize.i64(i8* undef, i1 false) nounwind
|
/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]
|
D | 2011-05-26-UnreachableBlockElim.ll | 11 declare i64 @llvm.objectsize.i64.p0i8(i8*, i1) nounwind readnone 24 %0 = call i64 @llvm.objectsize.i64.p0i8(i8* undef, i1 false) nounwind 29 %1 = call i64 @llvm.objectsize.i64.p0i8(i8* undef, i1 false) nounwind
|
/external/swiftshader/third_party/LLVM/test/Transforms/SimplifyLibCalls/ |
D | StrCpy.ll | 14 declare i32 @llvm.objectsize.i32(i8*, i1) nounwind readonly 33 %tmp1 = call i32 @llvm.objectsize.i32(i8* %arg1, i1 false)
|
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/ |
D | divmod.ll | 46 %6 = tail call i32 @llvm.objectsize.i32(i8* null, i1 false) 57 declare i32 @llvm.objectsize.i32(i8*, i1) nounwind readnone
|