Lines Matching refs:DivValue
348 Value DivValue(Value v1, Value v2) { return range_.DivValue(v1, v2); } in DivValue() function in art::InductionVarRangeTest
879 TEST_F(InductionVarRangeTest, DivValue) { in TEST_F() argument
880 ExpectEqual(Value(25), DivValue(Value(100), Value(4))); in TEST_F()
881 ExpectEqual(Value(), DivValue(Value(x_, 1, -4), Value(x_, 1, -1))); in TEST_F()
882 ExpectEqual(Value(), DivValue(Value(x_, 1, 5), Value(y_, 1, -7))); in TEST_F()
883 ExpectEqual(Value(), DivValue(Value(x_, 12, 24), Value(3))); in TEST_F()
884 ExpectEqual(Value(), DivValue(Value(55), Value(y_, 1, -50))); in TEST_F()
885 ExpectEqual(Value(), DivValue(Value(1), Value(0))); // unsafe in TEST_F()
893 ExpectEqual(Value(), DivValue(Value(min_value), Value(-1))); in TEST_F()
896 ExpectEqual(Value(1), DivValue(Value(min_value), Value(min_value))); in TEST_F()
897 ExpectEqual(Value(1), DivValue(Value(max_value), Value(max_value))); in TEST_F()
898 ExpectEqual(Value(min_value), DivValue(Value(min_value), Value(1))); in TEST_F()
899 ExpectEqual(Value(max_value), DivValue(Value(max_value), Value(1))); in TEST_F()
900 ExpectEqual(Value(-max_value), DivValue(Value(max_value), Value(-1))); in TEST_F()
901 ExpectEqual(Value(-1), DivValue(Value(1), Value(-1))); in TEST_F()
902 ExpectEqual(Value(1), DivValue(Value(-1), Value(-1))); in TEST_F()