Lines Matching refs:addrspace

10 define void @test_2d_rd_1_0(%opencl.image2d_t addrspace(1)* %in, ; read_only
11 i32 addrspace(1)* %out) {
14 %opencl.image2d_t addrspace(1)* %in) #0
15 store i32 %0, i32 addrspace(1)* %out
24 define void @test_3d_rd_1_0(%opencl.image3d_t addrspace(1)* %in, ; read_only
25 i32 addrspace(1)* %out) {
28 %opencl.image3d_t addrspace(1)* %in) #0
29 store i32 %0, i32 addrspace(1)* %out
40 define void @test_2d_wr_1_0(%opencl.image2d_t addrspace(1)* %in, ; write_only
41 i32 addrspace(1)* %out) {
44 %opencl.image2d_t addrspace(1)* %in) #0
45 store i32 %0, i32 addrspace(1)* %out
54 define void @test_3d_wr_1_0(%opencl.image3d_t addrspace(1)* %in, ; write_only
55 i32 addrspace(1)* %out) {
58 %opencl.image3d_t addrspace(1)* %in) #0
59 store i32 %0, i32 addrspace(1)* %out
70 define void @test_2d_rd_2_0(%opencl.image2d_t addrspace(1)* %in1, ; read_only
71 %opencl.image2d_t addrspace(1)* %in2, ; read_only
72 i32 addrspace(1)* %out) {
75 %opencl.image2d_t addrspace(1)* %in1) #0
76 store i32 %0, i32 addrspace(1)* %out
85 define void @test_2d_rd_2_1(%opencl.image2d_t addrspace(1)* %in1, ; read_only
86 %opencl.image2d_t addrspace(1)* %in2, ; read_only
87 i32 addrspace(1)* %out) {
90 %opencl.image2d_t addrspace(1)* %in2) #0
91 store i32 %0, i32 addrspace(1)* %out
100 define void @test_3d_rd_2_0(%opencl.image3d_t addrspace(1)* %in1, ; read_only
101 %opencl.image3d_t addrspace(1)* %in2, ; read_only
102 i32 addrspace(1)* %out) {
105 %opencl.image3d_t addrspace(1)* %in1) #0
106 store i32 %0, i32 addrspace(1)* %out
115 define void @test_3d_rd_2_1(%opencl.image3d_t addrspace(1)* %in1, ; read_only
116 %opencl.image3d_t addrspace(1)* %in2, ; read_only
117 i32 addrspace(1)* %out) {
120 %opencl.image3d_t addrspace(1)* %in2) #0
121 store i32 %0, i32 addrspace(1)* %out
132 define void @test_2d_wr_2_0(%opencl.image2d_t addrspace(1)* %in1, ; write_only
133 %opencl.image2d_t addrspace(1)* %in2, ; write_only
134 i32 addrspace(1)* %out) {
137 %opencl.image2d_t addrspace(1)* %in1) #0
138 store i32 %0, i32 addrspace(1)* %out
147 define void @test_2d_wr_2_1(%opencl.image2d_t addrspace(1)* %in1, ; write_only
148 %opencl.image2d_t addrspace(1)* %in2, ; write_only
149 i32 addrspace(1)* %out) {
152 %opencl.image2d_t addrspace(1)* %in2) #0
153 store i32 %0, i32 addrspace(1)* %out
162 define void @test_3d_wr_2_0(%opencl.image3d_t addrspace(1)* %in1, ; write_only
163 %opencl.image3d_t addrspace(1)* %in2, ; write_only
164 i32 addrspace(1)* %out) {
167 %opencl.image3d_t addrspace(1)* %in1) #0
168 store i32 %0, i32 addrspace(1)* %out
177 define void @test_3d_wr_2_1(%opencl.image3d_t addrspace(1)* %in1, ; write_only
178 %opencl.image3d_t addrspace(1)* %in2, ; write_only
179 i32 addrspace(1)* %out) {
182 %opencl.image3d_t addrspace(1)* %in2) #0
183 store i32 %0, i32 addrspace(1)* %out
194 define void @test_2d_rd_3_0(%opencl.image2d_t addrspace(1)* %in1, ; read_only
195 %opencl.image3d_t addrspace(1)* %in2, ; read_only
196 %opencl.image2d_t addrspace(1)* %in3, ; read_only
197 i32 addrspace(1)* %out) {
200 %opencl.image2d_t addrspace(1)* %in3) #0
201 store i32 %0, i32 addrspace(1)* %out
211 define void @test_3d_rd_3_0(%opencl.image3d_t addrspace(1)* %in1, ; read_only
212 %opencl.image2d_t addrspace(1)* %in2, ; read_only
213 %opencl.image3d_t addrspace(1)* %in3, ; read_only
214 i32 addrspace(1)* %out) {
217 %opencl.image3d_t addrspace(1)* %in3) #0
218 store i32 %0, i32 addrspace(1)* %out
229 define void @test_2d_wr_3_0(%opencl.image2d_t addrspace(1)* %in1, ; write_only
230 %opencl.image3d_t addrspace(1)* %in2, ; write_only
231 %opencl.image2d_t addrspace(1)* %in3, ; write_only
232 i32 addrspace(1)* %out) {
235 %opencl.image2d_t addrspace(1)* %in3) #0
236 store i32 %0, i32 addrspace(1)* %out
246 define void @test_3d_wr_3_0(%opencl.image3d_t addrspace(1)* %in1, ; write_only
247 %opencl.image2d_t addrspace(1)* %in2, ; write_only
248 %opencl.image3d_t addrspace(1)* %in3, ; write_only
249 i32 addrspace(1)* %out) {
252 %opencl.image3d_t addrspace(1)* %in3) #0
253 store i32 %0, i32 addrspace(1)* %out
264 define void @test_2d_mix_3_0(%opencl.image2d_t addrspace(1)* %in1, ; write_only
265 %opencl.image3d_t addrspace(1)* %in2, ; read_only
266 %opencl.image2d_t addrspace(1)* %in3, ; read_only
267 i32 addrspace(1)* %out) {
270 %opencl.image2d_t addrspace(1)* %in3) #0
271 store i32 %0, i32 addrspace(1)* %out
280 define void @test_3d_mix_3_0(%opencl.image3d_t addrspace(1)* %in1, ; write_only
281 %opencl.image2d_t addrspace(1)* %in2, ; read_only
282 %opencl.image3d_t addrspace(1)* %in3, ; read_only
283 i32 addrspace(1)* %out) {
286 %opencl.image3d_t addrspace(1)* %in3) #0
287 store i32 %0, i32 addrspace(1)* %out
296 define void @test_2d_mix_3_1(%opencl.image2d_t addrspace(1)* %in1, ; write_only
297 %opencl.image3d_t addrspace(1)* %in2, ; read_only
298 %opencl.image2d_t addrspace(1)* %in3, ; write_only
299 i32 addrspace(1)* %out) {
302 %opencl.image2d_t addrspace(1)* %in3) #0
303 store i32 %0, i32 addrspace(1)* %out
312 define void @test_3d_mix_3_1(%opencl.image3d_t addrspace(1)* %in1, ; write_only
313 %opencl.image2d_t addrspace(1)* %in2, ; read_only
314 %opencl.image3d_t addrspace(1)* %in3, ; write_only
315 i32 addrspace(1)* %out) {
318 %opencl.image3d_t addrspace(1)* %in3) #0
319 store i32 %0, i32 addrspace(1)* %out
327 declare i32 @llvm.OpenCL.image.get.resource.id.2d(%opencl.image2d_t addrspace(1)*) #0
328 declare i32 @llvm.OpenCL.image.get.resource.id.3d(%opencl.image3d_t addrspace(1)*) #0
334 !0 = !{void (%opencl.image2d_t addrspace(1)*, i32 addrspace(1)*)* @test_2d_rd_1_0,
336 !1 = !{void (%opencl.image3d_t addrspace(1)*, i32 addrspace(1)*)* @test_3d_rd_1_0,
338 !2 = !{void (%opencl.image2d_t addrspace(1)*, i32 addrspace(1)*)* @test_2d_wr_1_0,
340 !3 = !{void (%opencl.image3d_t addrspace(1)*, i32 addrspace(1)*)* @test_3d_wr_1_0,
351 !4 = !{void (%opencl.image2d_t addrspace(1)*, %opencl.image2d_t addrspace(1)*,
352 i32 addrspace(1)*)* @test_2d_rd_2_0, !112, !122, !132, !142, !152}
353 !5 = !{void (%opencl.image2d_t addrspace(1)*, %opencl.image2d_t addrspace(1)*,
354 i32 addrspace(1)*)* @test_2d_rd_2_1, !112, !122, !132, !142, !152}
355 !6 = !{void (%opencl.image3d_t addrspace(1)*, %opencl.image3d_t addrspace(1)*,
356 i32 addrspace(1)*)* @test_3d_rd_2_0, !112, !122, !133, !143, !152}
357 !7 = !{void (%opencl.image3d_t addrspace(1)*, %opencl.image3d_t addrspace(1)*,
358 i32 addrspace(1)*)* @test_3d_rd_2_1, !112, !122, !133, !143, !152}
359 !8 = !{void (%opencl.image2d_t addrspace(1)*, %opencl.image2d_t addrspace(1)*,
360 i32 addrspace(1)*)* @test_2d_wr_2_0, !112, !123, !132, !142, !152}
361 !9 = !{void (%opencl.image2d_t addrspace(1)*, %opencl.image2d_t addrspace(1)*,
362 i32 addrspace(1)*)* @test_2d_wr_2_1, !112, !123, !132, !142, !152}
363 !10 = !{void (%opencl.image3d_t addrspace(1)*, %opencl.image3d_t addrspace(1)*,
364 i32 addrspace(1)*)* @test_3d_wr_2_0, !112, !123, !133, !143, !152}
365 !11 = !{void (%opencl.image3d_t addrspace(1)*, %opencl.image3d_t addrspace(1)*,
366 i32 addrspace(1)*)* @test_3d_wr_2_1, !112, !123, !133, !143, !152}
376 !12 = !{void (%opencl.image2d_t addrspace(1)*, %opencl.image3d_t addrspace(1)*,
377 %opencl.image2d_t addrspace(1)*, i32 addrspace(1)*)* @test_2d_rd_3_0,
379 !13 = !{void (%opencl.image3d_t addrspace(1)*, %opencl.image2d_t addrspace(1)*,
380 %opencl.image3d_t addrspace(1)*, i32 addrspace(1)*)* @test_3d_rd_3_0,
382 !14 = !{void (%opencl.image2d_t addrspace(1)*, %opencl.image3d_t addrspace(1)*,
383 %opencl.image2d_t addrspace(1)*, i32 addrspace(1)*)* @test_2d_wr_3_0,
385 !15 = !{void (%opencl.image3d_t addrspace(1)*, %opencl.image2d_t addrspace(1)*,
386 %opencl.image3d_t addrspace(1)*, i32 addrspace(1)*)* @test_3d_wr_3_0,
388 !16 = !{void (%opencl.image2d_t addrspace(1)*, %opencl.image3d_t addrspace(1)*,
389 %opencl.image2d_t addrspace(1)*, i32 addrspace(1)*)* @test_2d_mix_3_0,
391 !17 = !{void (%opencl.image3d_t addrspace(1)*, %opencl.image2d_t addrspace(1)*,
392 %opencl.image3d_t addrspace(1)*, i32 addrspace(1)*)* @test_3d_mix_3_0,
394 !18 = !{void (%opencl.image2d_t addrspace(1)*, %opencl.image3d_t addrspace(1)*,
395 %opencl.image2d_t addrspace(1)*, i32 addrspace(1)*)* @test_2d_mix_3_1,
397 !19 = !{void (%opencl.image3d_t addrspace(1)*, %opencl.image2d_t addrspace(1)*,
398 %opencl.image3d_t addrspace(1)*, i32 addrspace(1)*)* @test_3d_mix_3_1,