Home
last modified time | relevance | path

Searched refs:shapeTy (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/flang/lib/Optimizer/Dialect/
H A DFIROps.cpp373 auto shapeTy = shapeOp.getType(); in verify() local
375 if (auto s = shapeTy.dyn_cast<fir::ShapeType>()) { in verify()
380 auto s = shapeTy.cast<fir::ShiftType>(); in verify()
442 auto shapeTy = shapeOp.getType(); in verify() local
449 auto s = shapeTy.cast<fir::ShiftType>(); in verify()
2254 shapeRank = shapeTy.getRank(); in verify()
2325 auto shapeTy = shapeVal.getType(); in verify() local
3036 assert(shapeTy && "must be a shape type"); in verify()
3037 if (shapeTy.getRank() != size) in verify()
3053 assert(shapeTy && "must be a shape shift type"); in verify()
[all …]
/llvm-project-15.0.7/flang/unittests/Optimizer/Builder/
H A DFIRBuilderTest.cpp347 auto shapeTy = op.getType().dyn_cast<fir::ShapeType>(); in checkShapeOp() local
348 EXPECT_EQ(2u, shapeTy.getRank()); in checkShapeOp()
375 auto shapeTy = op.getType().dyn_cast<fir::ShapeShiftType>(); in TEST_F() local
376 EXPECT_EQ(2u, shapeTy.getRank()); in TEST_F()
/llvm-project-15.0.7/flang/lib/Lower/
H A DConvertExpr.cpp4244 auto shapeTy = fir::ShapeShiftType::get(eleTy.getContext(), lbs.size()); in convertElementForUpdate() local
4246 builder.create<fir::ShapeShiftOp>(loc, shapeTy, shapeShiftArgs); in convertElementForUpdate()
4749 auto shapeTy = fir::ShapeType::get(builder.getContext(), idxShape.size()); in genShapeOp() local
4750 return builder.create<fir::ShapeOp>(loc, shapeTy, idxShape); in genShapeOp()
H A DIntrinsicCall.cpp3638 mlir::Type shapeTy = shape.getType(); in genReshape() local
3639 mlir::Type shapeArrTy = fir::dyn_cast_ptrOrBoxEleTy(shapeTy); in genReshape()