Home
last modified time | relevance | path

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

/llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/
H A DFIRBuilder.h291 mlir::Value genShape(mlir::Location loc, const fir::AbstractArrayBox &arr);
292 mlir::Value genShape(mlir::Location loc, llvm::ArrayRef<mlir::Value> shift,
294 mlir::Value genShape(mlir::Location loc, llvm::ArrayRef<mlir::Value> exts);
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DFIRBuilder.cpp358 mlir::Value fir::FirOpBuilder::genShape(mlir::Location loc, in genShape() function in fir::FirOpBuilder
364 mlir::Value fir::FirOpBuilder::genShape(mlir::Location loc, in genShape() function in fir::FirOpBuilder
378 mlir::Value fir::FirOpBuilder::genShape(mlir::Location loc, in genShape() function in fir::FirOpBuilder
381 return genShape(loc, arr.getExtents()); in genShape()
382 return genShape(loc, arr.getLBounds(), arr.getExtents()); in genShape()
388 [&](const fir::ArrayBoxValue &box) { return genShape(loc, box); }, in createShape()
389 [&](const fir::CharArrayBoxValue &box) { return genShape(loc, box); }, in createShape()
/llvm-project-15.0.7/flang/unittests/Optimizer/Builder/
H A DFIRBuilderTest.cpp360 auto shape = builder.genShape(loc, extents); in TEST_F()
372 auto shape = builder.genShape(loc, shifts, extents); in TEST_F()
389 auto shape = builder.genShape(loc, aab); in TEST_F()
/llvm-project-15.0.7/flang/lib/Lower/
H A DConvertExpr.cpp3870 mlir::Value shapeOp = builder.genShape(loc, shape); in lowerLazyArrayExpression()
3886 mlir::Value shape = builder.genShape(loc, genIterationShape()); in lowerLazyArrayExpression()
4472 auto shapeOp = builder.genShape(loc, extents); in prepareRaggedArrays()
4565 mlir::Value shapeOp = builder.genShape(loc, extents); in genMasks()