Home
last modified time | relevance | path

Searched refs:GEP2 (Results 1 – 25 of 58) sorted by relevance

123

/llvm-project-15.0.7/llvm/test/Transforms/SimplifyCFG/
H A Dopaque-ptr.ll7 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr i32, ptr [[P:%.*]], i64 1
8 ; CHECK-NEXT: ret ptr [[GEP2]]
29 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr i64, ptr [[P]], i64 1
30 ; CHECK-NEXT: [[PHI:%.*]] = select i1 [[C:%.*]], ptr [[GEP1]], ptr [[GEP2]]
/llvm-project-15.0.7/llvm/test/Transforms/SLPVectorizer/X86/
H A Dpr42022.ll23 %GEP2 = getelementptr inbounds float, float* %Ptr, i64 2
24 %L2 = load float, float * %GEP2
68 %GEP2 = getelementptr inbounds float, float* %Ptr, i64 2
69 %L2 = load float, float * %GEP2
111 %GEP2 = getelementptr inbounds float, float* %Ptr, i64 2
112 %L2 = load float, float * %GEP2
139 ; CHECK-NEXT: [[L2:%.*]] = load float, float* [[GEP2]], align 4
157 %GEP2 = getelementptr inbounds float, float* %Ptr, i64 2
158 %L2 = load float, float * %GEP2
213 %GEP2 = getelementptr inbounds i16, i16* %Ptr, i64 2
[all …]
H A Dpr42022-inseltpoison.ll23 %GEP2 = getelementptr inbounds float, float* %Ptr, i64 2
24 %L2 = load float, float * %GEP2
68 %GEP2 = getelementptr inbounds float, float* %Ptr, i64 2
69 %L2 = load float, float * %GEP2
111 %GEP2 = getelementptr inbounds float, float* %Ptr, i64 2
112 %L2 = load float, float * %GEP2
139 ; CHECK-NEXT: [[L2:%.*]] = load float, float* [[GEP2]], align 4
157 %GEP2 = getelementptr inbounds float, float* %Ptr, i64 2
158 %L2 = load float, float * %GEP2
213 %GEP2 = getelementptr inbounds i16, i16* %Ptr, i64 2
[all …]
H A DPR36280.ll7 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr float, float* [[P]], i64 2
9 ; CHECK-NEXT: [[P2:%.*]] = load float, float* [[GEP2]], align 4
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dselect-gep.ll139 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr inbounds [4 x i32], [4 x i32]* [[P]], i64 2, i64 [[Y:…
141 ; CHECK-NEXT: [[SELECT:%.*]] = select i1 [[CMP]], i32* [[GEP1]], i32* [[GEP2]]
154 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr inbounds [4 x i32], [4 x i32]* [[Q:%.*]], i64 2, i64 …
156 ; CHECK-NEXT: [[SELECT:%.*]] = select i1 [[CMP]], i32* [[GEP1]], i32* [[GEP2]]
169 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr inbounds i32, i32* [[Q:%.*]], i64 [[X]]
171 ; CHECK-NEXT: [[SELECT:%.*]] = select i1 [[CMP]], i32* [[GEP1]], i32* [[GEP2]]
186 ; CHECK-NEXT: [[SELECT:%.*]] = select i1 [[CMP]], i32* [[GEP1]], i32* [[GEP2]]
201 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr inbounds i32, i32* [[Q:%.*]], i64 [[Y:%.*]]
203 ; CHECK-NEXT: [[SELECT:%.*]] = select i1 [[CMP]], i32* [[GEP1]], i32* [[GEP2]]
218 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr i64, i64* [[P2:%.*]], <2 x i64> [[IDX]]
[all …]
H A Dvscale_gep.ll29 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr <vscale x 16 x i8>, <vscale x 16 x i8>* [[CAST]], i64…
30 ; CHECK-NEXT: store <vscale x 16 x i8> zeroinitializer, <vscale x 16 x i8>* [[GEP2]], align 16
/llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/AArch64/
H A Dvector-reverse.ll20 ; CHECK-NEXT: %[[GEP2:.*]] = getelementptr inbounds double, double* {{.*}}, i64 {{.*}}
22 ; CHECK-NEXT: %[[GEP3:.*]] = getelementptr inbounds double, double* %[[GEP2]], i32 0
55 ; CHECK-NEXT: %[[GEP2:.*]] = getelementptr inbounds i64, i64* {{.*}}, i64 {{.*}}
57 ; CHECK-NEXT: %[[GEP3:.*]] = getelementptr inbounds i64, i64* %[[GEP2]], i32 0
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/
H A Dcall-translator-cse.ll12 ; CHECK: [[GEP2:%[0-9]+]]:_(p0) = G_PTR_ADD [[SP]], [[CST2]](s64)
13 ; CHECK: G_STORE [[LO]](s64), [[GEP2]](p0) :: (store (s64) into stack, align 1)
H A Dcall-translator.ll73 ; CHECK: [[GEP2:%[0-9]+]]:_(p0) = G_PTR_ADD [[ADDR]], [[CST2]](s64)
74 ; CHECK: G_STORE [[I8]](s8), [[GEP2]](p0) :: (store (s8) into %ir.addr + 16, align 8)
90 ; CHECK: [[GEP2:%[0-9]+]]:_(p0) = G_PTR_ADD [[ADDR]], [[CST2]](s64)
91 ; CHECK: [[LD3:%[0-9]+]]:_(s32) = G_LOAD [[GEP2]](p0) :: (load (s32) from %ir.addr + 16, align 8)
109 ; CHECK: [[GEP2:%[0-9]+]]:_(p0) = G_PTR_ADD %0, [[CST2]](s64)
110 ; CHECK: [[LD3:%[0-9]+]]:_(s64) = G_LOAD [[GEP2]](p0) :: (load (s64) from %ir.addr + 16)
294 ; CHECK: [[GEP2:%[0-9]+]]:_(p0) = G_PTR_ADD [[SP]], [[CST2]](s64)
295 ; CHECK: G_STORE [[LO]](s64), [[GEP2]](p0) :: (store (s64) into stack, align 1)
H A Dinline-memcpy.mir117 ; CHECK: [[GEP2:%[0-9]+]]:_(p0) = G_PTR_ADD [[COPY1]], [[C1]](s64)
118 … ; CHECK: [[LOAD2:%[0-9]+]]:_(s128) = G_LOAD [[GEP2]](p0) :: (load (s128) from %ir.1 + 32, align 4)
164 ; CHECK: [[GEP2:%[0-9]+]]:_(p0) = G_PTR_ADD [[COPY1]], [[C1]](s64)
165 … ; CHECK: [[LOAD2:%[0-9]+]]:_(s128) = G_LOAD [[GEP2]](p0) :: (load (s128) from %ir.1 + 32, align 4)
238 ; CHECK: [[GEP2:%[0-9]+]]:_(p0) = G_PTR_ADD [[COPY1]], [[C1]](s64)
239 … ; CHECK: [[LOAD2:%[0-9]+]]:_(s128) = G_LOAD [[GEP2]](p0) :: (load (s128) from %ir.1 + 32, align 4)
/llvm-project-15.0.7/llvm/test/Transforms/GVN/
H A Dopaque-ptr.ll33 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr i64, ptr [[P]], i64 [[IDX:%.*]]
35 ; CHECK-NEXT: call void @use(ptr [[GEP2]])
36 ; CHECK-NEXT: call void @use(ptr [[GEP2]])
104 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr i32, ptr [[P2:%.*]], i64 1
105 ; CHECK-NEXT: [[V2:%.*]] = load i32, ptr [[GEP2]], align 4
144 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr i64, ptr [[P2:%.*]], i64 1
145 ; CHECK-NEXT: [[V2:%.*]] = load i32, ptr [[GEP2]], align 4
H A Dvscale.ll55 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr i32, i32* [[P2]], i64 1
56 ; CHECK-NEXT: [[LOAD2:%.*]] = load i32, i32* [[GEP2]], align 4
74 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr i32, i32* [[P2]], i64 4
75 ; CHECK-NEXT: [[LOAD2:%.*]] = load i32, i32* [[GEP2]], align 4
94 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr <vscale x 4 x float>, <vscale x 4 x float>* [[P2]], i…
95 ; CHECK-NEXT: [[LOAD2:%.*]] = load float, float* [[GEP2]], align 4
290 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr <vscale x 4 x i32>, <vscale x 4 x i32>* [[P]], i64 1,…
291 ; CHECK-NEXT: store i32 1, i32* [[GEP2]], align 4
H A Dcondprop.ll522 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr i32, i32* [[PTR2]], i32 2
526 ; CHECK-NEXT: [[VAL2_PRE:%.*]] = load i32, i32* [[GEP2]], align 4
529 ; CHECK-NEXT: [[VAL1:%.*]] = load i32, i32* [[GEP2]], align 4
563 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr inbounds i32, i32* [[PTR1]], i32 2
568 ; CHECK-NEXT: [[VAL2_PRE:%.*]] = load i32, i32* [[GEP2]], align 4
572 ; CHECK-NEXT: store i32 [[VAL2]], i32* [[GEP2]], align 4
576 ; CHECK-NEXT: [[CMP:%.*]] = icmp eq i32* [[GEP2]], [[PTR2:%.*]]
582 ; CHECK-NEXT: [[VAL3]] = load i32, i32* [[GEP2]], align 4
/llvm-project-15.0.7/llvm/test/Transforms/SeparateConstOffsetFromGEP/RISCV/
H A Dsplit-gep.ll43 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr inbounds i32, i32* [[TMP1]], i64 5
44 ; CHECK-NEXT: store i32 [[J:%.*]], i32* [[GEP2]], align 4
75 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr inbounds i32, i32* [[TMP1]], i64 5
76 ; CHECK-NEXT: store i32 [[ADD]], i32* [[GEP2]], align 4
199 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr inbounds i32, i32* [[TMP1]], i64 5
200 ; CHECK-NEXT: store i32 [[ADD]], i32* [[GEP2]], align 4
234 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr inbounds i32, i32* [[TMP1]], i64 5
235 ; CHECK-NEXT: store i32 [[ADD]], i32* [[GEP2]], align 4
267 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr inbounds i32, i32* [[TMP1]], i64 5
268 ; CHECK-NEXT: store i32 [[ADD]], i32* [[GEP2]], align 4
/llvm-project-15.0.7/llvm/test/Transforms/SLPVectorizer/AArch64/
H A Dext-trunc.ll23 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr inbounds i64, i64* [[P]], i64 [[TMP3]]
24 ; CHECK-NEXT: [[LOAD2:%.*]] = load i64, i64* [[GEP2]], align 4
74 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr inbounds i64, i64* [[P]], i64 [[TMP8]]
75 ; CHECK-NEXT: [[LOAD2:%.*]] = load i64, i64* [[GEP2]], align 4
H A Dtsc-s116.ll22 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr inbounds float, float* [[A]], i64 2
26 ; CHECK-NEXT: [[TMP1:%.*]] = bitcast float* [[GEP2]] to <2 x float>*
/llvm-project-15.0.7/llvm/test/Transforms/WholeProgramDevirt/
H A Dexpand-check.ll49 ; CHECK: [[GEP2:%[^ ]*]] = getelementptr i8, i8* [[VT2:%[^,]*]], i32 1
50 ; CHECK: [[BC2:%[^ ]*]] = bitcast i8* [[GEP2]] to i8**
/llvm-project-15.0.7/llvm/test/Transforms/MemCpyOpt/
H A Datomic.ll21 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr inbounds [101 x i32], [101 x i32]* [[X]], i32 0, i32 0
22 ; CHECK-NEXT: call void @otherf(i32* [[GEP2]])
/llvm-project-15.0.7/llvm/test/Transforms/IndVarSimplify/
H A Dfull_widening.ll19 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr inbounds double, double* [[P]], i64 [[IV_WIDE]]
20 ; CHECK-NEXT: store atomic double [[MUL]], double* [[GEP2]] unordered, align 8
/llvm-project-15.0.7/llvm/test/Transforms/Inline/
H A Dinalloca-not-static.ll62 ; CHECK: %[[GEP2:.*]] = getelementptr inbounds <{ %struct.Foo }>, <{ %struct.Foo }>* %[[ARGMEM]],…
63 ; CHECK: call x86_thiscallcc void @"\01??1Foo@@QAE@XZ"(%struct.Foo* %[[GEP2]])
/llvm-project-15.0.7/llvm/test/Transforms/LoopUnroll/
H A Dfull-unroll-one-unpredictable-exit.ll25 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr inbounds [2 x i64], [2 x i64]* [[A2]], i64 0, i64 0
27 ; CHECK-NEXT: [[LOAD2:%.*]] = load i64, i64* [[GEP2]], align 8
93 ; CHECK-NEXT: [[GEP2:%.*]] = getelementptr inbounds [2 x i64], [2 x i64]* [[A2]], i64 0, i64 0
95 ; CHECK-NEXT: [[LOAD2:%.*]] = load i64, i64* [[GEP2]], align 8
/llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/
H A Dpr35773.ll19 ; CHECK-NEXT: [[GEP2:%.+]] = getelementptr inbounds i32, i32* [[GEP1]], i32 0
20 ; CHECK-NEXT: [[GEP_BC:%.+]] = bitcast i32* [[GEP2]] to <4 x i32>*
/llvm-project-15.0.7/llvm/test/Instrumentation/HeapProfiler/
H A Dmasked-load-store.ll32 ; STORE: [[GEP2:%[0-9A-Za-z]+]] = getelementptr <4 x float>, <4 x float>* %p, i64 0, i64 2
33 ; STORE: [[PGEP2:%[0-9A-Za-z]+]] = ptrtoint float* [[GEP2]] to i64
97 ; STORE: [[GEP2:%[0-9A-Za-z]+]] = getelementptr <4 x float>, <4 x float>* %p, i64 0, i64 2
98 ; STORE: [[PGEP2:%[0-9A-Za-z]+]] = ptrtoint float* [[GEP2]] to i64
149 ; LOAD: [[GEP2:%[0-9A-Za-z]+]] = getelementptr <8 x i32>, <8 x i32>* %p, i64 0, i64 2
150 ; LOAD: [[PGEP2:%[0-9A-Za-z]+]] = ptrtoint i32* [[GEP2]] to i64
211 ; LOAD: [[GEP2:%[0-9A-Za-z]+]] = getelementptr <4 x float>, <4 x float>* %p, i64 0, i64 2
212 ; LOAD: [[PGEP2:%[0-9A-Za-z]+]] = ptrtoint float* [[GEP2]] to i64
/llvm-project-15.0.7/llvm/test/Instrumentation/AddressSanitizer/
H A Dasan-masked-load-store.ll32 ; STORE: [[GEP2:%[0-9A-Za-z]+]] = getelementptr <4 x float>, <4 x float>* %p, i64 0, i64 2
33 ; STORE: [[PGEP2:%[0-9A-Za-z]+]] = ptrtoint float* [[GEP2]] to i64
97 ; STORE: [[GEP2:%[0-9A-Za-z]+]] = getelementptr <4 x float>, <4 x float>* %p, i64 0, i64 2
98 ; STORE: [[PGEP2:%[0-9A-Za-z]+]] = ptrtoint float* [[GEP2]] to i64
163 ; LOAD: [[GEP2:%[0-9A-Za-z]+]] = getelementptr <8 x i32>, <8 x i32>* %p, i64 0, i64 2
164 ; LOAD: [[PGEP2:%[0-9A-Za-z]+]] = ptrtoint i32* [[GEP2]] to i64
225 ; LOAD: [[GEP2:%[0-9A-Za-z]+]] = getelementptr <4 x float>, <4 x float>* %p, i64 0, i64 2
226 ; LOAD: [[PGEP2:%[0-9A-Za-z]+]] = ptrtoint float* [[GEP2]] to i64
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A DmemcmpIR.ll23 ; CHECK-NEXT: [[GEP2:%[0-9]+]] = getelementptr i8, i8* [[BCC1]], i64 8
25 ; CHECK-NEXT: [[BCL2:%[0-9]+]] = bitcast i8* [[GEP2]] to i64*
48 ; CHECK-BE-NEXT: [[GEP2:%[0-9]+]] = getelementptr i8, i8* [[BCC1]], i64 8
50 ; CHECK-BE-NEXT: [[BCL2:%[0-9]+]] = bitcast i8* [[GEP2]] to i64*

123