Lines Matching refs:GetConstant
137 int32_t GetConstant() const { return constant_; } in GetConstant() function in art::ValueBound
414 if (!lower.IsConstant() || lower.GetConstant() == std::numeric_limits<int32_t>::min()) { in Narrow()
430 upper = upper_bound.GetConstant(); in Narrow()
431 } else if (upper_bound.IsRelatedToArrayLength() && upper_bound.GetConstant() <= 0) { in Narrow()
433 upper = max_array_len + upper_bound.GetConstant(); in Narrow()
464 if ((!upper.IsConstant() || upper.GetConstant() == std::numeric_limits<int32_t>::max()) && in Narrow()
473 int32_t constant = range->GetLower().GetConstant(); in Narrow()
645 right_range->GetBound().GetConstant() < 0) { in HandleIfBetweenTwoMonotonicValueRanges()
805 if (lower.GetConstant() == 0 && upper.GetConstant() == 0) { in HandleIf()
849 existing_range->GetLower().GetConstant() > 0) { in VisitBoundsCheck()
850 ValueBound constant_upper(nullptr, existing_range->GetLower().GetConstant() - 1); in VisitBoundsCheck()
883 if (constant < lower.GetConstant()) { in VisitBoundsCheck()
1157 int32_t c1 = lower.GetConstant(); in VisitSub()
1158 int32_t c2 = upper.GetConstant(); in VisitSub()
1167 ValueBound(nullptr, right_const - upper.GetConstant()), in VisitSub()
1168 ValueBound(array_length, right_const - lower.GetConstant())); in VisitSub()
1414 int32_t min_c = base == nullptr ? 0 : value.GetConstant(); in AddComparesWithDeoptimization()
1415 int32_t max_c = value.GetConstant(); in AddComparesWithDeoptimization()
1443 int32_t other_c = other_value.GetConstant(); in AddComparesWithDeoptimization()
1457 int32_t other_c = ValueBound::AsValueBound(other_index).GetConstant(); in AddComparesWithDeoptimization()
1533 int32_t min_c = base == nullptr ? 0 : value.GetConstant(); in TransformLoopForDynamicBCE()
1534 int32_t max_c = value.GetConstant(); in TransformLoopForDynamicBCE()
1546 int32_t other_c = other_value.GetConstant(); in TransformLoopForDynamicBCE()
1568 int32_t other_c = ValueBound::AsValueBound(other_index).GetConstant(); in TransformLoopForDynamicBCE()
1590 int32_t other_c = ValueBound::AsValueBound(other_index).GetConstant(); in TransformLoopForDynamicBCE()
1983 default: zero = graph->GetConstant(type, 0); break; in NewPhi()