Lines Matching defs:shapeTy
407 auto shapeTy = shapeOp.getType();
409 if (auto s = mlir::dyn_cast<fir::ShapeType>(shapeTy)) {
411 } else if (auto ss = mlir::dyn_cast<fir::ShapeShiftType>(shapeTy)) {
414 auto s = mlir::cast<fir::ShiftType>(shapeTy);
853 auto shapeTy = shapeOp.getType();
855 if (auto s = mlir::dyn_cast<fir::ShapeType>(shapeTy)) {
857 } else if (auto ss = mlir::dyn_cast<fir::ShapeShiftType>(shapeTy)) {
860 auto s = mlir::cast<fir::ShiftType>(shapeTy);
2839 if (auto shapeTy = mlir::dyn_cast<fir::ShapeType>(ty)) {
2840 shapeRank = shapeTy.getRank();
2962 auto shapeTy = shapeVal.getType();
2963 if (auto s = mlir::dyn_cast<fir::ShapeType>(shapeTy))
2966 shapeTyRank = mlir::cast<fir::ShapeShiftType>(shapeTy).getRank();
3689 auto shapeTy = mlir::dyn_cast<fir::ShapeType>(getType());
3690 assert(shapeTy && "must be a shape type");
3691 if (shapeTy.getRank() != size)
3712 auto shapeTy = mlir::dyn_cast<fir::ShapeShiftType>(getType());
3713 assert(shapeTy && "must be a shape shift type");
3714 if (shapeTy.getRank() * 2 != size)