Home
last modified time | relevance | path

Searched refs:GetShapeHelper (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dshape.h114 class GetShapeHelper
115 : public AnyTraverse<GetShapeHelper, std::optional<Shape>> {
118 using Base = AnyTraverse<GetShapeHelper, Result>;
120 GetShapeHelper() : Base{*this} {} in GetShapeHelper() function
121 explicit GetShapeHelper(FoldingContext &c) : Base{*this}, context_{&c} {} in GetShapeHelper() function
122 explicit GetShapeHelper(FoldingContext &c, bool useResultSymbolShape) in GetShapeHelper() function
223 if (auto shape{GetShapeHelper{context}(x)}) { in GetShape()
231 return GetShapeHelper{}(x); in GetShape()
239 return GetShapeHelper{}(x); in GetShape()
269 return GetShapeHelper{context, false}(x); in GetContextFreeShape()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dshape.cpp45 Shape GetShapeHelper::ConstantShape(const Constant<ExtentType> &arrayConstant) { in ConstantShape()
56 auto GetShapeHelper::AsShapeResult(ExtentExpr &&arrayExpr) const -> Result { in AsShapeResult()
79 Shape GetShapeHelper::CreateShape(int rank, NamedEntity &base) { in CreateShape()
652 auto GetShapeHelper::operator()(const Symbol &symbol) const -> Result { in operator ()()
713 auto GetShapeHelper::operator()(const Component &component) const -> Result { in operator ()()
729 auto GetShapeHelper::operator()(const ArrayRef &arrayRef) const -> Result { in operator ()()
747 auto GetShapeHelper::operator()(const CoarrayRef &coarrayRef) const -> Result { in operator ()()
764 auto GetShapeHelper::operator()(const Substring &substring) const -> Result { in operator ()()
768 auto GetShapeHelper::operator()(const ProcedureRef &call) const -> Result { in operator ()()
/llvm-project-15.0.7/flang/lib/Lower/
H A DConvertType.cpp248 auto shapeExpr = Fortran::evaluate::GetShapeHelper{ in genSymbolType()