Searched refs:MulValue (Results 1 – 3 of 3) sorted by relevance
/art/compiler/optimizing/ |
D | induction_var_range_test.cc | 299 Value MulValue(Value v1, Value v2) { return range_.MulValue(v1, v2); } in MulValue() function in art::InductionVarRangeTest 631 TEST_F(InductionVarRangeTest, MulValue) { in TEST_F() argument 632 ExpectEqual(Value(1000), MulValue(Value(10), Value(100))); in TEST_F() 633 ExpectEqual(Value(), MulValue(Value(x_, 1, -4), Value(x_, 1, -1))); in TEST_F() 634 ExpectEqual(Value(), MulValue(Value(x_, 1, 5), Value(y_, 1, -7))); in TEST_F() 635 ExpectEqual(Value(x_, 9, 60), MulValue(Value(x_, 3, 20), Value(3))); in TEST_F() 636 ExpectEqual(Value(y_, 55, -110), MulValue(Value(55), Value(y_, 1, -2))); in TEST_F() 637 ExpectEqual(Value(), MulValue(Value(90000), Value(-90000))); // unsafe in TEST_F() 645 ExpectEqual(Value(), MulValue(Value(min_value), Value(min_value))); in TEST_F() 646 ExpectEqual(Value(), MulValue(Value(min_value), Value(-1))); in TEST_F() [all …]
|
D | induction_var_range.cc | 592 Value t = DivValue(MulValue(m, SubValue(m, Value(1))), Value(2)); in GetPolynomial() 593 Value x = MulValue(Value(a), t); in GetPolynomial() 594 Value y = MulValue(Value(b), m); in GetPolynomial() 779 return is_min ? MulValue(v1_min, v2_min) : MulValue(v1_max, v2_max); in GetMul() 781 return is_min ? MulValue(v1_max, v2_min) : MulValue(v1_min, v2_max); in GetMul() 787 return is_min ? MulValue(v1_min, v2_max) : MulValue(v1_max, v2_min); in GetMul() 789 return is_min ? MulValue(v1_max, v2_max) : MulValue(v1_min, v2_min); in GetMul() 867 return MulValue(GetVal(info, trip, in_body, is_min == value >= 0), c); in MulRangeAndConstant() 913 InductionVarRange::Value InductionVarRange::MulValue(Value v1, Value v2) const { in MulValue() function in art::InductionVarRange
|
D | induction_var_range.h | 280 Value MulValue(Value v1, Value v2) const;
|