Home
last modified time | relevance | path

Searched refs:gep (Results 1 – 25 of 188) sorted by relevance

12345678

/external/llvm/test/CodeGen/AMDGPU/
Dmad-combine.ll36 %gep.0 = getelementptr float, float addrspace(1)* %in, i32 %tid
37 %gep.1 = getelementptr float, float addrspace(1)* %gep.0, i32 1
38 %gep.2 = getelementptr float, float addrspace(1)* %gep.0, i32 2
39 %gep.out = getelementptr float, float addrspace(1)* %out, i32 %tid
41 %a = load float, float addrspace(1)* %gep.0
42 %b = load float, float addrspace(1)* %gep.1
43 %c = load float, float addrspace(1)* %gep.2
47 store float %fma, float addrspace(1)* %gep.out
75 %gep.0 = getelementptr float, float addrspace(1)* %in, i32 %tid
76 %gep.1 = getelementptr float, float addrspace(1)* %gep.0, i32 1
[all …]
Dmerge-stores.ll19 %out.gep.1 = getelementptr i8, i8 addrspace(1)* %out, i32 1
21 store i8 123, i8 addrspace(1)* %out.gep.1
31 %out.gep.1 = getelementptr i8, i8 addrspace(1)* %out, i32 1
33 store i8 123, i8 addrspace(1)* %out.gep.1
41 %out.gep.1 = getelementptr i16, i16 addrspace(1)* %out, i32 1
43 store i16 123, i16 addrspace(1)* %out.gep.1
51 %out.gep.1 = getelementptr i16, i16 addrspace(1)* %out, i32 1
53 store i16 0, i16 addrspace(1)* %out.gep.1
63 %out.gep.1 = getelementptr i16, i16 addrspace(1)* %out, i32 1
65 store i16 123, i16 addrspace(1)* %out.gep.1
[all …]
Dcommute-compares.ll13 %gep.in = getelementptr i32, i32 addrspace(1)* %in, i32 %tid
14 %gep.out = getelementptr i32, i32 addrspace(1)* %out, i32 %tid
15 %val = load i32, i32 addrspace(1)* %gep.in
18 store i32 %ext, i32 addrspace(1)* %gep.out
26 %gep.in = getelementptr i32, i32 addrspace(1)* %in, i32 %tid
27 %gep.out = getelementptr i32, i32 addrspace(1)* %out, i32 %tid
28 %val = load i32, i32 addrspace(1)* %gep.in
31 store i32 %ext, i32 addrspace(1)* %gep.out
41 %gep.in = getelementptr i32, i32 addrspace(1)* %in, i32 %tid
42 %gep.out = getelementptr i32, i32 addrspace(1)* %out, i32 %tid
[all …]
Dfma-combine.ll18 %gep.0 = getelementptr double, double addrspace(1)* %in, i32 %tid
19 %gep.1 = getelementptr double, double addrspace(1)* %gep.0, i32 1
20 %gep.2 = getelementptr double, double addrspace(1)* %gep.0, i32 2
21 %gep.out = getelementptr double, double addrspace(1)* %out, i32 %tid
23 %a = load double, double addrspace(1)* %gep.0
24 %b = load double, double addrspace(1)* %gep.1
25 %c = load double, double addrspace(1)* %gep.2
29 store double %fma, double addrspace(1)* %gep.out
46 %gep.0 = getelementptr double, double addrspace(1)* %in, i32 %tid
47 %gep.1 = getelementptr double, double addrspace(1)* %gep.0, i32 1
[all …]
Dfmuladd.ll41 %gep.0 = getelementptr float, float addrspace(1)* %out, i32 %tid
42 %gep.1 = getelementptr float, float addrspace(1)* %gep.0, i32 1
43 %gep.out = getelementptr float, float addrspace(1)* %out, i32 %tid
45 %r1 = load float, float addrspace(1)* %gep.0
46 %r2 = load float, float addrspace(1)* %gep.1
49 store float %r3, float addrspace(1)* %gep.out
60 %gep.0 = getelementptr float, float addrspace(1)* %out, i32 %tid
61 %gep.1 = getelementptr float, float addrspace(1)* %gep.0, i32 1
62 %gep.out = getelementptr float, float addrspace(1)* %out, i32 %tid
64 %r1 = load float, float addrspace(1)* %gep.0
[all …]
Dmadmk.ll13 %gep.0 = getelementptr float, float addrspace(1)* %in, i32 %tid
14 %gep.1 = getelementptr float, float addrspace(1)* %gep.0, i32 1
15 %out.gep = getelementptr float, float addrspace(1)* %out, i32 %tid
17 %a = load float, float addrspace(1)* %gep.0, align 4
18 %b = load float, float addrspace(1)* %gep.1, align 4
22 store float %madmk, float addrspace(1)* %out.gep, align 4
37 %in.gep.0 = getelementptr float, float addrspace(1)* %in, i32 %tid
38 %in.gep.1 = getelementptr float, float addrspace(1)* %in.gep.0, i32 1
39 %in.gep.2 = getelementptr float, float addrspace(1)* %in.gep.0, i32 2
41 %out.gep.0 = getelementptr float, float addrspace(1)* %out, i32 %tid
[all …]
Dmadak.ll15 %in.a.gep = getelementptr float, float addrspace(1)* %in.a, i32 %tid
16 %in.b.gep = getelementptr float, float addrspace(1)* %in.b, i32 %tid
17 %out.gep = getelementptr float, float addrspace(1)* %out, i32 %tid
19 %a = load float, float addrspace(1)* %in.a.gep, align 4
20 %b = load float, float addrspace(1)* %in.b.gep, align 4
24 store float %madak, float addrspace(1)* %out.gep, align 4
43 %in.gep.0 = getelementptr float, float addrspace(1)* %in, i32 %tid
44 %in.gep.1 = getelementptr float, float addrspace(1)* %in.gep.0, i32 1
45 %in.gep.2 = getelementptr float, float addrspace(1)* %in.gep.0, i32 2
47 %out.gep.0 = getelementptr float, float addrspace(1)* %out, i32 %tid
[all …]
Dcgp-addressing-modes.ll20 %out.gep = getelementptr i32, i32 addrspace(1)* %out, i64 999999
21 %in.gep = getelementptr i32, i32 addrspace(1)* %in, i64 7
26 %tmp1 = load i32, i32 addrspace(1)* %in.gep
31 store i32 %x, i32 addrspace(1)* %out.gep
39 ; OPT: %in.gep = getelementptr i8, i8 addrspace(1)* %in, i64 65535
49 %out.gep = getelementptr i32, i32 addrspace(1)* %out, i64 99999
50 %in.gep = getelementptr i8, i8 addrspace(1)* %in, i64 65535
55 %tmp1 = load i8, i8 addrspace(1)* %in.gep
61 store i32 %x, i32 addrspace(1)* %out.gep
75 %out.gep = getelementptr i32, i32 addrspace(1)* %out, i32 1024
[all …]
Dfmax_legacy.f64.ll9 %gep.0 = getelementptr double, double addrspace(1)* %in, i32 %tid
10 %gep.1 = getelementptr double, double addrspace(1)* %gep.0, i32 1
12 %a = load double, double addrspace(1)* %gep.0, align 8
13 %b = load double, double addrspace(1)* %gep.1, align 8
24 %gep.0 = getelementptr double, double addrspace(1)* %in, i32 %tid
25 %gep.1 = getelementptr double, double addrspace(1)* %gep.0, i32 1
27 %a = load double, double addrspace(1)* %gep.0, align 8
28 %b = load double, double addrspace(1)* %gep.1, align 8
39 %gep.0 = getelementptr double, double addrspace(1)* %in, i32 %tid
40 %gep.1 = getelementptr double, double addrspace(1)* %gep.0, i32 1
[all …]
Dfmin_legacy.ll30 %gep.0 = getelementptr float, float addrspace(1)* %in, i32 %tid
31 %gep.1 = getelementptr float, float addrspace(1)* %gep.0, i32 1
33 %a = load float, float addrspace(1)* %gep.0, align 4
34 %b = load float, float addrspace(1)* %gep.1, align 4
49 %gep.0 = getelementptr float, float addrspace(1)* %in, i32 %tid
50 %gep.1 = getelementptr float, float addrspace(1)* %gep.0, i32 1
52 %a = load float, float addrspace(1)* %gep.0, align 4
53 %b = load float, float addrspace(1)* %gep.1, align 4
68 %gep.0 = getelementptr float, float addrspace(1)* %in, i32 %tid
69 %gep.1 = getelementptr float, float addrspace(1)* %gep.0, i32 1
[all …]
Dfmin_legacy.f64.ll19 %gep.0 = getelementptr double, double addrspace(1)* %in, i32 %tid
20 %gep.1 = getelementptr double, double addrspace(1)* %gep.0, i32 1
22 %a = load double, double addrspace(1)* %gep.0, align 8
23 %b = load double, double addrspace(1)* %gep.1, align 8
34 %gep.0 = getelementptr double, double addrspace(1)* %in, i32 %tid
35 %gep.1 = getelementptr double, double addrspace(1)* %gep.0, i32 1
37 %a = load double, double addrspace(1)* %gep.0, align 8
38 %b = load double, double addrspace(1)* %gep.1, align 8
49 %gep.0 = getelementptr double, double addrspace(1)* %in, i32 %tid
50 %gep.1 = getelementptr double, double addrspace(1)* %gep.0, i32 1
[all …]
Dfmax_legacy.ll18 %gep.0 = getelementptr float, float addrspace(1)* %in, i32 %tid
19 %gep.1 = getelementptr float, float addrspace(1)* %gep.0, i32 1
21 %a = load float, float addrspace(1)* %gep.0, align 4
22 %b = load float, float addrspace(1)* %gep.1, align 4
38 %gep.0 = getelementptr float, float addrspace(1)* %in, i32 %tid
39 %gep.1 = getelementptr float, float addrspace(1)* %gep.0, i32 1
41 %a = load float, float addrspace(1)* %gep.0, align 4
42 %b = load float, float addrspace(1)* %gep.1, align 4
58 %gep.0 = getelementptr float, float addrspace(1)* %in, i32 %tid
59 %gep.1 = getelementptr float, float addrspace(1)* %gep.0, i32 1
[all …]
Dcommute_modifiers.ll13 %gep.0 = getelementptr float, float addrspace(1)* %in, i32 %tid
14 %x = load float, float addrspace(1)* %gep.0
27 %gep.0 = getelementptr float, float addrspace(1)* %in, i32 %tid
28 %x = load float, float addrspace(1)* %gep.0
42 %gep.0 = getelementptr float, float addrspace(1)* %in, i32 %tid
43 %x = load float, float addrspace(1)* %gep.0
58 %gep.0 = getelementptr float, float addrspace(1)* %in, i32 %tid
59 %x = load float, float addrspace(1)* %gep.0
73 %gep.0 = getelementptr float, float addrspace(1)* %in, i32 %tid
74 %gep.1 = getelementptr float, float addrspace(1)* %gep.0, i32 1
[all …]
Dno-shrink-extloads.ll26 %gep.in = getelementptr i32, i32 addrspace(1)* %in, i32 %tid
27 %gep.out = getelementptr i16, i16 addrspace(1)* %out, i32 %tid
28 %load = load i32, i32 addrspace(1)* %gep.in
30 store i16 %trunc, i16 addrspace(1)* %gep.out
48 %gep.in = getelementptr i32, i32 addrspace(1)* %in, i32 %tid
49 %gep.out = getelementptr i8, i8 addrspace(1)* %out, i32 %tid
50 %load = load i32, i32 addrspace(1)* %gep.in
52 store i8 %trunc, i8 addrspace(1)* %gep.out
70 %gep.in = getelementptr i32, i32 addrspace(1)* %in, i32 %tid
71 %gep.out = getelementptr i1, i1 addrspace(1)* %out, i32 %tid
[all …]
Dlocal-atomics.ll25 %gep = getelementptr i32, i32 addrspace(3)* %ptr, i32 4
26 %result = atomicrmw xchg i32 addrspace(3)* %gep, i32 4 seq_cst
51 %gep = getelementptr i32, i32 addrspace(3)* %ptr, i32 4
52 %result = atomicrmw add i32 addrspace(3)* %gep, i32 4 seq_cst
65 %gep = getelementptr i32, i32 addrspace(3)* %ptr, i32 %add
66 %result = atomicrmw add i32 addrspace(3)* %gep, i32 4 seq_cst
88 %gep = getelementptr i32, i32 addrspace(3)* %ptr, i32 4
89 %result = atomicrmw add i32 addrspace(3)* %gep, i32 1 seq_cst
102 %gep = getelementptr i32, i32 addrspace(3)* %ptr, i32 %add
103 %result = atomicrmw add i32 addrspace(3)* %gep, i32 1 seq_cst
[all …]
Dds_write2.ll14 %in.gep = getelementptr float, float addrspace(1)* %in, i32 %x.i
15 %val = load float, float addrspace(1)* %in.gep, align 4
32 %in.gep.0 = getelementptr float, float addrspace(1)* %in, i32 %x.i
33 %in.gep.1 = getelementptr float, float addrspace(1)* %in.gep.0, i32 1
34 %val0 = load float, float addrspace(1)* %in.gep.0, align 4
35 %val1 = load float, float addrspace(1)* %in.gep.1, align 4
51 %in0.gep = getelementptr float, float addrspace(1)* %in0, i32 %x.i
52 %in1.gep = getelementptr float, float addrspace(1)* %in1, i32 %x.i
53 %val0 = load float, float addrspace(1)* %in0.gep, align 4
54 %val1 = load float, float addrspace(1)* %in1.gep, align 4
[all …]
Dlocal-atomics64.ll17 %gep = getelementptr i64, i64 addrspace(3)* %ptr, i32 4
18 %result = atomicrmw xchg i64 addrspace(3)* %gep, i64 4 seq_cst
42 %gep = getelementptr i64, i64 addrspace(3)* %ptr, i64 4
43 %result = atomicrmw add i64 addrspace(3)* %gep, i64 9 seq_cst
64 %gep = getelementptr i64, i64 addrspace(3)* %ptr, i32 4
65 %result = atomicrmw add i64 addrspace(3)* %gep, i64 1 seq_cst
83 %gep = getelementptr i64, i64 addrspace(3)* %ptr, i32 4
84 %result = atomicrmw sub i64 addrspace(3)* %gep, i64 4 seq_cst
105 %gep = getelementptr i64, i64 addrspace(3)* %ptr, i32 4
106 %result = atomicrmw sub i64 addrspace(3)* %gep, i64 1 seq_cst
[all …]
Dllvm.AMDGPU.div_scale.ll16 %gep.0 = getelementptr float, float addrspace(1)* %in, i32 %tid
17 %gep.1 = getelementptr float, float addrspace(1)* %gep.0, i32 1
19 %a = load float, float addrspace(1)* %gep.0, align 4
20 %b = load float, float addrspace(1)* %gep.1, align 4
36 %gep.0 = getelementptr float, float addrspace(1)* %in, i32 %tid
37 %gep.1 = getelementptr float, float addrspace(1)* %gep.0, i32 1
39 %a = load float, float addrspace(1)* %gep.0, align 4
40 %b = load float, float addrspace(1)* %gep.1, align 4
56 %gep.0 = getelementptr double, double addrspace(1)* %in, i32 %tid
57 %gep.1 = getelementptr double, double addrspace(1)* %gep.0, i32 1
[all …]
Dglobal_atomics.ll9 %gep = getelementptr i32, i32 addrspace(1)* %out, i32 4
10 %0 = atomicrmw volatile add i32 addrspace(1)* %gep, i32 %in seq_cst
19 %gep = getelementptr i32, i32 addrspace(1)* %out, i32 4
20 %0 = atomicrmw volatile add i32 addrspace(1)* %gep, i32 %in seq_cst
34 %gep = getelementptr i32, i32 addrspace(1)* %ptr, i32 4
35 %0 = atomicrmw volatile add i32 addrspace(1)* %gep, i32 %in seq_cst
48 %gep = getelementptr i32, i32 addrspace(1)* %ptr, i32 4
49 %0 = atomicrmw volatile add i32 addrspace(1)* %gep, i32 %in seq_cst
102 %gep = getelementptr i32, i32 addrspace(1)* %out, i32 4
103 %0 = atomicrmw volatile and i32 addrspace(1)* %gep, i32 %in seq_cst
[all …]
Dds_write2st64.ll12 %in.gep = getelementptr float, float addrspace(1)* %in, i32 %x.i
13 %val = load float, float addrspace(1)* %in.gep, align 4
30 %in.gep.0 = getelementptr float, float addrspace(1)* %in, i32 %x.i
31 %in.gep.1 = getelementptr float, float addrspace(1)* %in.gep.0, i32 1
32 %val0 = load float, float addrspace(1)* %in.gep.0, align 4
33 %val1 = load float, float addrspace(1)* %in.gep.1, align 4
51 %in.gep.0 = getelementptr float, float addrspace(1)* %in, i32 %x.i
52 %in.gep.1 = getelementptr float, float addrspace(1)* %in.gep.0, i32 1
53 %val0 = load float, float addrspace(1)* %in.gep.0, align 4
54 %val1 = load float, float addrspace(1)* %in.gep.1, align 4
[all …]
Dcgp-addressing-modes-flat.ll16 %out.gep = getelementptr i32, i32 addrspace(4)* %out, i64 999999
17 %in.gep = getelementptr i32, i32 addrspace(4)* %in, i64 7
22 %tmp1 = load i32, i32 addrspace(4)* %in.gep
27 store i32 %x, i32 addrspace(4)* %out.gep
48 %out.gep = getelementptr i32, i32 addrspace(4)* %out, i64 999999
49 %in.gep = getelementptr i32, i32 addrspace(4)* %in, i64 7
50 %cast = addrspacecast i32 addrspace(4)* %in.gep to i32 addrspace(1)*
60 store i32 %x, i32 addrspace(4)* %out.gep
81 %out.gep = getelementptr i32, i32 addrspace(4)* %out, i64 999999
82 %in.gep = getelementptr i32, i32 addrspace(4)* %in, i64 7
[all …]
Dlocal-64.ll9 %gep = getelementptr i32, i32 addrspace(3)* %in, i32 7
10 %val = load i32, i32 addrspace(3)* %gep, align 4
29 %gep = getelementptr i8, i8 addrspace(3)* %in, i32 65535
30 %val = load i8, i8 addrspace(3)* %gep, align 4
44 %gep = getelementptr i8, i8 addrspace(3)* %in, i32 65536
45 %val = load i8, i8 addrspace(3)* %gep, align 4
55 %gep = getelementptr i64, i64 addrspace(3)* %in, i32 7
56 %val = load i64, i64 addrspace(3)* %gep, align 8
75 %gep = getelementptr double, double addrspace(3)* %in, i32 7
76 %val = load double, double addrspace(3)* %gep, align 8
[all …]
/external/llvm/test/Transforms/InstSimplify/
Dgep.ll12 %gep = getelementptr inbounds %struct.A, %struct.A* %b, i64 %sdiv
13 ret %struct.A* %gep
22 %gep = getelementptr inbounds i8, i8* %b, i64 %sub
23 ret i8* %gep
33 %gep = getelementptr inbounds i64, i64* %b, i64 %ashr
34 ret i64* %gep
43 %gep = getelementptr inbounds %struct.A, %struct.A* %b, i64 %sdiv
44 ret %struct.A* %gep
52 %gep = getelementptr inbounds i8, i8* %b, i64 %sub
53 ret i8* %gep
[all …]
Dvector_gep.ll13 %gep = getelementptr i8, <4 x i8*> %a, <4 x i32> zeroinitializer
14 ret <4 x i8*> %gep
21 %gep = getelementptr i8, <4 x i8*> %a
22 ret <4 x i8*> %gep
31 …%gep = getelementptr %struct, <4 x %struct*> undef, <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i…
32 ret <4 x float*> %gep
41 …%gep = getelementptr %struct.empty, <4 x %struct.empty*> %a, <4 x i32> <i32 1, i32 1, i32 1, i32 1>
42 ret <4 x %struct.empty*> %gep
50 %gep = getelementptr i8, <4 x i8*> %c, <4 x i32> <i32 1, i32 1, i32 1, i32 1>
51 ret <4 x i8*> %gep
/external/llvm/test/CodeGen/X86/
Dshift-combine.ll26 %gep = getelementptr inbounds i32, i32* %x, i32 %shr
27 ret i32* %gep
36 %gep = getelementptr inbounds i32, i32* %x, i32 %shr
37 ret i32* %gep
46 %gep = getelementptr inbounds i32, i32* %x, i32 %shr
47 ret i32* %gep
56 %gep = getelementptr inbounds i32, i32* %x, i32 %shr
57 ret i32* %gep
66 %gep = getelementptr inbounds i32, i32* %x, i32 %shr
67 ret i32* %gep
[all …]

12345678