Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dinduction_var_range_test.cc236 Value DivValue(Value v1, Value v2) { return range_.DivValue(v1, v2); } in DivValue() function in art::InductionVarRangeTest
517 TEST_F(InductionVarRangeTest, DivValue) { in TEST_F() argument
518 ExpectEqual(Value(25), DivValue(Value(100), Value(4))); in TEST_F()
519 ExpectEqual(Value(), DivValue(Value(x_, 1, -4), Value(x_, 1, -1))); in TEST_F()
520 ExpectEqual(Value(), DivValue(Value(x_, 1, 5), Value(y_, 1, -7))); in TEST_F()
521 ExpectEqual(Value(), DivValue(Value(x_, 12, 24), Value(3))); in TEST_F()
522 ExpectEqual(Value(), DivValue(Value(55), Value(y_, 1, -50))); in TEST_F()
523 ExpectEqual(Value(), DivValue(Value(1), Value(0))); // unsafe in TEST_F()
531 ExpectEqual(Value(), DivValue(Value(min_value), Value(-1))); in TEST_F()
534 ExpectEqual(Value(1), DivValue(Value(min_value), Value(min_value))); in TEST_F()
[all …]
Dinduction_var_range.cc490 return is_min ? DivValue(v1_min, v2_max) : DivValue(v1_max, v2_min); in GetDiv()
492 return is_min ? DivValue(v1_max, v2_max) : DivValue(v1_min, v2_min); in GetDiv()
498 return is_min ? DivValue(v1_min, v2_min) : DivValue(v1_max, v2_max); in GetDiv()
500 return is_min ? DivValue(v1_max, v2_min) : DivValue(v1_min, v2_max); in GetDiv()
517 return is_min == (c.b_constant >= 0) ? DivValue(v_min, c) : DivValue(v_max, c); in DivRangeAndConstant()
563 InductionVarRange::Value InductionVarRange::DivValue(Value v1, Value v2) const { in DivValue() function in art::InductionVarRange
Dinduction_var_range.h170 Value DivValue(Value v1, Value v2) const;