• Home
  • Raw
  • Download

Lines Matching refs:lower

291   ValueRange(ScopedArenaAllocator* allocator, ValueBound lower, ValueBound upper)  in ValueRange()  argument
292 : allocator_(allocator), lower_(lower), upper_(upper) {} in ValueRange()
338 ValueBound lower = lower_.Add(constant, &overflow, &underflow); in Add() local
350 return new (allocator_) ValueRange(allocator_, lower, upper); in Add()
413 ValueBound lower = ValueBound::NarrowLowerBound(bound_, range->GetLower()); in Narrow() local
414 if (!lower.IsConstant() || lower.GetConstant() == std::numeric_limits<int32_t>::min()) { in Narrow()
455 return new (GetAllocator()) ValueRange(GetAllocator(), lower, range->GetUpper()); in Narrow()
721 ValueBound lower = bound; in HandleIf() local
736 lower = right_range->GetLower(); in HandleIf()
739 lower = ValueBound::Min(); in HandleIf()
758 if (!lower.Equals(ValueBound::Min()) && !lower.IsRelatedToArrayLength()) { in HandleIf()
760 ValueBound new_lower = lower.Add(compensation, &overflow, &underflow); in HandleIf()
770 if (!lower.Equals(ValueBound::Min()) && !lower.IsRelatedToArrayLength()) { in HandleIf()
772 ValueBound new_lower = lower.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()
834 ValueBound lower = ValueBound(nullptr, 0); // constant 0 in VisitBoundsCheck() local
836 ValueRange array_range(&allocator_, lower, upper); in VisitBoundsCheck()
851 ValueRange constant_array_range(&allocator_, lower, constant_upper); in VisitBoundsCheck()
881 ValueBound lower = existing_range->GetLower(); in VisitBoundsCheck() local
882 DCHECK(lower.IsConstant()); in VisitBoundsCheck()
883 if (constant < lower.GetConstant()) { in VisitBoundsCheck()
899 ValueBound lower = ValueBound(nullptr, constant + 1); in VisitBoundsCheck() local
901 ValueRange* range = new (&allocator_) ValueRange(&allocator_, lower, upper); in VisitBoundsCheck()
1150 ValueBound lower = right_range->GetLower(); in VisitSub() local
1152 if (lower.IsConstant() && upper.IsRelatedToArrayLength()) { in VisitSub()
1157 int32_t c1 = lower.GetConstant(); in VisitSub()
1168 ValueBound(array_length, right_const - lower.GetConstant())); in VisitSub()
1293 ValueBound lower = ValueBound::Min(); // ideally, lower should be '1-array_length'. in VisitRem() local
1297 lower, in VisitRem()
1316 ValueBound lower = ValueBound(nullptr, -right_const); in VisitNewArray() local
1321 ValueRange* range = new (&allocator_) ValueRange(&allocator_, lower, upper); in VisitNewArray()
1385 HInstruction* lower = new (GetGraph()->GetAllocator()) in AddCompareWithDeoptimization() local
1388 block->InsertInstructionBefore(lower, bounds_check); in AddCompareWithDeoptimization()
1390 InsertDeoptInBlock(bounds_check, new (GetGraph()->GetAllocator()) HAbove(lower, upper)); in AddCompareWithDeoptimization()