Lines Matching refs:MaybeExtentExpr
48 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()
315 [&](const IndirectSubscriptIntegerExpr &subs) -> MaybeExtentExpr { in GetExtent()
328 MaybeExtentExpr ComputeUpperBound( in ComputeUpperBound()
329 FoldingContext &context, ExtentExpr &&lower, MaybeExtentExpr &&extent) { in ComputeUpperBound()
337 MaybeExtentExpr GetUpperBound( in GetUpperBound()
518 return Shape{MaybeExtentExpr{ExtentExpr{expr->Rank()}}}; in operator ()()
632 MaybeExtentExpr{ConvertToType<ExtentType>(common::Clone(*size))}}; in operator ()()
658 return Shape{MaybeExtentExpr{std::move(extent)}}; in operator ()()