Home
last modified time | relevance | path

Searched refs:GetShape (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dshape.h60 std::optional<Shape> GetShape(FoldingContext &, const A &);
61 template <typename A> std::optional<Shape> GetShape(const A &);
174 context_ ? GetShape(*context_, x) : GetShape(x)}) { in GetArrayConstructorValueExtent()
222 std::optional<Shape> GetShape(FoldingContext &context, const A &x) { in GetShape() function
230 template <typename A> std::optional<Shape> GetShape(const A &x) { in GetShape() function
235 std::optional<Shape> GetShape(FoldingContext *context, const A &x) { in GetShape() function
237 return GetShape(*context, x); in GetShape()
246 if (auto shape{GetShape(context, x)}) { in GetConstantShape()
256 if (auto shape{GetShape(context, x)}) { in GetConstantExtents()
H A Dcharacteristics.h101 TypeAndShape result{*type, GetShape(context, x)}; in Characterize()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dshape.cpp442 } else if (auto shape{GetShape(assoc->expr())}) { in GetExtent()
450 if (auto shape{GetShape(symbol)}) { in GetExtent()
498 if (auto shape{GetShape(subs.value())}) { in GetExtent()
550 if (auto shape{GetShape(assoc->expr())}) { in GetRawUpperBound()
600 if (auto shape{GetShape(assoc->expr())}) { in GetUBOUND()
642 return std::move(GetShape(symbol).value()); in GetUBOUNDs()
H A Dcheck-expression.cpp129 auto shape{GetShape(call.arguments()[0]->UnwrapExpr())}; in operator ()()
440 } else if (auto resultShape{GetShape(context, folded)}) { in NonPointerInitializationExpr()
H A Dfold-designator.cpp269 if (std::optional<Shape> shape{GetShape(context, symbol)}) { in OffsetToDataRef()
H A Dfold-implementation.h1481 if (std::optional<Shape> shape{GetShape(context, expr)}) {
1512 if (std::optional<Shape> leftShape{GetShape(context, leftExpr)}) {
1515 if (std::optional<Shape> rightShape{GetShape(context, rightExpr)}) {
1537 if (std::optional<Shape> shape{GetShape(context, rightExpr)}) {
H A Dcharacteristics.cpp99 std::move(*dyType), GetShape(context, ultimate)}; in Characterize()
123 } else if (auto shape{GetShape(context, assoc.expr())}) { in Characterize()
H A Dintrinsics.cpp1522 if (auto shape{GetShape(context, *arg)}) { in Match()
1593 GetShape(context, *arrayArg)}) { in Match()
1594 if (std::optional<Shape> argShape{GetShape(context, *arg)}) { in Match()
2106 *type, GetShape(context, *mold)}; in HandleNull()
/llvm-project-15.0.7/flang/runtime/
H A Dtransformational.cpp151 source.GetShape(extent); in RTNAME()
208 int rank{source.GetShape(extent)}; in RTNAME()
557 mask.GetShape(extent); in RTNAME()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dassignment.cpp221 if (auto shape{evaluate::GetShape(foldingContext(), expr)}) { in CheckShape()
H A Dpointer-assignment.cpp342 if (auto shape{evaluate::GetShape(context, rhs)}) { in CheckPointerBounds()
H A Dexpression.cpp1821 if (auto componentShape{GetShape(GetFoldingContext(), *symbol)}) { in Analyze()
1822 if (auto valueShape{GetShape(GetFoldingContext(), *converted)}) { in Analyze()
3463 auto lhShape{GetShape(foldingContext, *lhs)}; in CheckConformance()
3464 auto rhShape{GetShape(foldingContext, *rhs)}; in CheckConformance()
H A Dcheck-call.cpp859 if (auto argShape{evaluate::GetShape(context, *expr)}) { in CheckElementalConformance()
H A Dresolve-names.cpp3967 GetFoldingContext(), evaluate::GetShape(*folded))}) { in Pre()
/llvm-project-15.0.7/flang/include/flang/Runtime/
H A Ddescriptor.h247 int GetShape(SubscriptValue subscript[]) const { in GetShape() function
/llvm-project-15.0.7/flang/lib/Lower/
H A DConvertType.cpp154 Fortran::evaluate::GetShape(converter.getFoldingContext(), expr); in genExprType()
H A DBridge.cpp2988 return Fortran::evaluate::GetShape(foldingContext, expr); in getShape()