Home
last modified time | relevance | path

Searched refs:bound1 (Results 1 – 1 of 1) sorted by relevance

/art/compiler/optimizing/
Dbounds_check_elimination.cc221 static ValueBound NarrowLowerBound(ValueBound bound1, ValueBound bound2) { in NarrowLowerBound() argument
222 if (bound1.GreaterThanOrEqualTo(bound2)) { in NarrowLowerBound()
223 return bound1; in NarrowLowerBound()
225 if (bound2.GreaterThanOrEqualTo(bound1)) { in NarrowLowerBound()
231 return bound1.IsConstant() ? bound1 : bound2; in NarrowLowerBound()
236 static ValueBound NarrowUpperBound(ValueBound bound1, ValueBound bound2) { in NarrowUpperBound() argument
237 if (bound1.LessThanOrEqualTo(bound2)) { in NarrowUpperBound()
238 return bound1; in NarrowUpperBound()
240 if (bound2.LessThanOrEqualTo(bound1)) { in NarrowUpperBound()
246 return bound1.IsRelatedToArrayLength() ? bound1 : bound2; in NarrowUpperBound()