Searched refs:DivValue (Results 1 – 3 of 3) sorted by relevance
/art/compiler/optimizing/ |
D | induction_var_range_test.cc | 300 Value DivValue(Value v1, Value v2) { return range_.DivValue(v1, v2); } in DivValue() function in art::InductionVarRangeTest 658 TEST_F(InductionVarRangeTest, DivValue) { in TEST_F() argument 659 ExpectEqual(Value(25), DivValue(Value(100), Value(4))); in TEST_F() 660 ExpectEqual(Value(), DivValue(Value(x_, 1, -4), Value(x_, 1, -1))); in TEST_F() 661 ExpectEqual(Value(), DivValue(Value(x_, 1, 5), Value(y_, 1, -7))); in TEST_F() 662 ExpectEqual(Value(), DivValue(Value(x_, 12, 24), Value(3))); in TEST_F() 663 ExpectEqual(Value(), DivValue(Value(55), Value(y_, 1, -50))); in TEST_F() 664 ExpectEqual(Value(), DivValue(Value(1), Value(0))); // unsafe in TEST_F() 672 ExpectEqual(Value(), DivValue(Value(min_value), Value(-1))); in TEST_F() 675 ExpectEqual(Value(1), DivValue(Value(min_value), Value(min_value))); in TEST_F() [all …]
|
D | induction_var_range.cc | 592 Value t = DivValue(MulValue(m, SubValue(m, Value(1))), Value(2)); in GetPolynomial() 813 return is_min ? DivValue(v1_min, v2_max) : DivValue(v1_max, v2_min); in GetDiv() 815 return is_min ? DivValue(v1_max, v2_max) : DivValue(v1_min, v2_min); in GetDiv() 821 return is_min ? DivValue(v1_min, v2_min) : DivValue(v1_max, v2_max); in GetDiv() 823 return is_min ? DivValue(v1_max, v2_min) : DivValue(v1_min, v2_max); in GetDiv() 880 return DivValue(GetVal(info, trip, in_body, is_min == value >= 0), c); in DivRangeAndConstant() 928 InductionVarRange::Value InductionVarRange::DivValue(Value v1, Value v2) const { in DivValue() function in art::InductionVarRange
|
D | induction_var_range.h | 281 Value DivValue(Value v1, Value v2) const;
|