Lines Matching refs:addrspace
6 define amdgpu_kernel void @store_fi_lifetime(i32 addrspace(1)* %out, i32 %in) #0 {
8 %b = alloca i8, addrspace(5)
9 call void @llvm.lifetime.start.p5i8(i64 1, i8 addrspace(5)* %b)
10 store volatile i8 addrspace(5)* %b, i8 addrspace(5)* addrspace(1)* undef
11 call void @llvm.lifetime.end.p5i8(i64 1, i8 addrspace(5)* %b)
21 define amdgpu_kernel void @stored_fi_to_lds(float addrspace(5)* addrspace(3)* %ptr) #0 {
22 %tmp = alloca float, addrspace(5)
23 store float 4.0, float addrspace(5)*%tmp
24 store float addrspace(5)* %tmp, float addrspace(5)* addrspace(3)* %ptr
41 define amdgpu_kernel void @stored_fi_to_lds_2_small_objects(float addrspace(5)* addrspace(3)* %ptr)…
42 %tmp0 = alloca float, addrspace(5)
43 %tmp1 = alloca float, addrspace(5)
44 store float 4.0, float addrspace(5)* %tmp0
45 store float 4.0, float addrspace(5)* %tmp1
46 store volatile float addrspace(5)* %tmp0, float addrspace(5)* addrspace(3)* %ptr
47 store volatile float addrspace(5)* %tmp1, float addrspace(5)* addrspace(3)* %ptr
58 %tmp = alloca i32 addrspace(5)*, addrspace(5)
61 …store volatile i32 addrspace(5)* inttoptr (i32 1234 to i32 addrspace(5)*), i32 addrspace(5)* addrs…
62 %bitcast = bitcast i32 addrspace(5)* addrspace(5)* %tmp to i32 addrspace(5)*
63 store volatile i32 addrspace(5)* %bitcast, i32 addrspace(5)* addrspace(5)* %tmp
77 %tmp0 = alloca [512 x i32], addrspace(5)
78 %tmp1 = alloca i32 addrspace(5)*, addrspace(5)
81 %tmp0.cast = bitcast [512 x i32] addrspace(5)* %tmp0 to i32 addrspace(5)*
82 store volatile i32 32, i32 addrspace(5)* %tmp0.cast
84 …store volatile i32 addrspace(5)* inttoptr (i32 1234 to i32 addrspace(5)*), i32 addrspace(5)* addrs…
86 %bitcast = bitcast i32 addrspace(5)* addrspace(5)* %tmp1 to i32 addrspace(5)*
87 store volatile i32 addrspace(5)* %bitcast, i32 addrspace(5)* addrspace(5)* %tmp1
102 %tmp0 = alloca i32 addrspace(5)*, addrspace(5)
103 %tmp1 = alloca i32 addrspace(5)*, addrspace(5)
104 %tmp2 = alloca i32 addrspace(5)*, addrspace(5)
105 …store volatile i32 addrspace(5)* inttoptr (i32 1234 to i32 addrspace(5)*), i32 addrspace(5)* addrs…
106 …store volatile i32 addrspace(5)* inttoptr (i32 5678 to i32 addrspace(5)*), i32 addrspace(5)* addrs…
107 …store volatile i32 addrspace(5)* inttoptr (i32 9999 to i32 addrspace(5)*), i32 addrspace(5)* addrs…
109 %bitcast1 = bitcast i32 addrspace(5)* addrspace(5)* %tmp1 to i32 addrspace(5)*
110 %bitcast2 = bitcast i32 addrspace(5)* addrspace(5)* %tmp2 to i32 addrspace(5)* ; at offset 8
112 …store volatile i32 addrspace(5)* %bitcast1, i32 addrspace(5)* addrspace(5)* %tmp2 ; store offset 4…
113 …store volatile i32 addrspace(5)* %bitcast2, i32 addrspace(5)* addrspace(5)* %tmp1 ; store offset 8…
121 define amdgpu_kernel void @stored_fi_to_global(float addrspace(5)* addrspace(1)* %ptr) #0 {
122 %tmp = alloca float, addrspace(5)
123 store float 0.0, float addrspace(5)*%tmp
124 store float addrspace(5)* %tmp, float addrspace(5)* addrspace(1)* %ptr
139 define amdgpu_kernel void @stored_fi_to_global_2_small_objects(float addrspace(5)* addrspace(1)* %p…
140 %tmp0 = alloca float, addrspace(5)
141 %tmp1 = alloca float, addrspace(5)
142 %tmp2 = alloca float, addrspace(5)
143 store volatile float 0.0, float addrspace(5)*%tmp0
144 store volatile float 0.0, float addrspace(5)*%tmp1
145 store volatile float 0.0, float addrspace(5)*%tmp2
146 store volatile float addrspace(5)* %tmp1, float addrspace(5)* addrspace(1)* %ptr
147 store volatile float addrspace(5)* %tmp2, float addrspace(5)* addrspace(1)* %ptr
166 define amdgpu_kernel void @stored_fi_to_global_huge_frame_offset(i32 addrspace(5)* addrspace(1)* %p…
167 %tmp0 = alloca [4096 x i32], addrspace(5)
168 %tmp1 = alloca [4096 x i32], addrspace(5)
169 %gep0.tmp0 = getelementptr [4096 x i32], [4096 x i32] addrspace(5)* %tmp0, i32 0, i32 0
170 store volatile i32 0, i32 addrspace(5)* %gep0.tmp0
171 %gep1.tmp0 = getelementptr [4096 x i32], [4096 x i32] addrspace(5)* %tmp0, i32 0, i32 4095
172 store volatile i32 999, i32 addrspace(5)* %gep1.tmp0
173 %gep0.tmp1 = getelementptr [4096 x i32], [4096 x i32] addrspace(5)* %tmp0, i32 0, i32 14
174 store i32 addrspace(5)* %gep0.tmp1, i32 addrspace(5)* addrspace(1)* %ptr
178 @g1 = external addrspace(1) global i32 addrspace(5)*
189 define amdgpu_kernel void @cannot_select_assertzext_valuetype(i32 addrspace(1)* %out, i32 %idx) #0 {
191 %b = alloca i32, align 4, addrspace(5)
192 %tmp1 = load volatile i32 addrspace(5)*, i32 addrspace(5)* addrspace(1)* @g1, align 4
193 %arrayidx = getelementptr inbounds i32, i32 addrspace(5)* %tmp1, i32 %idx
194 %tmp2 = load i32, i32 addrspace(5)* %arrayidx, align 4
195 store volatile i32 addrspace(5)* %b, i32 addrspace(5)* addrspace(1)* undef
199 declare void @llvm.lifetime.start.p5i8(i64, i8 addrspace(5)* nocapture) #1
200 declare void @llvm.lifetime.end.p5i8(i64, i8 addrspace(5)* nocapture) #1