Lines Matching refs:lbound
254 if (shapeSpec.lbound().isExplicit()) { in GetLowerBound()
255 if (const auto &lbound{shapeSpec.lbound().GetExplicit()}) { in GetLowerBound() local
258 auto lbValue{ToInt64(*lbound)}; in GetLowerBound()
262 ok = IsScopeInvariantExpr(*lbound); in GetLowerBound()
273 ExtentExpr{*ubound} - ExtentExpr{*lbound} + in GetLowerBound()
295 return ok ? *lbound : Result{}; in GetLowerBound()
297 return *lbound; in GetLowerBound()
406 const auto &lbound{shapeSpec.lbound().GetExplicit()}; in GetNonNegativeExtent() local
408 std::optional<ConstantSubscript> lval{ToInt64(lbound)}; in GetNonNegativeExtent()
415 } else if (lbound && ubound && IsScopeInvariantExpr(*lbound) && in GetNonNegativeExtent()
425 common::Clone(*ubound) - common::Clone(*lbound) + ExtentExpr{1}}}; in GetNonNegativeExtent()