Lines Matching refs:UNROLL
2 …oll=true})" -split-input-file -allow-unregistered-dialect | FileCheck %s --check-prefix=FULL-UNROLL
213 // FULL-UNROLL-DAG: #[[$MAP1:.*]] = affine_map<()[s0] -> (s0 + 1)>
214 // FULL-UNROLL-DAG: #[[$MAP2:.*]] = affine_map<()[s0] -> (s0 + 2)>
221 // FULL-UNROLL-LABEL: transfer_read_progressive(
222 // FULL-UNROLL-SAME: %[[A:[a-zA-Z0-9]+]]: memref<?x?xf32>,
223 // FULL-UNROLL-SAME: %[[base:[a-zA-Z0-9]+]]: index
247 // FULL-UNROLL-DAG: %[[C7:.*]] = arith.constant 7.000000e+00 : f32
248 // FULL-UNROLL-DAG: %[[VEC0:.*]] = arith.constant dense<7.000000e+00> : vector<3x15xf32>
249 // FULL-UNROLL-DAG: %[[C0:.*]] = arith.constant 0 : index
250 // FULL-UNROLL: %[[DIM:.*]] = memref.dim %[[A]], %[[C0]] : memref<?x?xf32>
251 // FULL-UNROLL: cmpi sgt, %[[DIM]], %[[base]] : index
252 // FULL-UNROLL: %[[VEC1:.*]] = scf.if %{{.*}} -> (vector<3x15xf32>) {
253 …// FULL-UNROLL: vector.transfer_read %[[A]][%[[base]], %[[base]]], %[[C7]] : memref<?x?xf32>, ve…
254 // FULL-UNROLL: vector.insert %{{.*}}, %[[VEC0]] [0] : vector<15xf32> into vector<3x15xf32>
255 // FULL-UNROLL: scf.yield %{{.*}} : vector<3x15xf32>
256 // FULL-UNROLL: } else {
257 // FULL-UNROLL: scf.yield %{{.*}} : vector<3x15xf32>
258 // FULL-UNROLL: }
259 // FULL-UNROLL: affine.apply #[[$MAP1]]()[%[[base]]]
260 // FULL-UNROLL: cmpi sgt, %{{.*}}, %{{.*}} : index
261 // FULL-UNROLL: %[[VEC2:.*]] = scf.if %{{.*}} -> (vector<3x15xf32>) {
262 …// FULL-UNROLL: vector.transfer_read %[[A]][%{{.*}}, %[[base]]], %[[C7]] : memref<?x?xf32>, vect…
263 // FULL-UNROLL: vector.insert %{{.*}}, %[[VEC1]] [1] : vector<15xf32> into vector<3x15xf32>
264 // FULL-UNROLL: scf.yield %{{.*}} : vector<3x15xf32>
265 // FULL-UNROLL: } else {
266 // FULL-UNROLL: scf.yield %{{.*}} : vector<3x15xf32>
267 // FULL-UNROLL: }
268 // FULL-UNROLL: affine.apply #[[$MAP2]]()[%[[base]]]
269 // FULL-UNROLL: cmpi sgt, %{{.*}}, %{{.*}} : index
270 // FULL-UNROLL: %[[VEC3:.*]] = scf.if %{{.*}} -> (vector<3x15xf32>) {
271 …// FULL-UNROLL: vector.transfer_read %[[A]][%{{.*}}, %[[base]]], %[[C7]] : memref<?x?xf32>, vect…
272 // FULL-UNROLL: vector.insert %{{.*}}, %[[VEC2]] [2] : vector<15xf32> into vector<3x15xf32>
273 // FULL-UNROLL: scf.yield %{{.*}} : vector<3x15xf32>
274 // FULL-UNROLL: } else {
275 // FULL-UNROLL: scf.yield %{{.*}} : vector<3x15xf32>
276 // FULL-UNROLL: }
288 // FULL-UNROLL-DAG: #[[$MAP1:.*]] = affine_map<()[s0] -> (s0 + 1)>
289 // FULL-UNROLL-DAG: #[[$MAP2:.*]] = affine_map<()[s0] -> (s0 + 2)>
295 // FULL-UNROLL-LABEL: transfer_write_progressive(
296 // FULL-UNROLL-SAME: %[[A:[a-zA-Z0-9]+]]: memref<?x?xf32>,
297 // FULL-UNROLL-SAME: %[[base:[a-zA-Z0-9]+]]: index,
298 // FULL-UNROLL-SAME: %[[vec:[a-zA-Z0-9]+]]: vector<3x15xf32>
316 // FULL-UNROLL: %[[C0:.*]] = arith.constant 0 : index
317 // FULL-UNROLL: %[[DIM:.*]] = memref.dim %[[A]], %[[C0]] : memref<?x?xf32>
318 // FULL-UNROLL: %[[CMP0:.*]] = arith.cmpi sgt, %[[DIM]], %[[base]] : index
319 // FULL-UNROLL: scf.if %[[CMP0]] {
320 // FULL-UNROLL: %[[V0:.*]] = vector.extract %[[vec]][0] : vector<3x15xf32>
321 …// FULL-UNROLL: vector.transfer_write %[[V0]], %[[A]][%[[base]], %[[base]]] : vector<15xf32>, me…
322 // FULL-UNROLL: }
323 // FULL-UNROLL: %[[I1:.*]] = affine.apply #[[$MAP1]]()[%[[base]]]
324 // FULL-UNROLL: %[[CMP1:.*]] = arith.cmpi sgt, %{{.*}}, %[[I1]] : index
325 // FULL-UNROLL: scf.if %[[CMP1]] {
326 // FULL-UNROLL: %[[V1:.*]] = vector.extract %[[vec]][1] : vector<3x15xf32>
327 …// FULL-UNROLL: vector.transfer_write %[[V1]], %[[A]][%{{.*}}, %[[base]]] : vector<15xf32>, memr…
328 // FULL-UNROLL: }
329 // FULL-UNROLL: %[[I2:.*]] = affine.apply #[[$MAP2]]()[%[[base]]]
330 // FULL-UNROLL: %[[CMP2:.*]] = arith.cmpi sgt, %{{.*}}, %[[I2]] : index
331 // FULL-UNROLL: scf.if %[[CMP2]] {
332 // FULL-UNROLL: %[[V2:.*]] = vector.extract %[[vec]][2] : vector<3x15xf32>
333 …// FULL-UNROLL: vector.transfer_write %[[V2]], %[[A]][%{{.*}}, %[[base]]] : vector<15xf32>, memr…
334 // FULL-UNROLL: }
345 // FULL-UNROLL-DAG: #[[$MAP1:.*]] = affine_map<()[s0] -> (s0 + 1)>
346 // FULL-UNROLL-DAG: #[[$MAP2:.*]] = affine_map<()[s0] -> (s0 + 2)>
352 // FULL-UNROLL-LABEL: transfer_write_progressive_inbounds(
353 // FULL-UNROLL-SAME: %[[A:[a-zA-Z0-9]+]]: memref<?x?xf32>,
354 // FULL-UNROLL-SAME: %[[base:[a-zA-Z0-9]+]]: index,
355 // FULL-UNROLL-SAME: %[[vec:[a-zA-Z0-9]+]]: vector<3x15xf32>
368 // FULL-UNROLL: %[[VEC0:.*]] = vector.extract %[[vec]][0] : vector<3x15xf32>
369 …// FULL-UNROLL: vector.transfer_write %[[VEC0]], %[[A]][%[[base]], %[[base]]] {in_bounds = [true]}…
370 // FULL-UNROLL: %[[I1:.*]] = affine.apply #[[$MAP1]]()[%[[base]]]
371 // FULL-UNROLL: %[[VEC1:.*]] = vector.extract %[[vec]][1] : vector<3x15xf32>
372 …// FULL-UNROLL: vector.transfer_write %2, %[[A]][%[[I1]], %[[base]]] {in_bounds = [true]} : vector…
373 // FULL-UNROLL: %[[I2:.*]] = affine.apply #[[$MAP2]]()[%[[base]]]
374 // FULL-UNROLL: %[[VEC2:.*]] = vector.extract %[[vec]][2] : vector<3x15xf32>
375 …// FULL-UNROLL: vector.transfer_write %[[VEC2:.*]], %[[A]][%[[I2]], %[[base]]] {in_bounds = [true]…
383 // FULL-UNROLL-LABEL: transfer_read_simple
387 // FULL-UNROLL-DAG: %[[VC0:.*]] = arith.constant dense<0.000000e+00> : vector<2x2xf32>
388 // FULL-UNROLL-DAG: %[[C0:.*]] = arith.constant 0 : index
389 // FULL-UNROLL-DAG: %[[C1:.*]] = arith.constant 1 : index
390 // FULL-UNROLL: %[[V0:.*]] = vector.transfer_read %{{.*}}[%[[C0]], %[[C0]]]
391 …// FULL-UNROLL: %[[RES0:.*]] = vector.insert %[[V0]], %[[VC0]] [0] : vector<2xf32> into vector<2x2…
392 // FULL-UNROLL: %[[V1:.*]] = vector.transfer_read %{{.*}}[%[[C1]], %[[C0]]]
393 …// FULL-UNROLL: %[[RES1:.*]] = vector.insert %[[V1]], %[[RES0]] [1] : vector<2xf32> into vector<2x…