Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dinduction_var_range_test.cc215 Value GetDiv(HInductionVarAnalysis::InductionInfo* info1, in GetDiv() function in art::InductionVarRangeTest
218 return range_.GetDiv(info1, info2, nullptr, /* in_body */ true, is_min); in GetDiv()
439 ExpectEqual(Value(-5), GetDiv(CreateRange(-10, 20), CreateConst(2), true)); in TEST_F()
440 ExpectEqual(Value(-10), GetDiv(CreateRange(-10, 20), CreateConst(-2), true)); in TEST_F()
441 ExpectEqual(Value(10), GetDiv(CreateRange(40, 1000), CreateRange(2, 4), true)); in TEST_F()
442 ExpectEqual(Value(-500), GetDiv(CreateRange(40, 1000), CreateRange(-4, -2), true)); in TEST_F()
443 ExpectEqual(Value(), GetDiv(CreateRange(40, 1000), CreateRange(-1, 1), true)); in TEST_F()
444 ExpectEqual(Value(-500), GetDiv(CreateRange(-1000, -40), CreateRange(2, 4), true)); in TEST_F()
445 ExpectEqual(Value(10), GetDiv(CreateRange(-1000, -40), CreateRange(-4, -2), true)); in TEST_F()
446 ExpectEqual(Value(), GetDiv(CreateRange(-1000, -40), CreateRange(-1, 1), true)); in TEST_F()
[all …]
Dinduction_var_range.h158 Value GetDiv(HInductionVarAnalysis::InductionInfo* info1,
Dinduction_var_range.cc403 return GetDiv(info->op_a, info->op_b, trip, in_body, is_min); in GetVal()
474 InductionVarRange::Value InductionVarRange::GetDiv(HInductionVarAnalysis::InductionInfo* info1, in GetDiv() function in art::InductionVarRange