• Home
  • Raw
  • Download

Lines Matching refs:upper

291   ValueRange(ScopedArenaAllocator* allocator, ValueBound lower, ValueBound upper)  in ValueRange()  argument
292 : allocator_(allocator), lower_(lower), upper_(upper) {} in ValueRange()
344 ValueBound upper = upper_.Add(constant, &overflow, &underflow); in Add() local
350 return new (allocator_) ValueRange(allocator_, lower, upper); in Add()
426 int32_t upper = std::numeric_limits<int32_t>::max(); in Narrow() local
430 upper = upper_bound.GetConstant(); in Narrow()
433 upper = max_array_len + upper_bound.GetConstant(); in Narrow()
442 int32_t last_num_in_sequence = upper; in Narrow()
445 if (upper <= initial_constant) { in Narrow()
446 last_num_in_sequence = upper; in Narrow()
450 ((int64_t)upper - (int64_t)initial_constant) / increment_ * increment_; in Narrow()
463 ValueBound upper = ValueBound::NarrowUpperBound(bound_, range->GetUpper()); in Narrow() local
464 if ((!upper.IsConstant() || upper.GetConstant() == std::numeric_limits<int32_t>::max()) && in Narrow()
465 !upper.IsRelatedToArrayLength()) { in Narrow()
475 return new (GetAllocator()) ValueRange(GetAllocator(), range->GetLower(), upper); in Narrow()
722 ValueBound upper = bound; in HandleIf() local
737 upper = right_range->GetUpper(); in HandleIf()
740 upper = ValueBound::Max(); in HandleIf()
746 if (!upper.Equals(ValueBound::Max())) { in HandleIf()
748 ValueBound new_upper = upper.Add(compensation, &overflow, &underflow); in HandleIf()
781 if (!upper.Equals(ValueBound::Max())) { in HandleIf()
783 ValueBound new_upper = upper.Add(compensation, &overflow, &underflow); in HandleIf()
793 if (lower.IsConstant() && upper.IsConstant()) { in HandleIf()
797 if (!lower.Equals(ValueBound::Min()) || !upper.Equals(ValueBound::Max())) { in HandleIf()
798 ValueRange* new_range = new (&allocator_) ValueRange(&allocator_, lower, upper); in HandleIf()
805 if (lower.GetConstant() == 0 && upper.GetConstant() == 0) { in HandleIf()
812 } else if (lower.IsRelatedToArrayLength() && lower.Equals(upper)) { in HandleIf()
816 ValueRange* new_range = new (&allocator_) ValueRange(&allocator_, lower, upper); in HandleIf()
835 ValueBound upper = ValueBound(array_length, -1); // array_length - 1 in VisitBoundsCheck() local
836 ValueRange array_range(&allocator_, lower, upper); in VisitBoundsCheck()
900 ValueBound upper = ValueBound::Max(); in VisitBoundsCheck() local
901 ValueRange* range = new (&allocator_) ValueRange(&allocator_, lower, upper); in VisitBoundsCheck()
1050 ValueBound upper = right_range->GetUpper(); in VisitSub() local
1051 if (lower.IsConstant() && upper.IsRelatedToArrayLength()) { in VisitSub()
1052 HInstruction* upper_inst = upper.GetInstruction(); in VisitSub()
1057 int32_t c2 = upper.GetConstant(); in VisitSub()
1066 ValueBound(nullptr, right_const - upper.GetConstant()), in VisitSub()
1193 ValueBound upper = ValueBound(right, -1); // array_length - 1 in VisitRem() local
1197 upper); in VisitRem()
1219 ValueBound upper = ValueBound(new_array, -right_const); in VisitNewArray() local
1220 ValueRange* range = new (&allocator_) ValueRange(&allocator_, lower, upper); in VisitNewArray()
1280 HInstruction* upper = GetGraph()->GetIntConstant(max_c); in AddCompareWithDeoptimization() local
1286 upper = new (GetGraph()->GetAllocator()) HAdd(DataType::Type::kInt32, base, upper); in AddCompareWithDeoptimization()
1288 block->InsertInstructionBefore(upper, bounds_check); in AddCompareWithDeoptimization()
1289 InsertDeoptInBlock(bounds_check, new (GetGraph()->GetAllocator()) HAbove(lower, upper)); in AddCompareWithDeoptimization()
1292 bounds_check, new (GetGraph()->GetAllocator()) HAboveOrEqual(upper, array_length)); in AddCompareWithDeoptimization()