Lines Matching refs:upper

305   ValueRange(ArenaAllocator* allocator, ValueBound lower, ValueBound upper)  in ValueRange()  argument
306 : allocator_(allocator), lower_(lower), upper_(upper) {} in ValueRange()
358 ValueBound upper = upper_.Add(constant, &overflow, &underflow); in Add() local
364 return new (allocator_) ValueRange(allocator_, lower, upper); in Add()
440 int32_t upper = std::numeric_limits<int32_t>::max(); in Narrow() local
444 upper = upper_bound.GetConstant(); in Narrow()
447 upper = max_array_len + upper_bound.GetConstant(); in Narrow()
456 int32_t last_num_in_sequence = upper; in Narrow()
459 if (upper <= initial_constant) { in Narrow()
460 last_num_in_sequence = upper; in Narrow()
464 ((int64_t)upper - (int64_t)initial_constant) / increment_ * increment_; in Narrow()
477 ValueBound upper = ValueBound::NarrowUpperBound(bound_, range->GetUpper()); in Narrow() local
478 if ((!upper.IsConstant() || upper.GetConstant() == std::numeric_limits<int32_t>::max()) && in Narrow()
479 !upper.IsRelatedToArrayLength()) { in Narrow()
489 return new (GetAllocator()) ValueRange(GetAllocator(), range->GetLower(), upper); in Narrow()
734 ValueBound upper = bound; in HandleIf() local
749 upper = right_range->GetUpper(); in HandleIf()
752 upper = ValueBound::Max(); in HandleIf()
758 if (!upper.Equals(ValueBound::Max())) { in HandleIf()
760 ValueBound new_upper = upper.Add(compensation, &overflow, &underflow); in HandleIf()
793 if (!upper.Equals(ValueBound::Max())) { in HandleIf()
795 ValueBound new_upper = upper.Add(compensation, &overflow, &underflow); in HandleIf()
819 ValueBound upper = ValueBound(array_length, -1); // array_length - 1 in VisitBoundsCheck() local
820 ValueRange array_range(GetGraph()->GetArena(), lower, upper); in VisitBoundsCheck()
868 ValueBound upper = ValueBound::Max(); in VisitBoundsCheck() local
870 ValueRange(GetGraph()->GetArena(), lower, upper); in VisitBoundsCheck()
1014 ValueBound upper = right_range->GetUpper(); in VisitSub() local
1015 if (lower.IsConstant() && upper.IsRelatedToArrayLength()) { in VisitSub()
1016 HInstruction* upper_inst = upper.GetInstruction(); in VisitSub()
1021 int32_t c2 = upper.GetConstant(); in VisitSub()
1030 ValueBound(nullptr, right_const - upper.GetConstant()), in VisitSub()
1123 ValueBound upper = ValueBound(new_array, -right_const); in VisitNewArray() local
1125 ValueRange(GetGraph()->GetArena(), lower, upper); in VisitNewArray()
1179 HInstruction* upper = GetGraph()->GetIntConstant(max_c); in AddCompareWithDeoptimization() local
1185 upper = new (GetGraph()->GetArena()) HAdd(Primitive::kPrimInt, base, upper); in AddCompareWithDeoptimization()
1187 block->InsertInstructionBefore(upper, bounds_check); in AddCompareWithDeoptimization()
1188 InsertDeoptInBlock(bounds_check, new (GetGraph()->GetArena()) HAbove(lower, upper)); in AddCompareWithDeoptimization()
1190 … InsertDeoptInBlock(bounds_check, new (GetGraph()->GetArena()) HAboveOrEqual(upper, array_length)); in AddCompareWithDeoptimization()
1337 HInstruction* upper = nullptr; in TryDynamicBCE() local
1348 induction_range_.GenerateRangeCode(instruction, index, GetGraph(), block, &lower, &upper); in TryDynamicBCE()
1350 InsertDeoptInLoop(loop, block, new (GetGraph()->GetArena()) HAbove(lower, upper)); in TryDynamicBCE()
1352 InsertDeoptInLoop(loop, block, new (GetGraph()->GetArena()) HAboveOrEqual(upper, length)); in TryDynamicBCE()