Lines Matching defs:shapeOp
32 auto *shapeOp = shape.getDefiningOp();
33 if (auto s = mlir::dyn_cast_or_null<fir::ShapeOp>(shapeOp)) {
36 } else if (auto s = mlir::dyn_cast_or_null<fir::ShapeShiftOp>(shapeOp)) {
39 } else if (mlir::dyn_cast_or_null<fir::ShiftOp>(shapeOp)) {
41 } else if (auto s = mlir::dyn_cast_or_null<hlfir::ShapeOfOp>(shapeOp)) {
77 auto *shapeOp = shape.getDefiningOp();
78 if (auto s = mlir::dyn_cast_or_null<fir::ShapeOp>(shapeOp)) {
80 } else if (auto s = mlir::dyn_cast_or_null<fir::ShapeShiftOp>(shapeOp)) {
83 } else if (auto s = mlir::dyn_cast_or_null<fir::ShiftOp>(shapeOp)) {
782 if (auto shapeOp = shape.getDefiningOp<fir::ShapeOp>())
783 for (auto extent : llvm::enumerate(shapeOp.getExtents()))
1345 fir::ShapeOp shapeOp = associate.getShape().getDefiningOp<fir::ShapeOp>();
1346 assert(shapeOp && "associate shape must be a fir.shape");
1347 const unsigned rank = shapeOp.getExtents().size();
1351 lbAndExtents.push_back(shapeOp.getExtents()[dim]);