Lines Matching defs:lower
174 ExtentExpr &&lower, ExtentExpr &&upper, ExtentExpr &&stride) {
177 (std::move(upper) - std::move(lower) + std::move(strideCopy)) /
184 ExtentExpr &&lower, ExtentExpr &&upper, ExtentExpr &&stride) {
186 std::move(lower), std::move(upper), std::move(stride));
189 ExtentExpr CountTrips(const ExtentExpr &lower, const ExtentExpr &upper,
192 common::Clone(lower), common::Clone(upper), common::Clone(stride));
195 MaybeExtentExpr CountTrips(MaybeExtentExpr &&lower, MaybeExtentExpr &&upper,
200 std::move(bound), std::move(lower), std::move(upper), std::move(stride));
234 // Determines lower bound on a dimension. This can be other than 1 only
250 // Operator results and array references always have lower bounds == 1
334 // If the lower bound of the associated entity is not resolved to a
454 // If the upper and lower bounds are constant, return a constant expression for
455 // the extent. In particular, if the upper bound is less than the lower bound,
569 MaybeExtentExpr lower{triplet.lower()};
570 if (!lower) {
571 lower = GetLBOUND(base, dimension, invariantOnly);
573 return CountTrips(std::move(lower), std::move(upper),
596 ExtentExpr &&lower, MaybeExtentExpr &&extent) {
598 if (ToInt64(lower).value_or(0) == 1) {
601 return std::move(*extent) + std::move(lower) - ExtentExpr{1};
609 FoldingContext &context, ExtentExpr &&lower, MaybeExtentExpr &&extent) {
610 return Fold(context, ComputeUpperBound(std::move(lower), std::move(extent)));