Lines Matching refs:alloc
20 %0 = memref.alloc() : memref<2xf32>
29 // CHECK: %[[ALLOC:.*]] = memref.alloc()
40 // to any other block since the alloc has a dynamic dependency to block argument
53 %1 = memref.alloc(%0) : memref<?xf32>
64 // CHECK-NEXT: %[[ALLOC0:.*]] = memref.alloc(%[[IDX]])
84 %0 = memref.alloc() : memref<2xf32>
87 %1 = memref.alloc() : memref<2xf32>
98 // CHECK: %[[ALLOC0:.*]] = memref.alloc()
100 // CHECK: %[[ALLOC1:.*]] = memref.alloc()
106 // The alloc position of %1 does not need to be changed and flows through
114 %1 = memref.alloc(%arg0, %arg0) : memref<?x?xf32>
118 %3 = memref.alloc(%arg0, %arg1) : memref<?x?xf32>
124 // CHECK: %[[ALLOC0:.*]] = memref.alloc(%arg0, %arg0)
127 // CHECK-NEXT: %[[ALLOC1:.*]] = memref.alloc(%arg0, %arg1)
131 // Test Case: structured control-flow loop using a nested alloc.
132 // The alloc positions of %3 should not be changed.
141 %0 = memref.alloc() : memref<2xf32>
145 %3 = memref.alloc() : memref<2xf32>
152 // CHECK: %[[ALLOC0:.*]] = memref.alloc()
154 // CHECK: %[[ALLOC1:.*]] = memref.alloc()
168 %0 = memref.alloc() : memref<2xf32>
173 %4 = memref.alloc() : memref<2xf32>
183 // CHECK: %[[ALLOC0:.*]] = memref.alloc()
185 // CHECK: %[[ALLOC1:.*]] = memref.alloc()
201 %0 = memref.alloc() : memref<2xf32>
208 %4 = memref.alloc() : memref<2xf32>
211 %7 = memref.alloc() : memref<2xf32>
212 %8 = memref.alloc() : memref<2xf32>
217 %9 = memref.alloc() : memref<2xf32>
228 // CHECK: %[[ALLOC0:.*]] = memref.alloc()
229 // CHECK-NEXT: %[[ALLOC1:.*]] = memref.alloc()
230 // CHECK-NEXT: %[[ALLOC2:.*]] = memref.alloc()
235 // CHECK: %[[ALLOC3:.*]] = memref.alloc()
236 // CHECK: %[[ALLOC4:.*]] = memref.alloc()
248 %0 = memref.alloc(%arg0) : memref<?xf32>
255 %4 = memref.alloc(%i3) : memref<?xf32>
258 %7 = memref.alloc(%i3) : memref<?xf32>
263 %8 = memref.alloc(%i3) : memref<?xf32>
274 // CHECK: %[[ALLOC0:.*]] = memref.alloc({{.*}})
278 // CHECK: %[[ALLOC1:.*]] = memref.alloc({{.*}})
279 // CHECK: %[[ALLOC2:.*]] = memref.alloc({{.*}})
290 %0 = memref.alloc() : memref<2xf32>
293 %2 = memref.alloc() : memref<2xf32>
300 // CHECK: %[[ALLOC0:.*]] = memref.alloc({{.*}})
301 // CHECK-NEXT: %[[ALLOC1:.*]] = memref.alloc({{.*}})
315 %1 = memref.alloc() : memref<2xf32>
323 // CHECK-NEXT: %[[ALLOC0:.*]] = memref.alloc({{.*}})
334 %0 = memref.alloc() : memref<2xf32>
339 %3 = memref.alloc() : memref<2xf32>
348 // CHECK: %[[ALLOC0:.*]] = memref.alloc({{.*}})
349 // CHECK-NEXT: %[[ALLOC1:.*]] = memref.alloc({{.*}})
365 %3 = memref.alloc() : memref<2xf32>
378 // CHECK-NEXT: %[[ALLOC0:.*]] = memref.alloc({{.*}})
389 %0 = memref.alloc() : memref<2xf32>
394 %4 = memref.alloc() : memref<2xf32>
408 // CHECK-NEXT: %[[ALLOC0:.*]] = memref.alloc({{.*}})
420 %0 = memref.alloc() : memref<2xf32>
423 %2 = memref.alloc(%i) : memref<?xf32>
430 // CHECK: %[[ALLOC0:.*]] = memref.alloc({{.*}})
432 // CHECK-NEXT: %[[ALLOC1:.*]] = memref.alloc({{.*}})
443 %0 = memref.alloc() : memref<2xf32>
448 %3 = memref.alloc(%i) : memref<?xf32>
457 // CHECK: %[[ALLOC0:.*]] = memref.alloc({{.*}})
459 // CHECK-NEXT: %[[ALLOC1:.*]] = memref.alloc({{.*}})
470 %0 = memref.alloc() : memref<2xf32>
476 // CHECK: memref.alloc
486 %1 = memref.alloc() : memref<2xf32>
492 // CHECK-NEXT: memref.alloc