Home
last modified time | relevance | path

Searched refs:shapeSpec (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dshape.cpp254 if (shapeSpec.lbound().isExplicit()) { in GetLowerBound()
404 const semantics::ShapeSpec &shapeSpec) { in GetNonNegativeExtent() argument
405 const auto &ubound{shapeSpec.ubound().GetExplicit()}; in GetNonNegativeExtent()
406 const auto &lbound{shapeSpec.lbound().GetExplicit()}; in GetNonNegativeExtent()
457 for (const auto &shapeSpec : details->shape()) { in GetExtent() local
459 if (auto extent{GetNonNegativeExtent(shapeSpec)}) { in GetExtent()
567 const auto &ubound{shapeSpec.ubound().GetExplicit()}; in GetExplicitUBOUND()
569 if (auto extent{GetNonNegativeExtent(shapeSpec)}) { in GetExplicitUBOUND()
590 if (auto ubound{GetExplicitUBOUND(context, shapeSpec)}) { in GetUBOUND()
626 for (const auto &shapeSpec : details->shape()) { in GetUBOUNDs() local
[all …]
H A Dtype.cpp40 for (const ShapeSpec &shapeSpec : details.shape()) { in IsDescriptor() local
41 const auto &lb{shapeSpec.lbound().GetExplicit()}; in IsDescriptor()
42 const auto &ub{shapeSpec.ubound().GetExplicit()}; in IsDescriptor()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dsymbol.cpp141 for (const auto &shapeSpec : shape) { in set_shape() local
142 shape_.push_back(shapeSpec); in set_shape()
147 for (const auto &shapeSpec : coshape) { in set_coshape() local
148 coshape_.push_back(shapeSpec); in set_coshape()
H A Dmod-file.cpp646 for (const auto &shapeSpec : shape) { in PutShape() local
652 PutShapeSpec(os, shapeSpec); in PutShape()
/llvm-project-15.0.7/flang/lib/Lower/
H A DAllocatable.cpp318 for (const Fortran::parser::AllocateShapeSpec &shapeSpec : in lowerBoundsAreOnes() local
320 if (std::get<0>(shapeSpec.t)) in lowerBoundsAreOnes()
340 for (const Fortran::parser::AllocateShapeSpec &shapeSpec : in genInlinedAllocation() local
345 std::get<0>(shapeSpec.t)) { in genInlinedAllocation()
355 loc, Fortran::semantics::GetExpr(std::get<1>(shapeSpec.t)), stmtCtx)); in genInlinedAllocation()
H A DCallInterface.cpp237 getExtentExpr(const Fortran::semantics::ShapeSpec &shapeSpec) { in getExtentExpr() argument
238 const auto &ubound = shapeSpec.ubound().GetExplicit(); in getExtentExpr()
239 const auto &lbound = shapeSpec.lbound().GetExplicit(); in getExtentExpr()
256 for (const Fortran::semantics::ShapeSpec &shapeSpec : in walkResultExtents() local
258 visitor(Fortran::evaluate::AsGenericExpr(getExtentExpr(shapeSpec))); in walkResultExtents()
H A DPFTBuilder.cpp1822 for (const Fortran::semantics::ShapeSpec &shapeSpec : in visitSymbol() local
1824 visitExpr(shapeSpec.lbound().GetExplicit().value()); in visitSymbol()
1825 visitExpr(shapeSpec.ubound().GetExplicit().value()); in visitSymbol()