Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dinduction_var_range_test.cc235 Value MulValue(Value v1, Value v2) { return range_.MulValue(v1, v2); } in MulValue() function in art::InductionVarRangeTest
490 TEST_F(InductionVarRangeTest, MulValue) { in TEST_F() argument
491 ExpectEqual(Value(1000), MulValue(Value(10), Value(100))); in TEST_F()
492 ExpectEqual(Value(), MulValue(Value(x_, 1, -4), Value(x_, 1, -1))); in TEST_F()
493 ExpectEqual(Value(), MulValue(Value(x_, 1, 5), Value(y_, 1, -7))); in TEST_F()
494 ExpectEqual(Value(x_, 9, 60), MulValue(Value(x_, 3, 20), Value(3))); in TEST_F()
495 ExpectEqual(Value(y_, 55, -110), MulValue(Value(55), Value(y_, 1, -2))); in TEST_F()
496 ExpectEqual(Value(), MulValue(Value(90000), Value(-90000))); // unsafe in TEST_F()
504 ExpectEqual(Value(), MulValue(Value(min_value), Value(min_value))); in TEST_F()
505 ExpectEqual(Value(), MulValue(Value(min_value), Value(-1))); in TEST_F()
[all …]
Dinduction_var_range.cc458 return is_min ? MulValue(v1_min, v2_min) : MulValue(v1_max, v2_max); in GetMul()
460 return is_min ? MulValue(v1_max, v2_min) : MulValue(v1_min, v2_max); in GetMul()
466 return is_min ? MulValue(v1_min, v2_max) : MulValue(v1_max, v2_min); in GetMul()
468 return is_min ? MulValue(v1_max, v2_max) : MulValue(v1_min, v2_min); in GetMul()
510 return is_min == (c.b_constant >= 0) ? MulValue(v_min, c) : MulValue(v_max, c); in MulRangeAndConstant()
548 InductionVarRange::Value InductionVarRange::MulValue(Value v1, Value v2) const { in MulValue() function in art::InductionVarRange
602 …return AddValue(MulValue(Value(v.a_constant), GetVal(info, trip, in_body, is_min)), Value(v.b_cons… in RefineOuter()
Dinduction_var_range.h169 Value MulValue(Value v1, Value v2) const;