Home
last modified time | relevance | path

Searched refs:SHAPE (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/mlir/test/Dialect/MemRef/
H A Dexpand-ops.mlir36 // CHECK-SAME: [[SHAPE:%.*]]: memref<3xi32>) -> memref<?x?x8xf32> {
43 // CHECK: [[DIM_1:%.*]] = memref.load [[SHAPE]]{{\[}}[[C1_]]] : memref<3xi32>
48 // CHECK: [[DIM_0:%.*]] = memref.load [[SHAPE]]{{\[}}[[C0]]] : memref<3xi32>
/llvm-project-15.0.7/mlir/test/Conversion/ShapeToStandard/
H A Dshape-to-standard.mlir31 // CHECK-SAME: (%[[SHAPE:.*]]: tensor<?xindex>) -> index
34 // CHECK: %[[RESULT:.*]] = tensor.dim %[[SHAPE]], %[[C0]]
168 // CHECK-SAME: (%[[SHAPE:.*]]: tensor<?xindex>) -> index
181 // CHECK-NEXT: %[[RANK:.*]] = tensor.dim %[[SHAPE]], %[[C0]] : tensor<?xindex>
183 // CHECK-NEXT: %[[EXTENT:.*]] = tensor.extract %[[SHAPE]][%[[I]]]
207 // CHECK: %[[SHAPE:.*]] = tensor.generate %[[RANK]] {
611 // CHECK-SAME: %[[SHAPE:.*]]: tensor<?xindex>, %[[INDEX:.*]]: index
614 // CHECK-NEXT: %[[RANK:.*]] = tensor.dim %[[SHAPE]], %[[C0]] : tensor<?xindex>
619 …// CHECK-NEXT: %[[HEAD:.*]] = tensor.extract_slice %[[SHAPE]][%[[C0]]] [%[[SELECT]]] [%[[C1]]] : t…
621 …// CHECK-NEXT: %[[TAIL:.*]] = tensor.extract_slice %[[SHAPE]][%[[SELECT]]] [%[[TAIL_SIZE]]] [%[[C1…
/llvm-project-15.0.7/mlir/test/Dialect/Shape/
H A Dcanonicalize.mlir897 // CHECK-SAME: (%[[SHAPE:.*]]: !shape.shape) -> !shape.size
899 // CHECK: %[[RESULT:.*]] = shape.rank %[[SHAPE]]
921 // CHECK-SAME: (%[[SHAPE:.*]]: tensor<?xindex>) -> index
923 // CHECK: %[[RESULT:.*]] = shape.rank %[[SHAPE]] : tensor<?xindex> -> index
960 // CHECK: %[[SIZE:.*]] = shape.rank %[[SHAPE]]
1306 // CHECK-SAME: (%[[SHAPE:.*]]: !shape.shape)
1309 // CHECK: return %[[SHAPE]]
1409 // CHECK-SAME: (%[[SHAPE:.*]]: !shape.shape)
1412 // CHECK: return %[[SHAPE]]
1419 // CHECK-SAME: (%[[SHAPE:.*]]: !shape.shape)
[all …]
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dconstant.h71 Constant<SubscriptInteger> SHAPE() const;
H A Dshape.h138 return ConstantShape(c.SHAPE()); in operator()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMLRegallocEvictAdvisor.cpp222 #define _RESET(TYPE, NAME, SHAPE, __) \ in resetInputs() argument
224 getTotalSize<TYPE>(SHAPE)); in resetInputs()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dconstant.cpp55 Constant<SubscriptInteger> ConstantBounds::SHAPE() const { in SHAPE() function in Fortran::evaluate::ConstantBounds
/llvm-project-15.0.7/mlir/test/Conversion/MemRefToLLVM/
H A Dconvert-dynamic-memref-ops.mlir478 // CHECK: [[SHAPE:%.*]] = builtin.unrealized_conversion_cast %{{.*}} to [[SHAPE_TY:!.*]]
479 // CHECK: [[RANK:%.*]] = llvm.extractvalue [[SHAPE]][3, 0] : [[SHAPE_TY]]
516 // CHECK: [[SHAPE_IN_PTR:%.*]] = llvm.extractvalue [[SHAPE]][1] : [[SHAPE_TY]]
/llvm-project-15.0.7/flang/test/Fir/
H A Dfir-ops.fir644 …// CHECK: [[SHAPE:%.*]] = fir.shape_shift [[INDXM:%.*]], [[INDXN:%.*]], [[INDXO:%.*]], [[INDXP:%.*…
645 …// CHECK: [[AV1:%.*]] = fir.array_load [[ARR1]]([[SHAPE]]) : (!fir.ref<!fir.array<?x?xf32>>, !fir.…
655 …// CHECK: [[AV3:%.*]] = fir.array_load [[ARR1]]([[SHAPE]]) : (!fir.ref<!fir.array<?x?xf32>>, !fir.…