Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dinduction_var_range_test.cc347 Value DivValue(Value v1, Value v2) { return range_.DivValue(v1, v2); } in DivValue() function in art::InductionVarRangeTest
878 TEST_F(InductionVarRangeTest, DivValue) { in TEST_F() argument
879 ExpectEqual(Value(25), DivValue(Value(100), Value(4))); in TEST_F()
880 ExpectEqual(Value(), DivValue(Value(x_, 1, -4), Value(x_, 1, -1))); in TEST_F()
881 ExpectEqual(Value(), DivValue(Value(x_, 1, 5), Value(y_, 1, -7))); in TEST_F()
882 ExpectEqual(Value(), DivValue(Value(x_, 12, 24), Value(3))); in TEST_F()
883 ExpectEqual(Value(), DivValue(Value(55), Value(y_, 1, -50))); in TEST_F()
884 ExpectEqual(Value(), DivValue(Value(1), Value(0))); // unsafe in TEST_F()
892 ExpectEqual(Value(), DivValue(Value(min_value), Value(-1))); in TEST_F()
895 ExpectEqual(Value(1), DivValue(Value(min_value), Value(min_value))); in TEST_F()
[all …]
Dinduction_var_range.cc656 Value t = DivValue(MulValue(m, SubValue(m, Value(1))), Value(2)); in GetPolynomial()
891 return is_min ? DivValue(v1_min, v2_max) : DivValue(v1_max, v2_min); in GetDiv()
893 return is_min ? DivValue(v1_max, v2_max) : DivValue(v1_min, v2_min); in GetDiv()
899 return is_min ? DivValue(v1_min, v2_min) : DivValue(v1_max, v2_max); in GetDiv()
901 return is_min ? DivValue(v1_max, v2_min) : DivValue(v1_min, v2_max); in GetDiv()
967 return DivValue(GetVal(context, loop, info, trip, is_min == value >= 0), c); in DivRangeAndConstant()
1015 InductionVarRange::Value InductionVarRange::DivValue(Value v1, Value v2) const { in DivValue() function in art::InductionVarRange
Dinduction_var_range.h300 Value DivValue(Value v1, Value v2) const;