Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dinduction_var_range_test.cc298 Value SubValue(Value v1, Value v2) { return range_.SubValue(v1, v2); } in SubValue() function in art::InductionVarRangeTest
619 TEST_F(InductionVarRangeTest, SubValue) { in TEST_F() argument
620 ExpectEqual(Value(-90), SubValue(Value(10), Value(100))); in TEST_F()
621 ExpectEqual(Value(-3), SubValue(Value(x_, 1, -4), Value(x_, 1, -1))); in TEST_F()
622 ExpectEqual(Value(x_, 2, -3), SubValue(Value(x_, 3, -4), Value(x_, 1, -1))); in TEST_F()
623 ExpectEqual(Value(), SubValue(Value(x_, 1, 5), Value(y_, 1, -7))); in TEST_F()
624 ExpectEqual(Value(x_, 1, 17), SubValue(Value(x_, 1, 20), Value(3))); in TEST_F()
625 ExpectEqual(Value(y_, -4, 105), SubValue(Value(55), Value(y_, 4, -50))); in TEST_F()
627 ExpectEqual(Value(min_value), SubValue(Value(min_value + 5), Value(5))); in TEST_F()
628 ExpectEqual(Value(), SubValue(Value(min_value + 5), Value(6))); // unsafe in TEST_F()
Dinduction_var_range.cc586 return SubValue(Value(0), GetVal(&cancelled_trip, trip, in_body, !is_min)); in GetLinear()
614 Value t = DivValue(MulValue(m, SubValue(m, Value(1))), Value(2)); in GetPolynomial()
679 return SubValue(Value(static_cast<int32_t>(value)), in GetFetch()
682 return SubValue(GetFetch(instruction->InputAt(0), trip, in_body, is_min), in GetFetch()
733 return SubValue(GetVal(info->op_a, trip, in_body, is_min), in GetVal()
736 return SubValue(Value(0), in GetVal()
759 return SubValue(GetVal(info->op_a, trip, in_body, is_min), Value(1)); in GetVal()
921 InductionVarRange::Value InductionVarRange::SubValue(Value v1, Value v2) const { in SubValue() function in art::InductionVarRange
Dinduction_var_range.h279 Value SubValue(Value v1, Value v2) const;