Lines Matching refs:addrspace

15 define void @load_i8(i32 addrspace(1)* %out, i8 addrspace(1)* %in) {
16 %1 = load i8, i8 addrspace(1)* %in
18 store i32 %2, i32 addrspace(1)* %out
27 define void @load_i8_sext(i32 addrspace(1)* %out, i8 addrspace(1)* %in) {
29 %0 = load i8, i8 addrspace(1)* %in
31 store i32 %1, i32 addrspace(1)* %out
40 define void @load_v2i8(<2 x i32> addrspace(1)* %out, <2 x i8> addrspace(1)* %in) {
42 %0 = load <2 x i8>, <2 x i8> addrspace(1)* %in
44 store <2 x i32> %1, <2 x i32> addrspace(1)* %out
58 define void @load_v2i8_sext(<2 x i32> addrspace(1)* %out, <2 x i8> addrspace(1)* %in) {
60 %0 = load <2 x i8>, <2 x i8> addrspace(1)* %in
62 store <2 x i32> %1, <2 x i32> addrspace(1)* %out
75 define void @load_v4i8(<4 x i32> addrspace(1)* %out, <4 x i8> addrspace(1)* %in) {
77 %0 = load <4 x i8>, <4 x i8> addrspace(1)* %in
79 store <4 x i32> %1, <4 x i32> addrspace(1)* %out
100 define void @load_v4i8_sext(<4 x i32> addrspace(1)* %out, <4 x i8> addrspace(1)* %in) {
102 %0 = load <4 x i8>, <4 x i8> addrspace(1)* %in
104 store <4 x i32> %1, <4 x i32> addrspace(1)* %out
112 define void @load_i16(i32 addrspace(1)* %out, i16 addrspace(1)* %in) {
114 %0 = load i16 , i16 addrspace(1)* %in
116 store i32 %1, i32 addrspace(1)* %out
125 define void @load_i16_sext(i32 addrspace(1)* %out, i16 addrspace(1)* %in) {
127 %0 = load i16, i16 addrspace(1)* %in
129 store i32 %1, i32 addrspace(1)* %out
138 define void @load_v2i16(<2 x i32> addrspace(1)* %out, <2 x i16> addrspace(1)* %in) {
140 %0 = load <2 x i16>, <2 x i16> addrspace(1)* %in
142 store <2 x i32> %1, <2 x i32> addrspace(1)* %out
155 define void @load_v2i16_sext(<2 x i32> addrspace(1)* %out, <2 x i16> addrspace(1)* %in) {
157 %0 = load <2 x i16>, <2 x i16> addrspace(1)* %in
159 store <2 x i32> %1, <2 x i32> addrspace(1)* %out
172 define void @load_v4i16(<4 x i32> addrspace(1)* %out, <4 x i16> addrspace(1)* %in) {
174 %0 = load <4 x i16>, <4 x i16> addrspace(1)* %in
176 store <4 x i32> %1, <4 x i32> addrspace(1)* %out
197 define void @load_v4i16_sext(<4 x i32> addrspace(1)* %out, <4 x i16> addrspace(1)* %in) {
199 %0 = load <4 x i16>, <4 x i16> addrspace(1)* %in
201 store <4 x i32> %1, <4 x i32> addrspace(1)* %out
210 define void @load_i32(i32 addrspace(1)* %out, i32 addrspace(1)* %in) {
212 %0 = load i32, i32 addrspace(1)* %in
213 store i32 %0, i32 addrspace(1)* %out
222 define void @load_f32(float addrspace(1)* %out, float addrspace(1)* %in) {
224 %0 = load float, float addrspace(1)* %in
225 store float %0, float addrspace(1)* %out
234 define void @load_v2f32(<2 x float> addrspace(1)* %out, <2 x float> addrspace(1)* %in) {
236 %0 = load <2 x float>, <2 x float> addrspace(1)* %in
237 store <2 x float> %0, <2 x float> addrspace(1)* %out
244 define void @load_i64(i64 addrspace(1)* %out, i64 addrspace(1)* %in) {
246 %0 = load i64, i64 addrspace(1)* %in
247 store i64 %0, i64 addrspace(1)* %out
258 define void @load_i64_sext(i64 addrspace(1)* %out, i32 addrspace(1)* %in) {
260 %0 = load i32, i32 addrspace(1)* %in
262 store i64 %1, i64 addrspace(1)* %out
269 define void @load_i64_zext(i64 addrspace(1)* %out, i32 addrspace(1)* %in) {
271 %0 = load i32, i32 addrspace(1)* %in
273 store i64 %1, i64 addrspace(1)* %out
283 define void @load_v8i32(<8 x i32> addrspace(1)* %out, <8 x i32> addrspace(1)* %in) {
285 %0 = load <8 x i32>, <8 x i32> addrspace(1)* %in
286 store <8 x i32> %0, <8 x i32> addrspace(1)* %out
300 define void @load_v16i32(<16 x i32> addrspace(1)* %out, <16 x i32> addrspace(1)* %in) {
302 %0 = load <16 x i32>, <16 x i32> addrspace(1)* %in
303 store <16 x i32> %0, <16 x i32> addrspace(1)* %out
317 define void @load_const_i8_sext(i32 addrspace(1)* %out, i8 addrspace(2)* %in) {
319 %0 = load i8, i8 addrspace(2)* %in
321 store i32 %1, i32 addrspace(1)* %out
329 define void @load_const_i8_aligned(i32 addrspace(1)* %out, i8 addrspace(2)* %in) {
331 %0 = load i8, i8 addrspace(2)* %in
333 store i32 %1, i32 addrspace(1)* %out
341 define void @load_const_i8_unaligned(i32 addrspace(1)* %out, i8 addrspace(2)* %in) {
343 %0 = getelementptr i8, i8 addrspace(2)* %in, i32 1
344 %1 = load i8, i8 addrspace(2)* %0
346 store i32 %2, i32 addrspace(1)* %out
356 define void @load_const_i16_sext(i32 addrspace(1)* %out, i16 addrspace(2)* %in) {
358 %0 = load i16, i16 addrspace(2)* %in
360 store i32 %1, i32 addrspace(1)* %out
368 define void @load_const_i16_aligned(i32 addrspace(1)* %out, i16 addrspace(2)* %in) {
370 %0 = load i16, i16 addrspace(2)* %in
372 store i32 %1, i32 addrspace(1)* %out
380 define void @load_const_i16_unaligned(i32 addrspace(1)* %out, i16 addrspace(2)* %in) {
382 %0 = getelementptr i16, i16 addrspace(2)* %in, i32 1
383 %1 = load i16, i16 addrspace(2)* %0
385 store i32 %2, i32 addrspace(1)* %out
394 define void @load_const_addrspace_i32(i32 addrspace(1)* %out, i32 addrspace(2)* %in) {
396 %0 = load i32, i32 addrspace(2)* %in
397 store i32 %0, i32 addrspace(1)* %out
406 define void @load_const_addrspace_f32(float addrspace(1)* %out, float addrspace(2)* %in) {
407 %1 = load float, float addrspace(2)* %in
408 store float %1, float addrspace(1)* %out
422 define void @load_i8_local(i32 addrspace(1)* %out, i8 addrspace(3)* %in) {
423 %1 = load i8, i8 addrspace(3)* %in
425 store i32 %2, i32 addrspace(1)* %out
435 define void @load_i8_sext_local(i32 addrspace(1)* %out, i8 addrspace(3)* %in) {
437 %0 = load i8, i8 addrspace(3)* %in
439 store i32 %1, i32 addrspace(1)* %out
450 define void @load_v2i8_local(<2 x i32> addrspace(1)* %out, <2 x i8> addrspace(3)* %in) {
452 %0 = load <2 x i8>, <2 x i8> addrspace(3)* %in
454 store <2 x i32> %1, <2 x i32> addrspace(1)* %out
467 define void @load_v2i8_sext_local(<2 x i32> addrspace(1)* %out, <2 x i8> addrspace(3)* %in) {
469 %0 = load <2 x i8>, <2 x i8> addrspace(3)* %in
471 store <2 x i32> %1, <2 x i32> addrspace(1)* %out
486 define void @load_v4i8_local(<4 x i32> addrspace(1)* %out, <4 x i8> addrspace(3)* %in) {
488 %0 = load <4 x i8>, <4 x i8> addrspace(3)* %in
490 store <4 x i32> %1, <4 x i32> addrspace(1)* %out
509 define void @load_v4i8_sext_local(<4 x i32> addrspace(1)* %out, <4 x i8> addrspace(3)* %in) {
511 %0 = load <4 x i8>, <4 x i8> addrspace(3)* %in
513 store <4 x i32> %1, <4 x i32> addrspace(1)* %out
523 define void @load_i16_local(i32 addrspace(1)* %out, i16 addrspace(3)* %in) {
525 %0 = load i16 , i16 addrspace(3)* %in
527 store i32 %1, i32 addrspace(1)* %out
537 define void @load_i16_sext_local(i32 addrspace(1)* %out, i16 addrspace(3)* %in) {
539 %0 = load i16, i16 addrspace(3)* %in
541 store i32 %1, i32 addrspace(1)* %out
552 define void @load_v2i16_local(<2 x i32> addrspace(1)* %out, <2 x i16> addrspace(3)* %in) {
554 %0 = load <2 x i16>, <2 x i16> addrspace(3)* %in
556 store <2 x i32> %1, <2 x i32> addrspace(1)* %out
569 define void @load_v2i16_sext_local(<2 x i32> addrspace(1)* %out, <2 x i16> addrspace(3)* %in) {
571 %0 = load <2 x i16>, <2 x i16> addrspace(3)* %in
573 store <2 x i32> %1, <2 x i32> addrspace(1)* %out
588 define void @load_v4i16_local(<4 x i32> addrspace(1)* %out, <4 x i16> addrspace(3)* %in) {
590 %0 = load <4 x i16>, <4 x i16> addrspace(3)* %in
592 store <4 x i32> %1, <4 x i32> addrspace(1)* %out
611 define void @load_v4i16_sext_local(<4 x i32> addrspace(1)* %out, <4 x i16> addrspace(3)* %in) {
613 %0 = load <4 x i16>, <4 x i16> addrspace(3)* %in
615 store <4 x i32> %1, <4 x i32> addrspace(1)* %out
625 define void @load_i32_local(i32 addrspace(1)* %out, i32 addrspace(3)* %in) {
627 %0 = load i32, i32 addrspace(3)* %in
628 store i32 %0, i32 addrspace(1)* %out
637 define void @load_f32_local(float addrspace(1)* %out, float addrspace(3)* %in) {
639 %0 = load float, float addrspace(3)* %in
640 store float %0, float addrspace(1)* %out
650 define void @load_v2f32_local(<2 x float> addrspace(1)* %out, <2 x float> addrspace(3)* %in) {
652 %0 = load <2 x float>, <2 x float> addrspace(3)* %in
653 store <2 x float> %0, <2 x float> addrspace(1)* %out
664 define void @load_i32_v2i32_local(<2 x i32> addrspace(1)* %out, i32 addrspace(3)* %in) {
665 %scalar = load i32, i32 addrspace(3)* %in
666 %tmp0 = bitcast i32 addrspace(3)* %in to <2 x i32> addrspace(3)*
667 %vec_ptr = getelementptr <2 x i32>, <2 x i32> addrspace(3)* %tmp0, i32 2
668 %vec0 = load <2 x i32>, <2 x i32> addrspace(3)* %vec_ptr, align 4
671 store <2 x i32> %vec, <2 x i32> addrspace(1)* %out
676 @lds = addrspace(3) global [512 x i32] undef, align 4
684 define void @load_i32_local_const_ptr(i32 addrspace(1)* %out, i32 addrspace(3)* %in) {
686 %tmp0 = getelementptr [512 x i32], [512 x i32] addrspace(3)* @lds, i32 0, i32 1
687 %tmp1 = load i32, i32 addrspace(3)* %tmp0
688 %tmp2 = getelementptr i32, i32 addrspace(1)* %out, i32 1
689 store i32 %tmp1, i32 addrspace(1)* %tmp2