• Home
  • Raw
  • Download

Lines Matching refs:linalg

4 // All linalg copies except the linalg.copy(%1, %9) must be removed since the
20 // CHECK: linalg.copy({{.*}}, %[[PERCENT9:.*]])
21 linalg.copy(%1, %9) : memref<?x?xf32>, memref<?x?xf32>
32 // CHECK-NOT: linalg.copy(%[[PERCENT7]], %{{.*}})
35 linalg.copy(%7, %10) : memref<?x?xf32>, memref<?x?xf32>
45 // CHECK-NOT: linalg.copy(%[[PERCENT3]], %{{.*}})
48 linalg.copy(%3, %6) : memref<?x?xf32>, memref<?x?xf32>
60 // CHECK-NOT: linalg.copy(%[[PERCENT3]], %{{.*}})
63 linalg.copy(%3, %6) : memref<?x?xf32>, memref<?x?xf32>
78 linalg.copy(%ret, %temp) : memref<5xf32>, memref<5xf32>
84 // CHECK-NOT: linalg.copy(%[[ret]], %{{.*}})
100 linalg.copy(%ret, %temp) : memref<5xf32>, memref<5xf32>
108 // CHECK-NOT: linalg.copy(%[[ret]], %{{.*}})
121 // CHECK: linalg.copy
122 linalg.copy(%ret, %temp) : memref<5xf32>, memref<5xf32>
140 // CHECK: linalg.copy
141 linalg.copy(%ret, %temp) : memref<5xf32>, memref<5xf32>
159 // In particular, linalg.generic is a memoryEffectOp between copy and dealloc.
161 // and writes, the linalg.generic with effects blocks copy removal.
170 linalg.copy(%ret, %temp) : memref<5xf32>, memref<5xf32>
171 linalg.generic {
178 linalg.yield %tmp1 : f32
186 // CHECK-NEXT: linalg.copy(%[[ret]], %[[temp]])
187 // CHECK-NEXT: linalg.generic
204 // CHECK-NOT: linalg.copy(%[[ret]], %{{.*}})
207 linalg.copy(%ret, %temp) : memref<5xf32>, memref<5xf32>
226 // CHECK-NOT: linalg.copy(%[[PERCENT0]], %{{.*}})
229 linalg.copy(%0, %temp) : memref<5xf32>, memref<5xf32>
246 // CHECK-NEXT: linalg.generic
248 // CHECK-NOT: linalg.copy(%{{.*}}, %[[RES]])
250 linalg.generic {
257 linalg.yield %tmp2 : f32
259 "linalg.copy"(%temp, %result) : (memref<2xf32>, memref<2xf32>) -> ()
276 linalg.generic {
283 linalg.yield %tmp1 : f32
285 linalg.generic {
292 linalg.yield %tmp2 : f32
294 // CHECK: linalg.copy
295 "linalg.copy"(%temp, %to) : (memref<2xf32>, memref<2xf32>) -> ()
302 // The only redundant copy is linalg.copy(%4, %5)
311 // CHECK: linalg.copy
312 linalg.copy(%arg3, %1) : memref<2xf32>, memref<2xf32>
320 // CHECK-NOT: linalg.copy
323 linalg.copy(%4, %5) : memref<2xf32>, memref<2xf32>
327 // CHECK: linalg.copy(%[[PERCENT4]], %[[PERCENT6]])
328 linalg.copy(%5, %6) : memref<2xf32>, memref<2xf32>
331 // CHECK: linalg.copy
332 linalg.copy(%2, %arg4) : memref<2xf32>, memref<2xf32>
339 // The linalg.copy operation can be removed in addition to alloc and dealloc
356 // CHECK-NOT: linalg.copy
358 "linalg.copy"(%0, %arg2) : (memref<4xf32>, memref<4xf32>) -> ()