Lines Matching refs:addrspace
21 define void @store_flat_i32(i32 addrspace(1)* %gptr, i32 %x) #0 {
22 %fptr = addrspacecast i32 addrspace(1)* %gptr to i32 addrspace(4)*
23 store i32 %x, i32 addrspace(4)* %fptr, align 4
29 define void @store_flat_i64(i64 addrspace(1)* %gptr, i64 %x) #0 {
30 %fptr = addrspacecast i64 addrspace(1)* %gptr to i64 addrspace(4)*
31 store i64 %x, i64 addrspace(4)* %fptr, align 8
37 define void @store_flat_v4i32(<4 x i32> addrspace(1)* %gptr, <4 x i32> %x) #0 {
38 %fptr = addrspacecast <4 x i32> addrspace(1)* %gptr to <4 x i32> addrspace(4)*
39 store <4 x i32> %x, <4 x i32> addrspace(4)* %fptr, align 16
45 define void @store_flat_trunc_i16(i16 addrspace(1)* %gptr, i32 %x) #0 {
46 %fptr = addrspacecast i16 addrspace(1)* %gptr to i16 addrspace(4)*
48 store i16 %y, i16 addrspace(4)* %fptr, align 2
54 define void @store_flat_trunc_i8(i8 addrspace(1)* %gptr, i32 %x) #0 {
55 %fptr = addrspacecast i8 addrspace(1)* %gptr to i8 addrspace(4)*
57 store i8 %y, i8 addrspace(4)* %fptr, align 2
65 define void @load_flat_i32(i32 addrspace(1)* noalias %out, i32 addrspace(1)* noalias %gptr) #0 {
66 %fptr = addrspacecast i32 addrspace(1)* %gptr to i32 addrspace(4)*
67 %fload = load i32, i32 addrspace(4)* %fptr, align 4
68 store i32 %fload, i32 addrspace(1)* %out, align 4
74 define void @load_flat_i64(i64 addrspace(1)* noalias %out, i64 addrspace(1)* noalias %gptr) #0 {
75 %fptr = addrspacecast i64 addrspace(1)* %gptr to i64 addrspace(4)*
76 %fload = load i64, i64 addrspace(4)* %fptr, align 4
77 store i64 %fload, i64 addrspace(1)* %out, align 8
83 define void @load_flat_v4i32(<4 x i32> addrspace(1)* noalias %out, <4 x i32> addrspace(1)* noalias …
84 %fptr = addrspacecast <4 x i32> addrspace(1)* %gptr to <4 x i32> addrspace(4)*
85 %fload = load <4 x i32>, <4 x i32> addrspace(4)* %fptr, align 4
86 store <4 x i32> %fload, <4 x i32> addrspace(1)* %out, align 8
92 define void @sextload_flat_i8(i32 addrspace(1)* noalias %out, i8 addrspace(1)* noalias %gptr) #0 {
93 %fptr = addrspacecast i8 addrspace(1)* %gptr to i8 addrspace(4)*
94 %fload = load i8, i8 addrspace(4)* %fptr, align 4
96 store i32 %ext, i32 addrspace(1)* %out, align 4
102 define void @zextload_flat_i8(i32 addrspace(1)* noalias %out, i8 addrspace(1)* noalias %gptr) #0 {
103 %fptr = addrspacecast i8 addrspace(1)* %gptr to i8 addrspace(4)*
104 %fload = load i8, i8 addrspace(4)* %fptr, align 4
106 store i32 %ext, i32 addrspace(1)* %out, align 4
112 define void @sextload_flat_i16(i32 addrspace(1)* noalias %out, i16 addrspace(1)* noalias %gptr) #0 {
113 %fptr = addrspacecast i16 addrspace(1)* %gptr to i16 addrspace(4)*
114 %fload = load i16, i16 addrspace(4)* %fptr, align 4
116 store i32 %ext, i32 addrspace(1)* %out, align 4
122 define void @zextload_flat_i16(i32 addrspace(1)* noalias %out, i16 addrspace(1)* noalias %gptr) #0 {
123 %fptr = addrspacecast i16 addrspace(1)* %gptr to i16 addrspace(4)*
124 %fload = load i16, i16 addrspace(4)* %fptr, align 4
126 store i32 %ext, i32 addrspace(1)* %out, align 4