Searched refs:ShapeOp (Results 1 – 12 of 12) sorted by relevance
| /llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/ |
| H A D | PreCGRewrite.cpp | 31 fir::ShapeOp shape) { in populateShape() 114 if (auto shapeOp = mlir::dyn_cast<fir::ShapeOp>(shapeVal.getDefiningOp())) { in rewriteDynamicShape() 167 if (auto shapeOp = mlir::dyn_cast<fir::ShapeOp>(shapeVal.getDefiningOp())) in matchAndRewrite() 226 if (auto shapeOp = mlir::dyn_cast<fir::ShapeOp>(shapeVal.getDefiningOp())) in matchAndRewrite()
|
| H A D | CodeGen.cpp | 3358 struct ShapeOpConversion : public MustBeDeadConversion<fir::ShapeOp> {
|
| /llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/ |
| H A D | Factory.h | 150 if (auto shOp = mlir::dyn_cast<fir::ShapeOp>(shapeOp)) { in getExtents() 191 assert(!shapeVal || mlir::isa<fir::ShapeOp>(shapeVal.getDefiningOp())); in originateIndices() 198 assert(dimension == mlir::cast<fir::ShapeOp>(shapeVal.getDefiningOp()) in originateIndices()
|
| /llvm-project-15.0.7/flang/include/flang/Lower/ |
| H A D | ConvertExpr.h | 32 class ShapeOp; variable
|
| /llvm-project-15.0.7/flang/unittests/Optimizer/Builder/ |
| H A D | FIRBuilderTest.cpp | 345 EXPECT_TRUE(mlir::isa<fir::ShapeOp>(shape.getDefiningOp())); in checkShapeOp() 346 fir::ShapeOp op = dyn_cast<fir::ShapeOp>(shape.getDefiningOp()); in checkShapeOp()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Transforms/ |
| H A D | AffinePromotion.cpp | 347 static void populateIndexArgs(fir::ArrayCoorOp acoOp, fir::ShapeOp shape, in populateIndexArgs() 387 if (auto shape = acoOp.getShape().getDefiningOp<ShapeOp>()) in populateIndexArgs()
|
| H A D | ArrayValueCopy.cpp | 792 if (auto s = mlir::dyn_cast_or_null<ShapeOp>(shapeOp)) { in getAdjustedExtents() 852 return rewriter.create<ShapeOp>(loc, shapeType, result); in getOrReadExtentsAndShapeOp()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Builder/ |
| H A D | MutableBox.cpp | 40 shape = builder.create<fir::ShapeOp>(loc, shapeType, extents); in createNewFirBox()
|
| H A D | FIRBuilder.cpp | 361 return create<fir::ShapeOp>(loc, shapeType, exts); in genShape()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Dialect/ |
| H A D | FIROps.cpp | 425 if (auto shOp = mlir::dyn_cast<fir::ShapeOp>(op)) { in getExtents() 3033 mlir::LogicalResult fir::ShapeOp::verify() { in verify()
|
| /llvm-project-15.0.7/mlir/docs/ |
| H A D | DeclarativeRewrites.md | 508 [(StoreOp (AllocOp:$mem (ShapeOp $lhs)), (AddIOp $lhs, $rhs)),
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | ConvertExpr.cpp | 4743 static fir::ShapeOp genShapeOp(mlir::Location loc, fir::FirOpBuilder &builder, in genShapeOp() 4750 return builder.create<fir::ShapeOp>(loc, shapeTy, idxShape); in genShapeOp() 4753 fir::ShapeOp genShapeOp(llvm::ArrayRef<mlir::Value> shape) { in genShapeOp() 5861 } else if (auto shapeOp = mlir::dyn_cast_or_null<fir::ShapeOp>( in padSlice()
|