Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dbounds_check_elimination.cc178 static ValueBound NarrowLowerBound(ValueBound bound1, ValueBound bound2) { in NarrowLowerBound() argument
179 if (bound1.GreaterThanOrEqualTo(bound2)) { in NarrowLowerBound()
182 if (bound2.GreaterThanOrEqualTo(bound1)) { in NarrowLowerBound()
183 return bound2; in NarrowLowerBound()
188 return bound1.IsConstant() ? bound1 : bound2; in NarrowLowerBound()
193 static ValueBound NarrowUpperBound(ValueBound bound1, ValueBound bound2) { in NarrowUpperBound() argument
194 if (bound1.LessThanOrEqualTo(bound2)) { in NarrowUpperBound()
197 if (bound2.LessThanOrEqualTo(bound1)) { in NarrowUpperBound()
198 return bound2; in NarrowUpperBound()
203 return bound1.IsRelatedToArrayLength() ? bound1 : bound2; in NarrowUpperBound()