Home
last modified time | relevance | path

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

/external/llvm-project/flang/include/flang/Evaluate/
Dshape.h32 using ExtentType = SubscriptInteger; variable
33 using ExtentExpr = Expr<ExtentType>;
41 Shape AsShape(const Constant<ExtentType> &);
46 std::optional<Constant<ExtentType>> AsConstantShape(
48 Constant<ExtentType> AsConstantShape(const ConstantSubscripts &);
50 ConstantSubscripts AsConstantExtents(const Constant<ExtentType> &);
190 std::optional<Constant<ExtentType>> GetConstantShape( in GetConstantShape()
/external/llvm-project/flang/lib/Evaluate/
Dshape.cpp42 Shape AsShape(const Constant<ExtentType> &arrayConstant) { in AsShape()
47 Scalar<ExtentType> extent{arrayConstant.values().at(j)}; in AsShape()
56 if (const auto *constArray{UnwrapConstantValue<ExtentType>(arrayExpr)}) { in AsShape()
59 if (auto *constructor{UnwrapExpr<ArrayConstructor<ExtentType>>(arrayExpr)}) { in AsShape()
76 ArrayConstructorValues<ExtentType> values; in AsExtentArrayExpr()
84 return ExtentExpr{ArrayConstructor<ExtentType>{std::move(values)}}; in AsExtentArrayExpr()
87 std::optional<Constant<ExtentType>> AsConstantShape( in AsConstantShape()
91 if (auto *p{UnwrapConstantValue<ExtentType>(folded)}) { in AsConstantShape()
107 ConstantSubscripts AsConstantExtents(const Constant<ExtentType> &shape) { in AsConstantExtents()
131 Extremum<ExtentType>{Ordering::Greater, std::move(span), ExtentExpr{0}}}; in ComputeTripCount()
[all …]
Dfold-integer.cpp48 ConvertToType<T>(Expr<ExtentType>{std::move(*extents)})); in LBOUND()
111 ConvertToType<T>(Expr<ExtentType>{std::move(*extents)})); in UBOUND()
123 ConvertToType<T>(Expr<ExtentType>{std::move(*dimSize)})); in UBOUND()