Lines Matching refs:alloc

21   %0 = memref.alloc() : memref<2xf32>
29 // CHECK-NEXT: %[[ALLOC:.*]] = memref.alloc()
41 // to any other block since the alloc has a dynamic dependency to block argument
54 %1 = memref.alloc(%0) : memref<?xf32>
65 // CHECK-NEXT: %[[ALLOC0:.*]] = memref.alloc(%[[IDX]])
83 // to any other block since the alloc has a dynamic dependency to block argument
96 %1 = memref.alloc(%0) : memref<?xf32>
115 // CHECK-NEXT: %[[ALLOC0:.*]] = memref.alloc(%[[IDX]])
133 %0 = memref.alloc() : memref<2xf32>
141 // CHECK-NEXT: %[[ALLOC:.*]] = memref.alloc()
156 %0 = memref.alloc() : memref<2xf32>
166 %7 = memref.alloc() : memref<2xf32>
172 // CHECK-NEXT: %[[ALLOC0:.*]] = memref.alloc()
177 // CHECK: %[[ALLOC1:.*]] = memref.alloc()
194 %0 = memref.alloc() : memref<2xf32>
208 // CHECK-NEXT: %[[ALLOC0:.*]] = memref.alloc()
226 %0 = memref.alloc() : memref<2xf32>
240 %9 = memref.alloc() : memref<2xf32>
246 // CHECK-NEXT: %[[ALLOC0:.*]] = memref.alloc()
252 // CHECK: %[[ALLOC1:.*]] = memref.alloc()
262 %0 = memref.alloc() : memref<2xf32>
264 %1 = memref.alloc() : memref<2xf32>
269 // CHECK-NEXT: %[[ALLOC0:.*]] = memref.alloc()
271 // CHECK: %[[ALLOC1:.*]] = memref.alloc()
292 %0 = memref.alloc() : memref<2xf32>
296 %1 = memref.alloc() : memref<2xf32>
304 // CHECK-NEXT: %{{.*}} = memref.alloc()
305 // CHECK-NEXT: %{{.*}} = memref.alloc()
329 %1 = memref.alloc() : memref<2xf32>
338 // CHECK-NEXT: %{{.*}} = memref.alloc()
358 %0 = memref.alloc() : memref<2xf32>
361 %1 = memref.alloc() : memref<2xf32>
371 // CHECK-NEXT: %[[ALLOC0:.*]] = memref.alloc()
374 // CHECK: %[[ALLOC1:.*]] = memref.alloc()
380 // The alloc position of %1 does not need to be changed and flows through
388 %1 = memref.alloc(%arg0, %arg0) : memref<?x?xf32>
392 %3 = memref.alloc(%arg0, %arg1) : memref<?x?xf32>
398 // CHECK: %[[ALLOC0:.*]] = memref.alloc(%arg0, %arg0)
401 // CHECK-NEXT: %[[ALLOC1:.*]] = memref.alloc(%arg0, %arg1)
407 // The alloc positions of %1 does not need to be changed. %3 is moved upwards.
414 %1 = memref.alloc(%arg0, %arg0) : memref<?x?xf32>
418 %3 = memref.alloc(%arg0, %arg1) : memref<?x?xf32>
424 // CHECK: %[[ALLOC0:.*]] = memref.alloc(%arg0, %arg0)
425 // CHECK-NEXT: %[[ALLOC1:.*]] = memref.alloc(%arg0, %arg1)
432 // The alloc position of %1 does not need to be changed. Allocs %4 and %5 are
440 %1 = memref.alloc(%arg0, %arg0) : memref<?x?xf32>
445 %4 = memref.alloc(%arg0, %arg1) : memref<?x?xf32>
450 %5 = memref.alloc(%arg1, %arg1) : memref<?x?xf32>
455 // CHECK: %[[ALLOC0:.*]] = memref.alloc(%arg0, %arg0)
456 // CHECK-NEXT: %[[ALLOC1:.*]] = memref.alloc(%arg0, %arg1)
457 // CHECK-NEXT: %[[ALLOC2:.*]] = memref.alloc(%arg1, %arg1)
475 %4 = memref.alloc(%arg2, %3) : memref<?x?xf32>
481 %4 = memref.alloc(%arg2, %3) : memref<?x?xf32>
492 // CHECK-NEXT: alloc(%arg2, %[[FUNC]])
498 // CHECK-NEXT: alloc(%arg2, %[[FUNC]])
503 // The alloc positions of %0 does not need to be changed.
507 %0 = memref.alloc(%arg0, %arg0) : memref<?x?xf32>
521 // CHECK: %[[ALLOC0:.*]] = memref.alloc(%arg0, %arg0)
528 // The alloc positions of %0 does not need to be changed. %2 is moved upwards.
534 %0 = memref.alloc(%arg0, %arg0) : memref<?x?xf32>
540 %2 = memref.alloc(%arg0, %arg1) : memref<?x?xf32>
549 // CHECK: %[[ALLOC0:.*]] = memref.alloc(%arg0, %arg0)
550 // CHECK-NEXT: %[[ALLOC1:.*]] = memref.alloc(%arg0, %arg1)
579 // Test Case: Alloca operations shouldn't be moved. The alloc operation also
601 %9 = memref.alloc() : memref<2xf32>
613 // CHECK-NEXT: %[[ALLOC:.*]] = memref.alloc()
618 // Test Case: Alloca operations shouldn't be moved. The alloc operation should
630 %0 = memref.alloc() : memref<2xf32>
643 // CHECK-NEXT: %[[ALLOC:.*]] = memref.alloc()
651 // Test Case: structured control-flow loop using a nested alloc.
652 // The alloc positions of %3 will be moved upwards.
661 %0 = memref.alloc() : memref<2xf32>
665 %3 = memref.alloc() : memref<2xf32>
672 // CHECK: %[[ALLOC0:.*]] = memref.alloc()
674 // CHECK: %[[ALLOC1:.*]] = memref.alloc()
688 %0 = memref.alloc() : memref<2xf32>
693 %4 = memref.alloc() : memref<2xf32>
703 // CHECK: %[[ALLOC0:.*]] = memref.alloc()
705 // CHECK: %[[ALLOC1:.*]] = memref.alloc()
720 %0 = memref.alloc() : memref<2xf32>
727 %4 = memref.alloc() : memref<2xf32>
730 %7 = memref.alloc() : memref<2xf32>
745 // CHECK: %[[ALLOC0:.*]] = memref.alloc()
749 // CHECK-NEXT: %[[ALLOC1:.*]] = memref.alloc()
750 // CHECK: %[[ALLOC2:.*]] = memref.alloc()
762 %0 = memref.alloc(%arg0) : memref<?xf32>
771 %7 = memref.alloc(%i3) : memref<?xf32>
787 // CHECK: %[[ALLOC0:.*]] = memref.alloc({{.*}})
791 // CHECK: %[[ALLOC1:.*]] = memref.alloc({{.*}})