| /llvm-project-15.0.7/flang/include/flang/Evaluate/ |
| H A D | shape.h | 60 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 D | characteristics.h | 101 TypeAndShape result{*type, GetShape(context, x)}; in Characterize()
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | shape.cpp | 442 } 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 D | check-expression.cpp | 129 auto shape{GetShape(call.arguments()[0]->UnwrapExpr())}; in operator ()() 440 } else if (auto resultShape{GetShape(context, folded)}) { in NonPointerInitializationExpr()
|
| H A D | fold-designator.cpp | 269 if (std::optional<Shape> shape{GetShape(context, symbol)}) { in OffsetToDataRef()
|
| H A D | fold-implementation.h | 1481 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 D | characteristics.cpp | 99 std::move(*dyType), GetShape(context, ultimate)}; in Characterize() 123 } else if (auto shape{GetShape(context, assoc.expr())}) { in Characterize()
|
| H A D | intrinsics.cpp | 1522 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 D | transformational.cpp | 151 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 D | assignment.cpp | 221 if (auto shape{evaluate::GetShape(foldingContext(), expr)}) { in CheckShape()
|
| H A D | pointer-assignment.cpp | 342 if (auto shape{evaluate::GetShape(context, rhs)}) { in CheckPointerBounds()
|
| H A D | expression.cpp | 1821 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 D | check-call.cpp | 859 if (auto argShape{evaluate::GetShape(context, *expr)}) { in CheckElementalConformance()
|
| H A D | resolve-names.cpp | 3967 GetFoldingContext(), evaluate::GetShape(*folded))}) { in Pre()
|
| /llvm-project-15.0.7/flang/include/flang/Runtime/ |
| H A D | descriptor.h | 247 int GetShape(SubscriptValue subscript[]) const { in GetShape() function
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | ConvertType.cpp | 154 Fortran::evaluate::GetShape(converter.getFoldingContext(), expr); in genExprType()
|
| H A D | Bridge.cpp | 2988 return Fortran::evaluate::GetShape(foldingContext, expr); in getShape()
|