Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dinduction_var_range_test.cc234 Value SubValue(Value v1, Value v2) { return range_.SubValue(v1, v2); } in SubValue() function in art::InductionVarRangeTest
478 TEST_F(InductionVarRangeTest, SubValue) { in TEST_F() argument
479 ExpectEqual(Value(-90), SubValue(Value(10), Value(100))); in TEST_F()
480 ExpectEqual(Value(-3), SubValue(Value(x_, 1, -4), Value(x_, 1, -1))); in TEST_F()
481 ExpectEqual(Value(x_, 2, -3), SubValue(Value(x_, 3, -4), Value(x_, 1, -1))); in TEST_F()
482 ExpectEqual(Value(), SubValue(Value(x_, 1, 5), Value(y_, 1, -7))); in TEST_F()
483 ExpectEqual(Value(x_, 1, 17), SubValue(Value(x_, 1, 20), Value(3))); in TEST_F()
484 ExpectEqual(Value(y_, -4, 105), SubValue(Value(55), Value(y_, 4, -50))); in TEST_F()
486 ExpectEqual(Value(min_value), SubValue(Value(min_value + 5), Value(5))); in TEST_F()
487 ExpectEqual(Value(), SubValue(Value(min_value + 5), Value(6))); // unsafe in TEST_F()
Dinduction_var_range.h168 Value SubValue(Value v1, Value v2) const;
Dinduction_var_range.cc337 return SubValue(Value(0), GetVal(&cancelled_trip, trip, in_body, !is_min)); in GetLinear()
395 return SubValue(GetVal(info->op_a, trip, in_body, is_min), in GetVal()
398 return SubValue(Value(0), in GetVal()
417 return SubValue(GetVal(info->op_a, trip, in_body, is_min), Value(1)); in GetVal()
534 InductionVarRange::Value InductionVarRange::SubValue(Value v1, Value v2) const { in SubValue() function in art::InductionVarRange