Lines Matching refs:GetDiv
299 Value GetDiv(HInductionVarAnalysis::InductionInfo* info1, in GetDiv() function in art::InductionVarRangeTest
305 return range_.GetDiv(context, &loop, info1, info2, nullptr, is_min); in GetDiv()
761 ExpectEqual(Value(-5), GetDiv(CreateRange(-10, 20), CreateConst(2), true)); in TEST_F()
762 ExpectEqual(Value(-10), GetDiv(CreateRange(-10, 20), CreateConst(-2), true)); in TEST_F()
763 ExpectEqual(Value(10), GetDiv(CreateRange(40, 1000), CreateRange(2, 4), true)); in TEST_F()
764 ExpectEqual(Value(-500), GetDiv(CreateRange(40, 1000), CreateRange(-4, -2), true)); in TEST_F()
765 ExpectEqual(Value(), GetDiv(CreateRange(40, 1000), CreateRange(-1, 1), true)); in TEST_F()
766 ExpectEqual(Value(-500), GetDiv(CreateRange(-1000, -40), CreateRange(2, 4), true)); in TEST_F()
767 ExpectEqual(Value(10), GetDiv(CreateRange(-1000, -40), CreateRange(-4, -2), true)); in TEST_F()
768 ExpectEqual(Value(), GetDiv(CreateRange(-1000, -40), CreateRange(-1, 1), true)); in TEST_F()
769 ExpectEqual(Value(), GetDiv(CreateRange(-1, 1), CreateRange(40, 1000), true)); in TEST_F()
770 ExpectEqual(Value(), GetDiv(CreateRange(-1, 1), CreateRange(-1000, -40), true)); in TEST_F()
771 ExpectEqual(Value(), GetDiv(CreateRange(-1, 1), CreateRange(-1, 1), true)); in TEST_F()
775 ExpectEqual(Value(10), GetDiv(CreateRange(-10, 20), CreateConst(2), false)); in TEST_F()
776 ExpectEqual(Value(5), GetDiv(CreateRange(-10, 20), CreateConst(-2), false)); in TEST_F()
777 ExpectEqual(Value(500), GetDiv(CreateRange(40, 1000), CreateRange(2, 4), false)); in TEST_F()
778 ExpectEqual(Value(-10), GetDiv(CreateRange(40, 1000), CreateRange(-4, -2), false)); in TEST_F()
779 ExpectEqual(Value(), GetDiv(CreateRange(40, 1000), CreateRange(-1, 1), false)); in TEST_F()
780 ExpectEqual(Value(-10), GetDiv(CreateRange(-1000, -40), CreateRange(2, 4), false)); in TEST_F()
781 ExpectEqual(Value(500), GetDiv(CreateRange(-1000, -40), CreateRange(-4, -2), false)); in TEST_F()
782 ExpectEqual(Value(), GetDiv(CreateRange(-1000, -40), CreateRange(-1, 1), false)); in TEST_F()
783 ExpectEqual(Value(), GetDiv(CreateRange(-1, 1), CreateRange(40, 1000), false)); in TEST_F()
784 ExpectEqual(Value(), GetDiv(CreateRange(-1, 1), CreateRange(-1000, 40), false)); in TEST_F()
785 ExpectEqual(Value(), GetDiv(CreateRange(-1, 1), CreateRange(-1, 1), false)); in TEST_F()