Home
last modified time | relevance | path

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

/external/llvm-project/flang/include/flang/Evaluate/
Dshape.h34 using MaybeExtentExpr = std::optional<ExtentExpr>; variable
35 using Shape = std::vector<MaybeExtentExpr>;
62 MaybeExtentExpr GetUpperBound(
64 MaybeExtentExpr ComputeUpperBound(
65 FoldingContext &, ExtentExpr &&lower, MaybeExtentExpr &&extent);
68 MaybeExtentExpr GetExtent(FoldingContext &, const NamedEntity &, int dimension);
69 MaybeExtentExpr GetExtent(
77 MaybeExtentExpr CountTrips(FoldingContext &, MaybeExtentExpr &&lower,
78 MaybeExtentExpr &&upper, MaybeExtentExpr &&stride);
81 MaybeExtentExpr GetSize(Shape &&);
[all …]
/external/llvm-project/flang/lib/Evaluate/
Dshape.cpp48 result.emplace_back(MaybeExtentExpr{ExtentExpr{extent}}); in AsShape()
147 MaybeExtentExpr CountTrips(FoldingContext &context, MaybeExtentExpr &&lower, in CountTrips()
148 MaybeExtentExpr &&upper, MaybeExtentExpr &&stride) { in CountTrips()
155 MaybeExtentExpr GetSize(Shape &&shape) { in GetSize()
258 MaybeExtentExpr GetExtent( in GetExtent()
299 MaybeExtentExpr GetExtent(FoldingContext &context, const Subscript &subscript, in GetExtent()
303 [&](const Triplet &triplet) -> MaybeExtentExpr { in GetExtent()
304 MaybeExtentExpr upper{triplet.upper()}; in GetExtent()
308 MaybeExtentExpr lower{triplet.lower()}; in GetExtent()
313 MaybeExtentExpr{triplet.stride()}); in GetExtent()
[all …]
Dfold.cpp104 MaybeExtentExpr lower{triplet.lower()}; in FoldOperation()
105 MaybeExtentExpr upper{triplet.upper()}; in FoldOperation()