Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dinduction_var_range_test.cc347 Value MulValue(Value v1, Value v2) { return range_.MulValue(v1, v2); } in MulValue() function in art::InductionVarRangeTest
852 TEST_F(InductionVarRangeTest, MulValue) { in TEST_F() argument
853 ExpectEqual(Value(1000), MulValue(Value(10), Value(100))); in TEST_F()
854 ExpectEqual(Value(), MulValue(Value(x_, 1, -4), Value(x_, 1, -1))); in TEST_F()
855 ExpectEqual(Value(), MulValue(Value(x_, 1, 5), Value(y_, 1, -7))); in TEST_F()
856 ExpectEqual(Value(x_, 9, 60), MulValue(Value(x_, 3, 20), Value(3))); in TEST_F()
857 ExpectEqual(Value(y_, 55, -110), MulValue(Value(55), Value(y_, 1, -2))); in TEST_F()
858 ExpectEqual(Value(), MulValue(Value(90000), Value(-90000))); // unsafe in TEST_F()
866 ExpectEqual(Value(), MulValue(Value(min_value), Value(min_value))); in TEST_F()
867 ExpectEqual(Value(), MulValue(Value(min_value), Value(-1))); in TEST_F()
[all …]
Dinduction_var_range.cc666 Value t = DivValue(MulValue(m, SubValue(m, Value(1))), Value(2)); in GetPolynomial()
667 Value x = MulValue(Value(a), t); in GetPolynomial()
668 Value y = MulValue(Value(b), m); in GetPolynomial()
866 return is_min ? MulValue(v1_min, v2_min) : MulValue(v1_max, v2_max); in GetMul()
868 return is_min ? MulValue(v1_max, v2_min) : MulValue(v1_min, v2_max); in GetMul()
874 return is_min ? MulValue(v1_min, v2_max) : MulValue(v1_max, v2_min); in GetMul()
876 return is_min ? MulValue(v1_max, v2_max) : MulValue(v1_min, v2_min); in GetMul()
963 return MulValue(GetVal(context, loop, info, trip, is_min == value >= 0), c); in MulRangeAndConstant()
1010 InductionVarRange::Value InductionVarRange::MulValue(Value v1, Value v2) const { in MulValue() function in art::InductionVarRange
Dinduction_var_range.h300 Value MulValue(Value v1, Value v2) const;