Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dinduction_var_range_test.cc269 Value GetDiv(HInductionVarAnalysis::InductionInfo* info1, in GetDiv() function in art::InductionVarRangeTest
272 return range_.GetDiv(info1, info2, nullptr, /* in_body= */ true, is_min); in GetDiv()
540 ExpectEqual(Value(-5), GetDiv(CreateRange(-10, 20), CreateConst(2), true)); in TEST_F()
541 ExpectEqual(Value(-10), GetDiv(CreateRange(-10, 20), CreateConst(-2), true)); in TEST_F()
542 ExpectEqual(Value(10), GetDiv(CreateRange(40, 1000), CreateRange(2, 4), true)); in TEST_F()
543 ExpectEqual(Value(-500), GetDiv(CreateRange(40, 1000), CreateRange(-4, -2), true)); in TEST_F()
544 ExpectEqual(Value(), GetDiv(CreateRange(40, 1000), CreateRange(-1, 1), true)); in TEST_F()
545 ExpectEqual(Value(-500), GetDiv(CreateRange(-1000, -40), CreateRange(2, 4), true)); in TEST_F()
546 ExpectEqual(Value(10), GetDiv(CreateRange(-1000, -40), CreateRange(-4, -2), true)); in TEST_F()
547 ExpectEqual(Value(), GetDiv(CreateRange(-1000, -40), CreateRange(-1, 1), true)); in TEST_F()
[all …]
Dinduction_var_range.h257 Value GetDiv(HInductionVarAnalysis::InductionInfo* info1,
Dinduction_var_range.cc719 return GetDiv(info->op_a, info->op_b, trip, in_body, is_min); in GetVal()
795 InductionVarRange::Value InductionVarRange::GetDiv(HInductionVarAnalysis::InductionInfo* info1, in GetDiv() function in art::InductionVarRange