Lines Matching refs:addrspace

8 @stored_lds_ptr = addrspace(3) global i32 addrspace(3)* undef, align 4
9 @stored_constant_ptr = addrspace(3) global i32 addrspace(2)* undef, align 8
10 @stored_global_ptr = addrspace(3) global i32 addrspace(1)* undef, align 8
16 define void @reorder_local_load_global_store_local_load(i32 addrspace(1)* %out, i32 addrspace(1)* %…
17 %ptr0 = load i32 addrspace(3)*, i32 addrspace(3)* addrspace(3)* @stored_lds_ptr, align 4
19 %ptr1 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 1
20 %ptr2 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 2
22 %tmp1 = load i32, i32 addrspace(3)* %ptr1, align 4
23 store i32 99, i32 addrspace(1)* %gptr, align 4
24 %tmp2 = load i32, i32 addrspace(3)* %ptr2, align 4
28 store i32 %add, i32 addrspace(1)* %out, align 4
36 …@no_reorder_local_load_volatile_global_store_local_load(i32 addrspace(1)* %out, i32 addrspace(1)* …
37 %ptr0 = load i32 addrspace(3)*, i32 addrspace(3)* addrspace(3)* @stored_lds_ptr, align 4
39 %ptr1 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 1
40 %ptr2 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 2
42 %tmp1 = load i32, i32 addrspace(3)* %ptr1, align 4
43 store volatile i32 99, i32 addrspace(1)* %gptr, align 4
44 %tmp2 = load i32, i32 addrspace(3)* %ptr2, align 4
48 store i32 %add, i32 addrspace(1)* %out, align 4
56 … @no_reorder_barrier_local_load_global_store_local_load(i32 addrspace(1)* %out, i32 addrspace(1)* …
57 %ptr0 = load i32 addrspace(3)*, i32 addrspace(3)* addrspace(3)* @stored_lds_ptr, align 4
59 %ptr1 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 1
60 %ptr2 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 2
62 %tmp1 = load i32, i32 addrspace(3)* %ptr1, align 4
63 store i32 99, i32 addrspace(1)* %gptr, align 4
65 %tmp2 = load i32, i32 addrspace(3)* %ptr2, align 4
69 store i32 %add, i32 addrspace(1)* %out, align 4
81 …id @no_reorder_constant_load_global_store_constant_load(i32 addrspace(1)* %out, i32 addrspace(1)* …
82 %ptr0 = load i32 addrspace(2)*, i32 addrspace(2)* addrspace(3)* @stored_constant_ptr, align 8
84 %ptr1 = getelementptr inbounds i32, i32 addrspace(2)* %ptr0, i64 1
85 %ptr2 = getelementptr inbounds i32, i32 addrspace(2)* %ptr0, i64 2
87 %tmp1 = load i32, i32 addrspace(2)* %ptr1, align 4
88 store i32 99, i32 addrspace(1)* %gptr, align 4
89 %tmp2 = load i32, i32 addrspace(2)* %ptr2, align 4
93 store i32 %add, i32 addrspace(1)* %out, align 4
102 define void @reorder_constant_load_local_store_constant_load(i32 addrspace(1)* %out, i32 addrspace(…
103 %ptr0 = load i32 addrspace(2)*, i32 addrspace(2)* addrspace(3)* @stored_constant_ptr, align 8
105 %ptr1 = getelementptr inbounds i32, i32 addrspace(2)* %ptr0, i64 1
106 %ptr2 = getelementptr inbounds i32, i32 addrspace(2)* %ptr0, i64 2
108 %tmp1 = load i32, i32 addrspace(2)* %ptr1, align 4
109 store i32 99, i32 addrspace(3)* %lptr, align 4
110 %tmp2 = load i32, i32 addrspace(2)* %ptr2, align 4
114 store i32 %add, i32 addrspace(1)* %out, align 4
124 …eorder_smrd_load_local_store_smrd_load(i32 addrspace(1)* %out, i32 addrspace(3)* noalias %lptr, i3…
125 %ptr1 = getelementptr inbounds i32, i32 addrspace(2)* %ptr0, i64 1
126 %ptr2 = getelementptr inbounds i32, i32 addrspace(2)* %ptr0, i64 2
128 %tmp1 = load i32, i32 addrspace(2)* %ptr1, align 4
129 store i32 99, i32 addrspace(3)* %lptr, align 4
130 %tmp2 = load i32, i32 addrspace(2)* %ptr2, align 4
134 store i32 %add, i32 addrspace(1)* %out, align 4
143 …eorder_global_load_local_store_global_load(i32 addrspace(1)* %out, i32 addrspace(3)* %lptr, i32 ad…
144 %ptr1 = getelementptr inbounds i32, i32 addrspace(1)* %ptr0, i64 1
145 %ptr2 = getelementptr inbounds i32, i32 addrspace(1)* %ptr0, i64 2
147 %tmp1 = load i32, i32 addrspace(1)* %ptr1, align 4
148 store i32 99, i32 addrspace(3)* %lptr, align 4
149 %tmp2 = load i32, i32 addrspace(1)* %ptr2, align 4
153 store i32 %add, i32 addrspace(1)* %out, align 4
165 …d @reorder_local_offsets(i32 addrspace(1)* nocapture %out, i32 addrspace(1)* noalias nocapture rea…
166 %ptr1 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 3
167 %ptr2 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 100
168 %ptr3 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 101
170 store i32 123, i32 addrspace(3)* %ptr1, align 4
171 %tmp1 = load i32, i32 addrspace(3)* %ptr2, align 4
172 %tmp2 = load i32, i32 addrspace(3)* %ptr3, align 4
173 store i32 123, i32 addrspace(3)* %ptr2, align 4
174 %tmp3 = load i32, i32 addrspace(3)* %ptr1, align 4
175 store i32 789, i32 addrspace(3)* %ptr3, align 4
179 store i32 %add.1, i32 addrspace(1)* %out, align 4
192 … @reorder_global_offsets(i32 addrspace(1)* nocapture %out, i32 addrspace(1)* noalias nocapture rea…
193 %ptr1 = getelementptr inbounds i32, i32 addrspace(1)* %ptr0, i32 3
194 %ptr2 = getelementptr inbounds i32, i32 addrspace(1)* %ptr0, i32 100
195 %ptr3 = getelementptr inbounds i32, i32 addrspace(1)* %ptr0, i32 101
197 store i32 123, i32 addrspace(1)* %ptr1, align 4
198 %tmp1 = load i32, i32 addrspace(1)* %ptr2, align 4
199 %tmp2 = load i32, i32 addrspace(1)* %ptr3, align 4
200 store i32 123, i32 addrspace(1)* %ptr2, align 4
201 %tmp3 = load i32, i32 addrspace(1)* %ptr1, align 4
202 store i32 789, i32 addrspace(1)* %ptr3, align 4
206 store i32 %add.1, i32 addrspace(1)* %out, align 4
214 ; define void @reorder_local_load_tbuffer_store_local_load(i32 addrspace(1)* %out, i32 %a1, i32 %va…
215 ; %ptr0 = load i32 addrspace(3)*, i32 addrspace(3)* addrspace(3)* @stored_lds_ptr, align 4
217 ; %ptr1 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 1
218 ; %ptr2 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 2
220 ; %tmp1 = load i32, i32 addrspace(3)* %ptr1, align 4
227 ; %tmp2 = load i32, i32 addrspace(3)* %ptr2, align 4
231 ; store i32 %add, i32 addrspace(1)* %out, align 4