Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dbounds_check_elimination.cc207 static ValueBound NarrowLowerBound(ValueBound bound1, ValueBound bound2) { in NarrowLowerBound() argument
208 if (bound1.GreaterThanOrEqualTo(bound2)) { in NarrowLowerBound()
211 if (bound2.GreaterThanOrEqualTo(bound1)) { in NarrowLowerBound()
212 return bound2; in NarrowLowerBound()
217 return bound1.IsConstant() ? bound1 : bound2; in NarrowLowerBound()
222 static ValueBound NarrowUpperBound(ValueBound bound1, ValueBound bound2) { in NarrowUpperBound() argument
223 if (bound1.LessThanOrEqualTo(bound2)) { in NarrowUpperBound()
226 if (bound2.LessThanOrEqualTo(bound1)) { in NarrowUpperBound()
227 return bound2; in NarrowUpperBound()
232 return bound1.IsRelatedToArrayLength() ? bound1 : bound2; in NarrowUpperBound()