| /llvm-project-15.0.7/flang/lib/Optimizer/Builder/ |
| H A D | BoxValue.cpp | 98 llvm::interleaveComma(box.getExtents(), os); in operator <<() 113 llvm::interleaveComma(box.getExtents(), os); in operator <<() 229 auto extents = fir::factory::getExtents(loc, builder, exv); in getExtentAtDimension() 242 return !box.getExtents().empty() && isUndefOp(box.getExtents().back()); in isAssumedSize() 246 return !box.getExtents().empty() && isUndefOp(box.getExtents().back()); in isAssumedSize()
|
| H A D | FIRBuilder.cpp | 381 return genShape(loc, arr.getExtents()); in genShape() 382 return genShape(loc, arr.getLBounds(), arr.getExtents()); in genShape() 438 return fullShape(box.getLBounds(), box.getExtents()); in createSlice() 441 return fullShape(box.getLBounds(), box.getExtents()); in createSlice() 578 return x.getExtents()[dim]; in readExtent() 581 return x.getExtents()[dim]; in readExtent() 653 fir::factory::getExtents(mlir::Location loc, fir::FirOpBuilder &builder, in getExtents() function in fir::factory 657 return {x.getExtents().begin(), x.getExtents().end()}; in getExtents() 660 return {x.getExtents().begin(), x.getExtents().end()}; in getExtents() 667 return fir::factory::getExtents(loc, builder, load); in getExtents()
|
| H A D | MutableBox.cpp | 481 arr.getExtents(), /*lengths=*/llvm::None); in associateMutableBox() 486 arr.getExtents(), {arr.getLen()}); in associateMutableBox() 499 auto extents = fir::factory::getExtents(loc, builder, source); in associateMutableBox() 856 auto extents = fir::factory::getExtents(loc, builder, realloc.newValue); in finalizeRealloc()
|
| H A D | Character.cpp | 228 for (auto extent : box.getExtents()) in toScalarCharacter()
|
| /llvm-project-15.0.7/flang/unittests/Optimizer/Builder/ |
| H A D | FIRBuilderTest.cpp | 349 EXPECT_EQ(2u, op.getExtents().size()); in checkShapeOp() 350 EXPECT_EQ(c10, op.getExtents()[0]); in checkShapeOp() 351 EXPECT_EQ(c100, op.getExtents()[1]); in checkShapeOp() 377 EXPECT_EQ(2u, op.getExtents().size()); in TEST_F() 402 TEST_F(FIRBuilderTest, getExtents) { in TEST_F() argument 407 auto ext = fir::factory::getExtents(loc, builder, strLit); in TEST_F() 417 auto readExtents = fir::factory::getExtents(loc, builder, ex); in TEST_F()
|
| /llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/ |
| H A D | Factory.h | 147 inline llvm::SmallVector<mlir::Value> getExtents(mlir::Value shapeVal) { in getExtents() function 151 auto operands = shOp.getExtents(); in getExtents() 155 auto operands = shOp.getExtents(); in getExtents()
|
| H A D | BoxValue.h | 112 const llvm::SmallVectorImpl<mlir::Value> &getExtents() const { in getExtents() function 438 getExtents(mlir::Location loc, FirOpBuilder &builder, const ExtendedValue &box);
|
| /llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/ |
| H A D | PreCGRewrite.cpp | 32 vec.append(shape.getExtents().begin(), shape.getExtents().end()); in populateShape()
|
| /llvm-project-15.0.7/flang/include/flang/Lower/ |
| H A D | SymbolMap.h | 132 [](const auto &x) { return x.getExtents().size() > 0; }); in hasRank()
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | ConvertExpr.cpp | 276 auto extents = fir::factory::getExtents(shapeVal); 291 auto extents = fir::factory::getExtents(loc, builder, exv); 2001 assert(arr.getExtents().size() == aref.subscript().size()); in genOffsetAndCoordinateOp() 2412 fir::factory::getExtents(loc, builder, mold); in genArrayTempFromMold() 3825 return fir::CharArrayBoxValue(tempRes, len, dest.getExtents()); in lowerNewArrayExpression() 3827 return fir::ArrayBoxValue(tempRes, dest.getExtents()); in lowerNewArrayExpression() 4080 destShape = fir::factory::getExtents(getLoc(), builder, lhs); in determineShapeOfDest() 4119 fir::factory::getExtents(loc, builder, exv); in genShapeFromDataRef() 4355 return fir::factory::getExtents(array.shape); in getShape() 5863 for (auto ext : shapeOp.getExtents()) { in padSlice() [all …]
|
| H A D | Bridge.cpp | 453 fir::factory::getExtents(loc, *builder, hexv); in createHostAssociateVarClone() 471 allocate(fir::factory::getExtents(loc, *builder, hexv), in createHostAssociateVarClone()
|
| H A D | IntrinsicCall.cpp | 3985 fir::factory::getExtents(loc, builder, array); in createBoxForLBOUND()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Transforms/ |
| H A D | ArrayValueCopy.cpp | 793 auto e = s.getExtents(); in getAdjustedExtents() 796 auto e = s.getExtents(); in getAdjustedExtents()
|
| H A D | AffinePromotion.cpp | 352 auto extents = shape.getExtents(); in populateIndexArgs()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Dialect/ |
| H A D | FIROps.cpp | 422 std::vector<mlir::Value> fir::ArrayLoadOp::getExtents() { in getExtents() function in fir::ArrayLoadOp 426 auto extents = shOp.getExtents(); in getExtents() 429 return mlir::cast<fir::ShapeShiftOp>(op).getExtents(); in getExtents() 3034 auto size = getExtents().size(); in verify()
|
| /llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/ |
| H A D | FIROps.td | 1266 std::vector<mlir::Value> getExtents(); 1793 std::vector<mlir::Value> getExtents() {
|