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
15 define void @reorder_local_load_global_store_local_load(i32 addrspace(1)* %out, i32 addrspace(1)* %…
16 %ptr0 = load i32 addrspace(3)*, i32 addrspace(3)* addrspace(3)* @stored_lds_ptr, align 4
18 %ptr1 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 1
19 %ptr2 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 3
21 %tmp1 = load i32, i32 addrspace(3)* %ptr1, align 4
22 store i32 99, i32 addrspace(1)* %gptr, align 4
23 %tmp2 = load i32, i32 addrspace(3)* %ptr2, align 4
27 store i32 %add, i32 addrspace(1)* %out, align 4
35 …@no_reorder_local_load_volatile_global_store_local_load(i32 addrspace(1)* %out, i32 addrspace(1)* …
36 %ptr0 = load i32 addrspace(3)*, i32 addrspace(3)* addrspace(3)* @stored_lds_ptr, align 4
38 %ptr1 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 1
39 %ptr2 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 3
41 %tmp1 = load i32, i32 addrspace(3)* %ptr1, align 4
42 store volatile i32 99, i32 addrspace(1)* %gptr, align 4
43 %tmp2 = load i32, i32 addrspace(3)* %ptr2, align 4
47 store i32 %add, i32 addrspace(1)* %out, align 4
55 … @no_reorder_barrier_local_load_global_store_local_load(i32 addrspace(1)* %out, i32 addrspace(1)* …
56 %ptr0 = load i32 addrspace(3)*, i32 addrspace(3)* addrspace(3)* @stored_lds_ptr, align 4
58 %ptr1 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 1
59 %ptr2 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 3
61 %tmp1 = load i32, i32 addrspace(3)* %ptr1, align 4
62 store i32 99, i32 addrspace(1)* %gptr, align 4
64 %tmp2 = load i32, i32 addrspace(3)* %ptr2, align 4
68 store i32 %add, i32 addrspace(1)* %out, align 4
79 define void @reorder_constant_load_global_store_constant_load(i32 addrspace(1)* %out, i32 addrspace…
80 %ptr0 = load i32 addrspace(2)*, i32 addrspace(2)* addrspace(3)* @stored_constant_ptr, align 8
82 %ptr1 = getelementptr inbounds i32, i32 addrspace(2)* %ptr0, i64 1
83 %ptr2 = getelementptr inbounds i32, i32 addrspace(2)* %ptr0, i64 3
85 %tmp1 = load i32, i32 addrspace(2)* %ptr1, align 4
86 store i32 99, i32 addrspace(1)* %gptr, align 4
87 %tmp2 = load i32, i32 addrspace(2)* %ptr2, align 4
91 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 3
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 3
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
163 …d @reorder_local_offsets(i32 addrspace(1)* nocapture %out, i32 addrspace(1)* noalias nocapture rea…
164 %ptr1 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 3
165 %ptr2 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 100
166 %ptr3 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 102
168 store i32 123, i32 addrspace(3)* %ptr1, align 4
169 %tmp1 = load i32, i32 addrspace(3)* %ptr2, align 4
170 %tmp2 = load i32, i32 addrspace(3)* %ptr3, align 4
171 store i32 123, i32 addrspace(3)* %ptr2, align 4
172 %tmp3 = load i32, i32 addrspace(3)* %ptr1, align 4
173 store i32 789, i32 addrspace(3)* %ptr3, align 4
177 store i32 %add.1, i32 addrspace(1)* %out, align 4
189 … @reorder_global_offsets(i32 addrspace(1)* nocapture %out, i32 addrspace(1)* noalias nocapture rea…
190 %ptr1 = getelementptr inbounds i32, i32 addrspace(1)* %ptr0, i32 3
191 %ptr2 = getelementptr inbounds i32, i32 addrspace(1)* %ptr0, i32 100
192 %ptr3 = getelementptr inbounds i32, i32 addrspace(1)* %ptr0, i32 102
194 store i32 123, i32 addrspace(1)* %ptr1, align 4
195 %tmp1 = load i32, i32 addrspace(1)* %ptr2, align 4
196 %tmp2 = load i32, i32 addrspace(1)* %ptr3, align 4
197 store i32 123, i32 addrspace(1)* %ptr2, align 4
198 %tmp3 = load i32, i32 addrspace(1)* %ptr1, align 4
199 store i32 789, i32 addrspace(1)* %ptr3, align 4
203 store i32 %add.1, i32 addrspace(1)* %out, align 4
211 ; define amdgpu_vs void @reorder_local_load_tbuffer_store_local_load(i32 addrspace(1)* %out, i32 %a…
212 ; %ptr0 = load i32 addrspace(3)*, i32 addrspace(3)* addrspace(3)* @stored_lds_ptr, align 4
214 ; %ptr1 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 1
215 ; %ptr2 = getelementptr inbounds i32, i32 addrspace(3)* %ptr0, i32 2
217 ; %tmp1 = load i32, i32 addrspace(3)* %ptr1, align 4
224 ; %tmp2 = load i32, i32 addrspace(3)* %ptr2, align 4
228 ; store i32 %add, i32 addrspace(1)* %out, align 4