Lines Matching refs:affine_map

4 // CHECK-NOT: #map{{[0-9]+}} = affine_map<(d0, d1) -> (d0, d1)>
5 #map0 = affine_map<(i, j) -> (i, j)>
7 // CHECK-NOT: #map{{[0-9]+}} = affine_map<(d0, d1)[s0] -> (d0, d1)>
8 #map1 = affine_map<(i, j)[s0] -> (i, j)>
10 // CHECK: #map{{[0-9]+}} = affine_map<() -> (0)>
13 #map2 = affine_map<() -> (0)>
18 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1) -> (d0 + 1, d1 * 4 + 2)>
19 #map3 = affine_map<(i, j) -> (i+1, 4*j + 2)>
21 #map3a = affine_map<(i, j) -> (1+i, 4*j + 2)>
22 #map3b = affine_map<(i, j) -> (2 + 3 - 2*2 + i, 4*j + 2)>
23 #map3c = affine_map<(i, j) -> (i +1 + 0, 4*j + 2)>
24 #map3d = affine_map<(i, j) -> (i + 3 + 2 - 4, 4*j + 2)>
25 #map3e = affine_map<(i, j) -> (1*i+3*2-2*2-1, 4*j + 2)>
26 #map3f = affine_map<(i, j) -> (i + 1, 4*j*1 + 2)>
27 #map3g = affine_map<(i, j) -> (i + 1, 2*2*j + 2)>
28 #map3h = affine_map<(i, j) -> (i + 1, 2*j*2 + 2)>
29 #map3i = affine_map<(i, j) -> (i + 1, j*2*2 + 2)>
30 #map3j = affine_map<(i, j) -> (i + 1, j*1*4 + 2)>
31 #map3k = affine_map<(i, j) -> (i + 1, j*4*1 + 2)>
36 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1) -> (d1 - d0 + (d0 - d1 + 1) * 2 + d1 - 1, d1 * 4 + 2…
37 #map3l = affine_map<(i, j) -> ((j - i) + 2*(i - j + 1) + j - 1 + 0, j + j + 1 + j + j + 1)>
39 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1) -> (d0 + 2, d1)>
40 #map4 = affine_map<(i, j) -> (3+3-2*2+i, j)>
42 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0] -> (d0 + s0, d1)>
43 #map5 = affine_map<(i, j)[s0] -> (i + s0, j)>
45 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0] -> (d0 + s0, d1 + 5)>
46 #map6 = affine_map<(i, j)[s0] -> (i + s0, j + 5)>
48 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0] -> (d0 + d1 + s0, d1)>
49 #map7 = affine_map<(i, j)[s0] -> (i + j + s0, j)>
51 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0] -> (d0 + d1 + s0 + 5, d1)>
52 #map8 = affine_map<(i, j)[s0] -> (5 + i + j + s0, j)>
54 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0] -> (d0 + d1 + 5, d1)>
55 #map9 = affine_map<(i, j)[s0] -> ((i + j) + 5, j)>
57 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0] -> (d0 + d1 + 5, d1)>
58 #map10 = affine_map<(i, j)[s0] -> (i + (j + 5), j)>
60 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0] -> (d0 * 2, d1 * 3)>
61 #map11 = affine_map<(i, j)[s0] -> (2*i, 3*j)>
63 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0] -> (d0 + (d1 + s0 * 3) * 5 + 12, d1)>
64 #map12 = affine_map<(i, j)[s0] -> (i + 2*6 + 5*(j+s0*3), j)>
66 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0] -> (d0 * 5 + d1, d1)>
67 #map13 = affine_map<(i, j)[s0] -> (5*i + j, j)>
69 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0] -> (d0 + d1, d1)>
70 #map14 = affine_map<(i, j)[s0] -> ((i + j), (j))>
72 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0] -> (d0 + d1 + 7, d1 + 3)>
73 #map15 = affine_map<(i, j)[s0] -> ((i + j + 2) + 5, (j)+3)>
75 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0] -> (d0, 0)>
76 #map16 = affine_map<(i, j)[s1] -> (i, 0)>
78 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0] -> (d0, d1 * s0)>
79 #map17 = affine_map<(i, j)[s0] -> (i, s0*j)>
81 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1) -> (d0, d0 * 3 + d1)>
82 #map19 = affine_map<(i, j) -> (i, 3*i + j)>
84 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1) -> (d0, d0 + d1 * 3)>
85 #map20 = affine_map<(i, j) -> (i, i + 3*j)>
87 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0] -> (d0, d0 * ((s0 * s0) * 9) + 3)>
88 #map18 = affine_map<(i, j)[N] -> (i, 2 + N*N*9*i + 1)>
90 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1) -> (1, d0 + d1 * 3 + 5)>
91 #map21 = affine_map<(i, j) -> (1, i + 3*j + 5)>
93 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0] -> (s0 * 5, d0 + d1 * 3 + d0 * 5)>
94 #map22 = affine_map<(i, j)[s0] -> (5*s0, i + 3*j + 5*i)>
96 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0, s1] -> (d0 * (s0 * s1), d1)>
97 #map23 = affine_map<(i, j)[s0, s1] -> (i*(s0*s1), j)>
99 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0, s1] -> (d0, d1 mod 5)>
100 #map24 = affine_map<(i, j)[s0, s1] -> (i, j mod 5)>
102 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0, s1] -> (d0, d1 floordiv 5)>
103 #map25 = affine_map<(i, j)[s0, s1] -> (i, j floordiv 5)>
105 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0, s1] -> (d0, d1 ceildiv 5)>
106 #map26 = affine_map<(i, j)[s0, s1] -> (i, j ceildiv 5)>
108 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0, s1] -> (d0, d0 - d1 - 5)>
109 #map29 = affine_map<(i, j)[s0, s1] -> (i, i - j - 5)>
111 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0, s1] -> (d0, d0 - d1 * s1 + 2)>
112 #map30 = affine_map<(i, j)[M, N] -> (i, i - N*j + 2)>
114 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0, s1] -> (d0 * -5, d1 * -3, -2, -(d0 + d1), -s0)>
115 #map32 = affine_map<(i, j)[s0, s1] -> (-5*i, -3*j, -2, -1*(i+j), -1*s0)>
117 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1) -> (-4, -d0)>
118 #map33 = affine_map<(i, j) -> (-2+-5-(-3), -1*i)>
120 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0, s1] -> (d0, d1 floordiv s0, d1 mod s0)>
121 #map34 = affine_map<(i, j)[s0, s1] -> (i, j floordiv s0, j mod s0)>
123 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1, d2)[s0, s1, s2] -> ((d0 * s1) * s2 + d1 * s1 + d2)>
124 #map35 = affine_map<(i, j, k)[s0, s1, s2] -> (i*s1*s2 + j*s1 + k)>
127 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1) -> (8, 4, 1, 3, 2, 4)>
128 #map36 = affine_map<(i, j) -> (5+3, 2*2, 8-7, 100 floordiv 32, 5 mod 3, 10 ceildiv 3)>
129 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1) -> (4, 11, 512, 15)>
130 #map37 = affine_map<(i, j) -> (5 mod 3 + 2, 5*3 - 4, 128 * (500 ceildiv 128), 40 floordiv 7 * 3)>
132 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1) -> (d0 * 2 + 1, d1 + 2)>
133 #map38 = affine_map<(i, j) -> (1 + i*2, 2 + j)>
135 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0, s1] -> (d0 * s0, d0 + s0, d0 + 2, d1 * 2, s1 * 2…
136 #map39 = affine_map<(i, j)[M, N] -> (i*M, M + i, 2+i, j*2, N*2, 2 + M)>
138 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0] -> ((d0 * 5) floordiv 4, (d1 ceildiv 7) mod s0)>
139 #map43 = affine_map<(i, j) [s0] -> ( i * 5 floordiv 4, j ceildiv 7 mod s0)>
141 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1) -> (d0 - d1 * 2, (d1 * 6) floordiv 4)>
142 #map44 = affine_map<(i, j) -> (i - 2*j, j * 6 floordiv 4)>
145 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1, d2)[s0] -> (d0 + d1 + d2 + 1, d2 + d1, (d0 * s0) * 8…
146 #map45 = affine_map<(i, j, k) [N] -> (1 + i + 3 + j - 3 + k, k + 5 + j - 5, 2*i*4*N)>
148 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1, d2) -> (0, d1, d0 * 2, 0)>
149 #map46 = affine_map<(i, j, k) -> (i*0, 1*j, i * 128 floordiv 64, j * 0 floordiv 64)>
151 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1, d2) -> (d0, d0 * 4, 0, 0, 0)>
152 #map47 = affine_map<(i, j, k) -> (i * 64 ceildiv 64, i * 512 ceildiv 128, 4 * j mod 4, 4*j*4 mod 8,…
156 #map48 = affine_map<(i, j, k) -> (i * 64 floordiv 64, i * 512 floordiv 128, 4 * j mod 4, 4*j*4 mod …
159 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0] -> (0, 0, 0, 1)>
160 #map49 = affine_map<(i, j)[s0] -> ( (i * 4 + 8) mod 4, 32 * j * s0 * 8 mod 256, (4*i + (j * (s0 * 2…
163 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1)[s0] -> (d0 * 2 + 1, d1 + s0)>
164 #map50 = affine_map<(i, j)[s0] -> ( (i * 2 + 1) ceildiv 1, (j + s0) floordiv 1)>
167 // CHECK: #map{{[0-9]+}} = affine_map<(d0) -> (-2, 1, -1)>
168 #map51 = affine_map<(i) -> (-5 floordiv 3, -5 mod 3, -5 ceildiv 3)>
171 // CHECK: #map{{[0-9]+}} = affine_map<(d0) -> (d0 * 16 - (d0 + 1) + 15)>
172 #map52 = affine_map<(d0) -> (16*d0 + ((d0 + 1) * -1) + 15)>
174 // CHECK: #map{{[0-9]+}} = affine_map<(d0) -> (d0 - (d0 + 1))>
175 #map53 = affine_map<(d0) -> (d0 - (d0 + 1))>
177 // CHECK: #map{{[0-9]+}} = affine_map<(d0)[s0] -> ((-s0) floordiv 4, d0 floordiv -1)>
178 #map54 = affine_map<(d0)[s0] -> (-s0 floordiv 4, d0 floordiv -1)>
180 // CHECK: #map{{[0-9]+}} = affine_map<() -> ()>
181 #map55 = affine_map<() -> ()>
183 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1) -> (d0, d0 * 2 + d1 * 4 + 2, 1, 2, (d0 * 4) mod 8)>
184 #map56 = affine_map<(d0, d1) -> ((4*d0 + 2) floordiv 4, (4*d0 + 8*d1 + 5) floordiv 2, (2*d0 + 4*d1 …
186 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1) -> (d1, d0, 0)>
187 #map57 = affine_map<(d0, d1) -> (d0 - d0 + d1, -d0 + d0 + d0, (1 + d0 + d1 floordiv 4) - (d0 + d1 f…
189 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1) -> (d0 * 3, (d0 + d1) * 2, d0 mod 2)>
190 #map58 = affine_map<(d0, d1) -> (4*d0 - 2*d0 + d0, (d0 + d1) + (d0 + d1), 2 * (d0 mod 2) - d0 mod 2…