Home
last modified time | relevance | path

Searched refs:gep0 (Results 1 – 25 of 60) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InferAddressSpaces/AMDGPU/
Dinfer-addrspacecast.ll7 ; CHECK: %gep0 = getelementptr i32, i32 addrspace(3)* %ptr, i64 9
8 ; CHECK-NEXT: store i32 8, i32 addrspace(3)* %gep0, align 8
12 %gep0 = getelementptr i32, i32* %asc0, i64 9
13 %asc1 = addrspacecast i32* %gep0 to i32 addrspace(3)*
25 %gep0 = getelementptr i32, i32* %asc0, i64 9
26 %asc1 = addrspacecast i32* %gep0 to i8 addrspace(3)*
32 ; CHECK: %gep0 = getelementptr i32, i32 addrspace(3)* %ptr, i64 9
33 ; CHECK-NEXT: store volatile i32 addrspace(3)* %gep0, i32 addrspace(3)* addrspace(1)* undef
37 %gep0 = getelementptr i32, i32* %asc0, i64 9
38 %asc1 = addrspacecast i32* %gep0 to i32 addrspace(3)*
[all …]
Dinfer-getelementptr.ll9 ; CHECK: %gep0 = getelementptr inbounds double, double addrspace(3)* getelementptr inbounds ([648 x…
10 ; CHECK-NEXT: store double 1.000000e+00, double addrspace(3)* %gep0, align 8
12 …%gep0 = getelementptr inbounds double, double* addrspacecast (double addrspace(3)* getelementptr i…
13 %asc = addrspacecast double* %gep0 to double addrspace(3)*
19 ; CHECK-NEXT: %gep0 = getelementptr inbounds double, double addrspace(3)* getelementptr inbounds ([…
20 ; CHECK-NEXT: store double 1.000000e+00, double addrspace(3)* %gep0, align 8
22 …%gep0 = getelementptr inbounds double, double* getelementptr ([648 x double], [648 x double]* addr…
23 %asc = addrspacecast double* %gep0 to double addrspace(3)*
29 ; CHECK: %gep0 = getelementptr inbounds double, double addrspace(3)* getelementptr inbounds ([648 x…
30 ; CHECK-NEXT: %gep1 = getelementptr inbounds double, double addrspace(3)* %gep0, i64 %idx1
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dclamp.ll10 %gep0 = getelementptr float, float addrspace(1)* %aptr, i32 %tid
12 %a = load float, float addrspace(1)* %gep0
25 %gep0 = getelementptr float, float addrspace(1)* %aptr, i32 %tid
27 %a = load float, float addrspace(1)* %gep0
41 %gep0 = getelementptr float, float addrspace(1)* %aptr, i32 %tid
43 %a = load float, float addrspace(1)* %gep0
60 %gep0 = getelementptr float, float addrspace(1)* %aptr, i32 %tid
62 %a = load float, float addrspace(1)* %gep0
76 %gep0 = getelementptr float, float addrspace(1)* %aptr, i32 %tid
78 %a = load float, float addrspace(1)* %gep0
[all …]
Dclamp-modifier.ll11 %gep0 = getelementptr float, float addrspace(1)* %aptr, i32 %tid
13 %a = load float, float addrspace(1)* %gep0
27 %gep0 = getelementptr float, float addrspace(1)* %aptr, i32 %tid
29 %a = load float, float addrspace(1)* %gep0
44 %gep0 = getelementptr float, float addrspace(1)* %aptr, i32 %tid
46 %a = load float, float addrspace(1)* %gep0
61 %gep0 = getelementptr float, float addrspace(1)* %aptr, i32 %tid
63 %a = load float, float addrspace(1)* %gep0
78 %gep0 = getelementptr float, float addrspace(1)* %aptr, i32 %tid
80 %a = load float, float addrspace(1)* %gep0
[all …]
Dfmed3.ll14 %gep0 = getelementptr float, float addrspace(1)* %aptr, i32 %tid
16 %a = load float, float addrspace(1)* %gep0
32 %gep0 = getelementptr float, float addrspace(1)* %aptr, i32 %tid
34 %a = load float, float addrspace(1)* %gep0
50 %gep0 = getelementptr float, float addrspace(1)* %aptr, i32 %tid
52 %a = load float, float addrspace(1)* %gep0
68 %gep0 = getelementptr float, float addrspace(1)* %aptr, i32 %tid
70 %a = load float, float addrspace(1)* %gep0
84 %gep0 = getelementptr float, float addrspace(1)* %aptr, i32 %tid
86 %a = load float, float addrspace(1)* %gep0
[all …]
Dmax.i16.ll9 %gep0 = getelementptr i16, i16 addrspace(1)* %aptr, i32 %tid
12 %a = load i16, i16 addrspace(1)* %gep0, align 4
28 %gep0 = getelementptr <2 x i16>, <2 x i16> addrspace(1)* %aptr, i32 %tid
31 %a = load <2 x i16>, <2 x i16> addrspace(1)* %gep0, align 4
50 %gep0 = getelementptr <3 x i16>, <3 x i16> addrspace(1)* %aptr, i32 %tid
53 %a = load <3 x i16>, <3 x i16> addrspace(1)* %gep0, align 4
72 %gep0 = getelementptr <4 x i16>, <4 x i16> addrspace(1)* %aptr, i32 %tid
75 %a = load <4 x i16>, <4 x i16> addrspace(1)* %gep0, align 4
88 %gep0 = getelementptr i16, i16 addrspace(1)* %aptr, i32 %tid
91 %a = load i16, i16 addrspace(1)* %gep0, align 4
[all …]
Dmin3.ll9 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
13 %a = load i32, i32 addrspace(1)* %gep0
28 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
32 %a = load i32, i32 addrspace(1)* %gep0
49 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
60 %a = load i32, i32 addrspace(1)* %gep0
83 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
94 %a = load i32, i32 addrspace(1)* %gep0
122 %gep0 = getelementptr i16, i16 addrspace(1)* %aptr, i32 %tid
126 %a = load i16, i16 addrspace(1)* %gep0
[all …]
Dmax3.ll9 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
13 %a = load i32, i32 addrspace(1)* %gep0
28 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
32 %a = load i32, i32 addrspace(1)* %gep0
52 %gep0 = getelementptr i16, i16 addrspace(1)* %aptr, i32 %tid
56 %a = load i16, i16 addrspace(1)* %gep0
76 %gep0 = getelementptr i16, i16 addrspace(1)* %aptr, i32 %tid
80 %a = load i16, i16 addrspace(1)* %gep0
Dstack-realign.ll26 …%gep0 = getelementptr inbounds [8 x <4 x i32>], [8 x <4 x i32>] addrspace(5)* %alloca.align16, i32…
27 store volatile <4 x i32> <i32 1, i32 2, i32 3, i32 4>, <4 x i32> addrspace(5)* %gep0, align 16
47 …%gep0 = getelementptr inbounds [8 x <4 x i32>], [8 x <4 x i32>] addrspace(5)* %alloca.align16, i32…
48 store volatile <4 x i32> <i32 1, i32 2, i32 3, i32 4>, <4 x i32> addrspace(5)* %gep0, align 16
68 …%gep0 = getelementptr inbounds [8 x <4 x i32>], [8 x <4 x i32>] addrspace(5)* %alloca.align16, i32…
69 store volatile <4 x i32> <i32 1, i32 2, i32 3, i32 4>, <4 x i32> addrspace(5)* %gep0, align 32
84 %gep0 = getelementptr inbounds [8 x i32], [8 x i32] addrspace(5)* %alloca.align16, i32 0, i32 %idx
85 store volatile i32 3, i32 addrspace(5)* %gep0, align 4
Ddrop-mem-operand-move-smrd.ll16 %gep0 = getelementptr i32, i32 addrspace(1)* %gptr0, i32 %idx
24 %gptr0.phi = phi i32 addrspace(1)* [ %gep0, %entry ], [ %gep0.inc, %for.body ]
28 %val0 = load i32, i32 addrspace(1)* %gep0
32 %gep0.inc = getelementptr i32, i32 addrspace(1)* %gptr0.phi, i32 4
Dpromote-alloca-no-opts.ll11 …%gep0 = getelementptr inbounds [2 x [2 x i32]], [2 x [2 x i32]] addrspace(5)* %alloca, i32 0, i32 …
13 store i32 0, i32 addrspace(5)* %gep0
27 …%gep0 = getelementptr inbounds [2 x [2 x i32]], [2 x [2 x i32]] addrspace(5)* %alloca, i32 0, i32 …
29 store i32 0, i32 addrspace(5)* %gep0
Dframe-index-elimination.ll46 %gep0 = getelementptr inbounds [2 x i32], [2 x i32] addrspace(5)* %alloca, i32 0, i32 1
47 store volatile i32 addrspace(5)* %gep0, i32 addrspace(5)* addrspace(3)* undef
106 %gep0 = getelementptr inbounds { i8, i32 }, { i8, i32 } addrspace(5)* %arg0, i32 0, i32 0
119 %gep0 = getelementptr inbounds { i8, i32 }, { i8, i32 } addrspace(5)* %arg0, i32 0, i32 0
121 %load0 = load i8, i8 addrspace(5)* %gep0
154 %gep0 = getelementptr inbounds { i8, i32 }, { i8, i32 } addrspace(5)* %arg0, i32 0, i32 0
180 %gep0 = getelementptr inbounds [128 x i32], [128 x i32] addrspace(5)* %alloca0, i32 0, i32 65
182 store volatile i32 7, i32 addrspace(5)* %gep0
205 %gep0 = getelementptr inbounds [128 x i32], [128 x i32] addrspace(5)* %alloca0, i32 0, i32 65
207 store volatile i32 7, i32 addrspace(5)* %gep0
[all …]
Dsmed3.ll11 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
13 %a = load i32, i32 addrspace(1)* %gep0
30 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
32 %a = load i32, i32 addrspace(1)* %gep0
50 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
52 %a = load i32, i32 addrspace(1)* %gep0
69 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
71 %a = load i32, i32 addrspace(1)* %gep0
88 %gep0 = getelementptr i64, i64 addrspace(1)* %aptr, i32 %tid
90 %a = load i64, i64 addrspace(1)* %gep0
[all …]
Dumed3.ll11 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
13 %a = load i32, i32 addrspace(1)* %gep0
30 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
32 %a = load i32, i32 addrspace(1)* %gep0
50 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
52 %a = load i32, i32 addrspace(1)* %gep0
69 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
71 %a = load i32, i32 addrspace(1)* %gep0
88 %gep0 = getelementptr i64, i64 addrspace(1)* %aptr, i32 %tid
90 %a = load i64, i64 addrspace(1)* %gep0
[all …]
Dprivate-memory-r600.ll201 …%gep0 = getelementptr inbounds [2 x [2 x i8]], [2 x [2 x i8]] addrspace(5)* %alloca, i32 0, i32 0,…
203 store i8 0, i8 addrspace(5)* %gep0
215 …%gep0 = getelementptr inbounds [2 x [2 x i32]], [2 x [2 x i32]] addrspace(5)* %alloca, i32 0, i32 …
217 store i32 0, i32 addrspace(5)* %gep0
228 …%gep0 = getelementptr inbounds [2 x [2 x i64]], [2 x [2 x i64]] addrspace(5)* %alloca, i32 0, i32 …
230 store i64 0, i64 addrspace(5)* %gep0
243 …%gep0 = getelementptr inbounds [2 x [2 x %struct.pair32]], [2 x [2 x %struct.pair32]] addrspace(5)…
245 store i32 0, i32 addrspace(5)* %gep0
256 …%gep0 = getelementptr inbounds [2 x %struct.pair32], [2 x %struct.pair32] addrspace(5)* %alloca, i…
258 store i32 0, i32 addrspace(5)* %gep0
/external/llvm/test/CodeGen/AMDGPU/
Dfmed3.ll17 %gep0 = getelementptr float, float addrspace(1)* %aptr, i32 %tid
19 %a = load float, float addrspace(1)* %gep0
35 %gep0 = getelementptr float, float addrspace(1)* %aptr, i32 %tid
37 %a = load float, float addrspace(1)* %gep0
53 %gep0 = getelementptr float, float addrspace(1)* %aptr, i32 %tid
55 %a = load float, float addrspace(1)* %gep0
69 %gep0 = getelementptr float, float addrspace(1)* %aptr, i32 %tid
71 %a = load float, float addrspace(1)* %gep0
86 %gep0 = getelementptr float, float addrspace(1)* %aptr, i32 %tid
88 %a = load float, float addrspace(1)* %gep0
[all …]
Dmad-sub.ll15 %gep0 = getelementptr float, float addrspace(1)* %ptr, i64 %tid.ext
21 %a = load volatile float, float addrspace(1)* %gep0, align 4
39 %gep0 = getelementptr float, float addrspace(1)* %ptr, i64 %tid.ext
45 %a = load volatile float, float addrspace(1)* %gep0, align 4
60 %gep0 = getelementptr double, double addrspace(1)* %ptr, i64 %tid.ext
66 %a = load volatile double, double addrspace(1)* %gep0, align 8
84 %gep0 = getelementptr float, float addrspace(1)* %ptr, i64 %tid.ext
90 %a = load volatile float, float addrspace(1)* %gep0, align 4
109 %gep0 = getelementptr float, float addrspace(1)* %ptr, i64 %tid.ext
115 %a = load volatile float, float addrspace(1)* %gep0, align 4
[all …]
Ddrop-mem-operand-move-smrd.ll16 %gep0 = getelementptr i32, i32 addrspace(1)* %gptr0, i32 %idx
24 %gptr0.phi = phi i32 addrspace(1)* [ %gep0, %entry ], [ %gep0.inc, %for.body ]
28 %val0 = load i32, i32 addrspace(1)* %gep0
32 %gep0.inc = getelementptr i32, i32 addrspace(1)* %gptr0.phi, i32 4
Dmin3.ll9 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
13 %a = load i32, i32 addrspace(1)* %gep0, align 4
28 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
32 %a = load i32, i32 addrspace(1)* %gep0, align 4
49 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
60 %a = load i32, i32 addrspace(1)* %gep0, align 4
83 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
94 %a = load i32, i32 addrspace(1)* %gep0, align 4
Dpromote-alloca-no-opts.ll11 %gep0 = getelementptr inbounds [2 x [2 x i32]], [2 x [2 x i32]]* %alloca, i32 0, i32 0, i32 0
13 store i32 0, i32* %gep0
27 %gep0 = getelementptr inbounds [2 x [2 x i32]], [2 x [2 x i32]]* %alloca, i32 0, i32 0, i32 0
29 store i32 0, i32* %gep0
Dmax3.ll9 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
13 %a = load i32, i32 addrspace(1)* %gep0, align 4
28 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
32 %a = load i32, i32 addrspace(1)* %gep0, align 4
Dprivate-memory-r600.ll199 %gep0 = getelementptr inbounds [2 x [2 x i8]], [2 x [2 x i8]]* %alloca, i32 0, i32 0, i32 0
201 store i8 0, i8* %gep0
213 %gep0 = getelementptr inbounds [2 x [2 x i32]], [2 x [2 x i32]]* %alloca, i32 0, i32 0, i32 0
215 store i32 0, i32* %gep0
226 %gep0 = getelementptr inbounds [2 x [2 x i64]], [2 x [2 x i64]]* %alloca, i32 0, i32 0, i32 0
228 store i64 0, i64* %gep0
241 …%gep0 = getelementptr inbounds [2 x [2 x %struct.pair32]], [2 x [2 x %struct.pair32]]* %alloca, i3…
243 store i32 0, i32* %gep0
254 …%gep0 = getelementptr inbounds [2 x %struct.pair32], [2 x %struct.pair32]* %alloca, i32 0, i32 0, …
256 store i32 0, i32* %gep0
Dsmed3.ll10 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
12 %a = load i32, i32 addrspace(1)* %gep0
29 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
31 %a = load i32, i32 addrspace(1)* %gep0
49 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
51 %a = load i32, i32 addrspace(1)* %gep0
68 %gep0 = getelementptr i32, i32 addrspace(1)* %aptr, i32 %tid
70 %a = load i32, i32 addrspace(1)* %gep0
87 %gep0 = getelementptr i64, i64 addrspace(1)* %aptr, i32 %tid
89 %a = load i64, i64 addrspace(1)* %gep0
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SROA/
Dpreserve-nonnull.ll19 %a.gep0 = getelementptr [2 x i8*], [2 x i8*]* %a, i32 0, i32 0
21 %a.gep0.cast = bitcast i8** %a.gep0 to i32**
24 store i32* null, i32** %a.gep0.cast
61 %a.gep0 = getelementptr [2 x i8*], [2 x i8*]* %a, i32 0, i32 0
63 %a.gep0.cast = bitcast i8** %a.gep0 to i64*
66 store i64 0, i64* %a.gep0.cast
82 %a.gep0 = getelementptr [2 x i8*], [2 x i8*]* %a, i32 0, i32 0
84 %a.gep0.cast = bitcast i8** %a.gep0 to i64*
87 store i64 0, i64* %a.gep0.cast
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/CodeGenPrepare/AArch64/
Dlarge-offset-gep.ll15 %gep0 = getelementptr %struct_type, %struct_type* %struct, i64 0, i32 1
23 store i32 %i, i32* %gep0
41 %gep0 = getelementptr %struct_type, %struct_type* %struct, i64 0, i32 1
49 store i32 %i, i32* %gep0
74 %gep0 = getelementptr %struct_type, %struct_type* %struct, i64 0, i32 1
82 store i32 %i, i32* %gep0
101 %gep0 = getelementptr %struct_type, %struct_type* %struct, i64 0, i32 1
109 store i32 %i, i32* %gep0
133 %gep0 = getelementptr [65536 x i32], [65536 x i32]* %struct, i64 0, i32 20000
141 store i32 %i, i32* %gep0

123