Home
last modified time | relevance | path

Searched refs:AsShape (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/flang/include/flang/Evaluate/
Dshape.h41 Shape AsShape(const Constant<ExtentType> &);
42 std::optional<Shape> AsShape(FoldingContext &, ExtentExpr &&);
104 return AsShape(c.SHAPE()); in operator()
/external/llvm-project/flang/lib/Evaluate/
Dshape.cpp42 Shape AsShape(const Constant<ExtentType> &arrayConstant) { in AsShape() function
53 std::optional<Shape> AsShape(FoldingContext &context, ExtentExpr &&arrayExpr) { in AsShape() function
57 return AsShape(*constArray); in AsShape()
568 return AsShape(context_, ConvertToType<ExtentType>(std::move(shape))); in operator ()()