/external/llvm-project/llvm/test/Analysis/BasicAA/ |
D | sequential-gep.ll | 4 ; CHECK: NoAlias: i32* %gep1, i32* %gep2 8 %gep1 = getelementptr [8 x i32], [8 x i32]* %p, i32 2, i32 %addend 14 ; CHECK: MayAlias: i32* %gep1, i32* %gep2 18 %gep1 = getelementptr [8 x i32], [8 x i32]* %p, i32 1, i32 %addend 24 ; CHECK: MustAlias: i32* %gep1, i32* %gep2 28 %gep1 = getelementptr [8 x i32], [8 x i32]* %p, i32 0, i32 %add 34 ; CHECK: MayAlias: i32* %gep1, i32* %gep2 38 %gep1 = getelementptr [8 x i32], [8 x i32]* %p, i32 1, i32 %addend 48 %gep1 = getelementptr [8 x i32], [8 x i32]* %p, i32 2, i32 %addend 50 %bc = bitcast i32* %gep1 to i64* [all …]
|
D | vscale.ll | 6 ; CHECK-DAG: MustAlias: <vscale x 4 x i32>* %alloc, <vscale x 4 x i32>* %gep1 8 ; CHECK-DAG: MayAlias: <vscale x 4 x i32>* %gep1, <vscale x 4 x i32>* %gep2 11 %gep1 = getelementptr <vscale x 4 x i32>, <vscale x 4 x i32>* %alloc, i64 0 17 ; CHECK-DAG: MayAlias: <vscale x 4 x i32>* %alloc, <vscale x 4 x i32>* %gep1 19 ; TODO: AliasResult for gep1,gep2 can be improved as MustAlias 20 ; CHECK-DAG: MayAlias: <vscale x 4 x i32>* %gep1, <vscale x 4 x i32>* %gep2 23 %gep1 = getelementptr <vscale x 4 x i32>, <vscale x 4 x i32>* %alloc, i64 1 29 ; CHECK-DAG: MustAlias: <vscale x 4 x i32>* %alloc, <vscale x 4 x i32>* %gep1 31 ; CHECK-DAG: MayAlias: <vscale x 4 x i32>* %gep1, i32* %gep2 34 %gep1 = getelementptr <vscale x 4 x i32>, <vscale x 4 x i32>* %alloc, i64 0 [all …]
|
/external/llvm-project/llvm/test/CodeGen/AMDGPU/ |
D | global-saddr-store.ll | 32 %gep1 = getelementptr inbounds i8, i8 addrspace(1)* %gep0, i64 2047 33 store i8 %data, i8 addrspace(1)* %gep1 48 %gep1 = getelementptr inbounds i8, i8 addrspace(1)* %gep0, i64 -2048 49 store i8 %data, i8 addrspace(1)* %gep1 93 %gep1 = getelementptr inbounds i8, i8 addrspace(1)* %gep0, i64 -120 94 store i8 %data, i8 addrspace(1)* %gep1 121 %gep1 = getelementptr inbounds i8, i8 addrspace(1)* %gep0, i64 -128 122 %gep1.cast = bitcast i8 addrspace(1)* %gep1 to i16 addrspace(1)* 123 store i16 %data, i16 addrspace(1)* %gep1.cast 146 %gep1 = getelementptr inbounds i8, i8 addrspace(1)* %gep0, i64 -128 [all …]
|
D | global-saddr-atomics.ll | 55 %gep1 = getelementptr inbounds i8, i8 addrspace(1)* %gep0, i64 2047 56 %cast.gep1 = bitcast i8 addrspace(1)* %gep1 to i32 addrspace(1)* 57 %unused = atomicrmw xchg i32 addrspace(1)* %cast.gep1, i32 %data seq_cst 83 %gep1 = getelementptr inbounds i8, i8 addrspace(1)* %gep0, i64 -2048 84 %cast.gep1 = bitcast i8 addrspace(1)* %gep1 to i32 addrspace(1)* 85 %unused = atomicrmw xchg i32 addrspace(1)* %cast.gep1, i32 %data seq_cst 139 %gep1 = getelementptr inbounds i8, i8 addrspace(1)* %gep0, i64 2048 140 %cast.gep1 = bitcast i8 addrspace(1)* %gep1 to i32 addrspace(1)* 141 %rtn = atomicrmw xchg i32 addrspace(1)* %cast.gep1, i32 %data seq_cst 166 %gep1 = getelementptr inbounds i8, i8 addrspace(1)* %gep0, i64 -2048 [all …]
|
D | global-saddr-load.ll | 508 %gep1 = getelementptr inbounds i8, i8 addrspace(1)* %gep0, i64 4095 509 %load = load i8, i8 addrspace(1)* %gep1 539 %gep1 = getelementptr inbounds i8, i8 addrspace(1)* %gep0, i64 4096 540 %load = load i8, i8 addrspace(1)* %gep1 565 %gep1 = getelementptr inbounds i8, i8 addrspace(1)* %gep0, i64 -4096 566 %load = load i8, i8 addrspace(1)* %gep1 596 %gep1 = getelementptr inbounds i8, i8 addrspace(1)* %gep0, i64 -4097 597 %load = load i8, i8 addrspace(1)* %gep1 612 %gep1 = getelementptr inbounds i8, i8 addrspace(1)* %gep0, i64 2047 613 %load = load i8, i8 addrspace(1)* %gep1 [all …]
|
D | max3.ll | 10 %gep1 = getelementptr i32, i32 addrspace(1)* %bptr, i32 %tid 14 %b = load i32, i32 addrspace(1)* %gep1 29 %gep1 = getelementptr i32, i32 addrspace(1)* %bptr, i32 %tid 33 %b = load i32, i32 addrspace(1)* %gep1 53 %gep1 = getelementptr i16, i16 addrspace(1)* %bptr, i32 %tid 57 %b = load i16, i16 addrspace(1)* %gep1 77 %gep1 = getelementptr i16, i16 addrspace(1)* %bptr, i32 %tid 81 %b = load i16, i16 addrspace(1)* %gep1 101 %gep1 = getelementptr i8, i8 addrspace(1)* %bptr, i32 %tid 105 %b = load i8, i8 addrspace(1)* %gep1 [all …]
|
D | min3.ll | 10 %gep1 = getelementptr i32, i32 addrspace(1)* %bptr, i32 %tid 14 %b = load i32, i32 addrspace(1)* %gep1 29 %gep1 = getelementptr i32, i32 addrspace(1)* %bptr, i32 %tid 33 %b = load i32, i32 addrspace(1)* %gep1 50 %gep1 = getelementptr i32, i32 addrspace(1)* %bptr, i32 %tid 61 %b = load i32, i32 addrspace(1)* %gep1 84 %gep1 = getelementptr i32, i32 addrspace(1)* %bptr, i32 %tid 95 %b = load i32, i32 addrspace(1)* %gep1 123 %gep1 = getelementptr i16, i16 addrspace(1)* %bptr, i32 %tid 127 %b = load i16, i16 addrspace(1)* %gep1 [all …]
|
D | global-saddr-atomics.gfx908.ll | 29 %gep1 = getelementptr inbounds i8, i8 addrspace(1)* %gep0, i64 -128 30 %cast.gep1 = bitcast i8 addrspace(1)* %gep1 to float addrspace(1)* 31 …%ret = call float @llvm.amdgcn.global.atomic.fadd.f32.p1f32(float addrspace(1)* %cast.gep1, float … 54 %gep1 = getelementptr inbounds i8, i8 addrspace(1)* %gep0, i64 -128 55 %cast.gep1 = bitcast i8 addrspace(1)* %gep1 to <2 x half> addrspace(1)* 56 …llvm.amdgcn.global.atomic.fadd.v2f16.p1v2f16(<2 x half> addrspace(1)* %cast.gep1, <2 x half> %data)
|
D | global-saddr-atomics.gfx1030.ll | 30 %gep1 = getelementptr inbounds i8, i8 addrspace(1)* %gep0, i64 -128 31 %cast.gep1 = bitcast i8 addrspace(1)* %gep1 to i32 addrspace(1)* 32 %rtn = call i32 @llvm.amdgcn.global.atomic.csub.p1i32(i32 addrspace(1)* %cast.gep1, i32 %data) 56 %gep1 = getelementptr inbounds i8, i8 addrspace(1)* %gep0, i64 -128 57 %cast.gep1 = bitcast i8 addrspace(1)* %gep1 to i32 addrspace(1)* 58 %unused = call i32 @llvm.amdgcn.global.atomic.csub.p1i32(i32 addrspace(1)* %cast.gep1, i32 %data)
|
/external/llvm/test/Transforms/LoadStoreVectorizer/X86/ |
D | subchain-interleaved.ll | 15 %next.gep1 = getelementptr i32, i32* %ptr, i64 1 18 %l1 = load i32, i32* %next.gep1, align 4 20 store i32 0, i32* %next.gep1, align 4 22 %l3 = load i32, i32* %next.gep1, align 4 35 %next.gep1 = getelementptr i32, i32* %ptr, i64 1 39 %l1 = load i32, i32* %next.gep1, align 4 40 store i32 0, i32* %next.gep1, align 4 42 %l3 = load i32, i32* %next.gep1, align 4 54 %next.gep1 = getelementptr i32, i32* %ptr, i64 1 58 store i32 0, i32* %next.gep1, align 4 [all …]
|
D | correct-order.ll | 14 %next.gep1 = getelementptr i32, i32* %ptr, i64 1 17 %l1 = load i32, i32* %next.gep1, align 4 19 store i32 0, i32* %next.gep1, align 4 21 %l3 = load i32, i32* %next.gep1, align 4
|
/external/llvm/test/Analysis/BasicAA/ |
D | sequential-gep.ll | 4 ; CHECK: NoAlias: i32* %gep1, i32* %gep2 8 %gep1 = getelementptr [8 x i32], [8 x i32]* %p, i32 2, i32 %addend 14 ; CHECK: PartialAlias: i32* %gep1, i32* %gep2 18 %gep1 = getelementptr [8 x i32], [8 x i32]* %p, i32 1, i32 %addend 24 ; CHECK: MustAlias: i32* %gep1, i32* %gep2 28 %gep1 = getelementptr [8 x i32], [8 x i32]* %p, i32 0, i32 %add 34 ; CHECK: PartialAlias: i32* %gep1, i32* %gep2 38 %gep1 = getelementptr [8 x i32], [8 x i32]* %p, i32 1, i32 %addend 48 %gep1 = getelementptr [8 x i32], [8 x i32]* %p, i32 2, i32 %addend 50 %bc = bitcast i32* %gep1 to i64*
|
/external/llvm-project/llvm/test/Transforms/SROA/ |
D | preserve-nonnull.ll | 20 %a.gep1 = getelementptr [2 x i8*], [2 x i8*]* %a, i32 0, i32 1 22 %a.gep1.cast = bitcast i8** %a.gep1 to i32** 23 store i32* %v, i32** %a.gep1.cast 25 %load = load volatile i8*, i8** %a.gep1, !nonnull !0 61 %a.gep1 = getelementptr [2 x i8*], [2 x i8*]* %a, i32 0, i32 1 63 %a.gep1.cast = bitcast i8** %a.gep1 to i64* 64 store i64 42, i64* %a.gep1.cast 66 %load = load volatile i8*, i8** %a.gep1, !nonnull !0 81 %a.gep1 = getelementptr [2 x i8*], [2 x i8*]* %a, i32 0, i32 1 83 %a.gep1.cast = bitcast i8** %a.gep1 to i64* [all …]
|
/external/llvm-project/llvm/test/Transforms/LoadStoreVectorizer/X86/ |
D | subchain-interleaved.ll | 16 %next.gep1 = getelementptr i32, i32* %ptr, i64 1 19 %l1 = load i32, i32* %next.gep1, align 4 21 store i32 0, i32* %next.gep1, align 4 23 %l3 = load i32, i32* %next.gep1, align 4 36 %next.gep1 = getelementptr i32, i32* %ptr, i64 1 40 %l1 = load i32, i32* %next.gep1, align 4 41 store i32 0, i32* %next.gep1, align 4 43 %l3 = load i32, i32* %next.gep1, align 4 55 %next.gep1 = getelementptr i32, i32* %ptr, i64 1 59 store i32 0, i32* %next.gep1, align 4 [all …]
|
D | correct-order.ll | 7 ; CHECK: [[LOAD_PTR:%[0-9]+]] = bitcast i32* %next.gep1 13 ; CHECK: load i32, i32* %next.gep1 16 %next.gep1 = getelementptr i32, i32* %ptr, i64 1 19 %l1 = load i32, i32* %next.gep1, align 4 21 store i32 0, i32* %next.gep1, align 4 23 %l3 = load i32, i32* %next.gep1, align 4
|
/external/llvm-project/llvm/test/Transforms/InstCombine/ |
D | select-gep.ll | 11 %gep1 = getelementptr i32, i32* %p, i64 4 14 %select = select i1 %cmp, i32* %gep1, i32* %gep2 25 %gep1 = getelementptr inbounds i32, i32* %p, i64 4 28 %select = select i1 %cmp, i32* %gep1, i32* %gep2 39 %gep1 = getelementptr i32, i32* %p, i64 4 42 %select = select i1 %cmp, i32* %gep1, i32* %gep2 53 %gep1 = getelementptr inbounds i32, i32* %p, i64 4 56 %select = select i1 %cmp, i32* %gep1, i32* %gep2 67 %gep1 = getelementptr inbounds i32, i32* %p, i64 %x 70 %select = select i1 %cmp, i32* %gep1, i32* %gep2 [all …]
|
D | icmp-custom-dl.ll | 17 %gep1 = getelementptr inbounds i32, i32* %bit, i64 2 19 %cast1 = bitcast i32* %gep1 to i8* 35 %gep1 = getelementptr inbounds i32, i32 addrspace(1)* %bit, i64 2 37 %cast1 = bitcast i32 addrspace(1)* %gep1 to i8 addrspace(1)* 53 %gep1 = getelementptr inbounds i32, i32* %bit, i64 %i 55 %cast1 = bitcast i32* %gep1 to i8* 69 %gep1 = getelementptr inbounds i32, i32 addrspace(1)* %bit, i64 %i 71 %cast1 = bitcast i32 addrspace(1)* %gep1 to i8 addrspace(1)* 87 %gep1 = getelementptr inbounds i32, i32 addrspace(3)* %bit, i64 %i 89 %cast1 = addrspacecast i32 addrspace(3)* %gep1 to i8* [all …]
|
/external/llvm-project/llvm/test/Transforms/SLPVectorizer/X86/ |
D | no_alternate_divrem.ll | 34 %gep1.0 = getelementptr i32, i32* %arr1, i32 0 35 %gep1.1 = getelementptr i32, i32* %arr1, i32 1 36 %gep1.2 = getelementptr i32, i32* %arr1, i32 2 37 %gep1.3 = getelementptr i32, i32* %arr1, i32 3 42 %v0 = load i32, i32* %gep1.0 43 %v1 = load i32, i32* %gep1.1 44 %v2 = load i32, i32* %gep1.2 45 %v3 = load i32, i32* %gep1.3 98 %gep1.0 = getelementptr i32, i32* %arr1, i32 0 99 %gep1.1 = getelementptr i32, i32* %arr1, i32 1 [all …]
|
/external/llvm-project/llvm/test/Transforms/CodeGenPrepare/ARM/ |
D | sink-addrmode.ll | 30 ; CHECK-NOT: phi i32* [ %gep1, %if.then ], [ %gep2, %if.else ] 37 %gep1 = getelementptr inbounds i32, i32* %ptr, i32 1 45 %phi = phi i32* [ %gep1, %if.then ], [ %gep2, %if.else ] 72 ; CHECK-NOT: phi i32* [ %gep1, %if.then ], [ %gep2, %if.else ] 79 %gep1 = getelementptr inbounds i32, i32* %ptr, i32 %off1 87 %phi = phi i32* [ %gep1, %if.then ], [ %gep2, %if.else ] 95 ; CHECK-NOT: phi i32* [ %gep1, %if.then ], [ %gep2, %if.else ] 102 %gep1 = getelementptr inbounds i32, i32* %ptr1, i32 1 110 %phi = phi i32* [ %gep1, %if.then ], [ %gep2, %if.else ] 118 ; CHECK-NOT: phi i32* [ %gep1, %if.then ], [ %gep2, %if.else ] [all …]
|
D | large-offset-gep.ll | 14 %gep1 = getelementptr %struct_type, %struct_type* %struct, i64 0, i32 2 23 store i32 %phi, i32* %gep1 42 %gep1 = getelementptr %struct_type, %struct_type* %struct, i64 0, i32 2 51 store i32 %phi, i32* %gep1 77 %gep1 = getelementptr %struct_type, %struct_type* %struct, i64 0, i32 2 86 store i32 %phi, i32* %gep1 106 %gep1 = getelementptr %struct_type, %struct_type* %struct, i64 0, i32 2 115 store i32 %phi, i32* %gep1 140 %gep1 = getelementptr [65536 x i32], [65536 x i32]* %struct, i64 0, i32 20001 149 store i32 %phi, i32* %gep1
|
/external/llvm-project/llvm/test/Transforms/Util/ |
D | strip-gc-relocates.ll | 33 ; CHECK: call void @use_obj32(i32 addrspace(1)* %ptr.gep1) 34 ; CHECK: call void @use_obj32(i32 addrspace(1)* %ptr.gep1) 36 %ptr.gep1 = getelementptr i32, i32 addrspace(1)* %ptr.gep, i32 15 37 …_safepoint, i32 0, i32 0, i32 0, i32 0) ["gc-live"(i32 addrspace(1)* %ptr.gep1, i32 addrspace(1)* … 38 …%ptr.gep1.relocated = call coldcc i8 addrspace(1)* @llvm.experimental.gc.relocate.p1i8(token %stat… 39 %ptr.gep1.relocated.casted = bitcast i8 addrspace(1)* %ptr.gep1.relocated to i32 addrspace(1)* 42 call void @use_obj32(i32 addrspace(1)* %ptr.gep1.relocated.casted) 43 …_safepoint, i32 0, i32 0, i32 0, i32 0) ["gc-live"(i32 addrspace(1)* %ptr.gep1.relocated.casted, i… 44 …gep1.relocated2 = call coldcc i8 addrspace(1)* @llvm.experimental.gc.relocate.p1i8(token %statepoi… 45 %ptr.gep1.relocated2.casted = bitcast i8 addrspace(1)* %ptr.gep1.relocated2 to i32 addrspace(1)* [all …]
|
/external/llvm/test/Transforms/SLPVectorizer/X86/ |
D | phi_overalignedtype.ll | 16 %i1.gep1 = getelementptr double, double* %i1, i64 1 17 %i1.1 = load double, double* %i1.gep1, align 16 27 %i2.gep1 = getelementptr inbounds double, double* %i2, i64 1 28 %i2.1 = load double, double* %i2.gep1, align 16 42 %o.gep1 = getelementptr inbounds double, double* %o, i64 1 43 store double %phi1, double* %o.gep1, align 16
|
/external/llvm/test/CodeGen/AArch64/ |
D | ldst-opt.ll | 292 %gep1 = getelementptr inbounds %pre.struct.i32, %pre.struct.i32* %load1, i64 0, i32 1 298 %retptr = phi i32* [ %gep1, %if.then ], [ %gep2, %if.end ] 310 %gep1 = getelementptr inbounds %pre.struct.i64, %pre.struct.i64* %load1, i64 0, i32 1 316 %retptr = phi i64* [ %gep1, %if.then ], [ %gep2, %if.end ] 328 %gep1 = getelementptr inbounds %pre.struct.i128, %pre.struct.i128* %load1, i64 0, i32 1 334 %retptr = phi <2 x i64>* [ %gep1, %if.then ], [ %gep2, %if.end ] 346 %gep1 = getelementptr inbounds %pre.struct.float, %pre.struct.float* %load1, i64 0, i32 1 352 %retptr = phi float* [ %gep1, %if.then ], [ %gep2, %if.end ] 364 %gep1 = getelementptr inbounds %pre.struct.double, %pre.struct.double* %load1, i64 0, i32 1 370 %retptr = phi double* [ %gep1, %if.then ], [ %gep2, %if.end ] [all …]
|
/external/llvm-project/llvm/test/Transforms/CodeGenPrepare/AArch64/ |
D | large-offset-gep.ll | 16 %gep1 = getelementptr %struct_type, %struct_type* %struct, i64 0, i32 2 24 store i32 %phi, i32* %gep1 42 %gep1 = getelementptr %struct_type, %struct_type* %struct, i64 0, i32 2 50 store i32 %phi, i32* %gep1 75 %gep1 = getelementptr %struct_type, %struct_type* %struct, i64 0, i32 2 83 store i32 %phi, i32* %gep1 106 %gep1 = getelementptr %struct_type, %struct_type* %struct, i64 0, i32 2 115 store i32 %phi, i32* %gep1 141 %gep1 = getelementptr [65536 x i32], [65536 x i32]* %struct, i64 0, i32 20001 149 store i32 %phi, i32* %gep1
|
/external/llvm-project/llvm/test/CodeGen/AArch64/ |
D | aarch64-interleaved-ld-combine.ll | 28 %gep1 = getelementptr inbounds <4 x float>, <4 x float>* %ptr, i64 2 32 %ld1 = load <4 x float>, <4 x float>* %gep1, align 16 45 store <4 x float> %m0_3, <4 x float>* %gep1, align 16 92 %gep1 = getelementptr inbounds <4 x float>, <4 x float>* %ptr, i64 %idx1 94 %ld1 = load <4 x float>, <4 x float>* %gep1, align 16 107 store <4 x float> %m0_3, <4 x float>* %gep1, align 16 154 %gep1 = getelementptr %struct.ilc, %struct.ilc* %ptr, i32 0, i32 1, i64 %idx1 155 %ld1 = load <4 x float>, <4 x float>* %gep1, align 4 168 store <4 x float> %m0_3, <4 x float>* %gep1, align 16 195 %gep1 = getelementptr inbounds <4 x float>, <4 x float>* %ptr, i64 %idx1 [all …]
|