Home
last modified time | relevance | path

Searched refs:b_constant (Results 1 – 4 of 4) sorted by relevance

/art/compiler/optimizing/
Dinduction_var_range.cc110 if (v.is_known && v.a_constant == 1 && v.b_constant <= 0) { in SimplifyMin()
114 return InductionVarRange::Value(v.b_constant); in SimplifyMin()
129 return InductionVarRange::Value(v.instruction->InputAt(0), 1, v.b_constant); in SimplifyMax()
134 return InductionVarRange::Value(suitable, 1, v.b_constant); in SimplifyMax()
156 return (IsConstantValue(v) && min <= v.b_constant && v.b_constant <= max) in CorrectForType()
451 IsConstantValue(max_val) && min_val.b_constant <= max_val.b_constant) { in IsConstant()
452 if ((request == kExact && min_val.b_constant == max_val.b_constant) || request == kAtMost) { in IsConstant()
453 *value = max_val.b_constant; in IsConstant()
456 *value = min_val.b_constant; in IsConstant()
799 if (IsConstantValue(v1_min) && v1_min.b_constant >= 0) { in GetMul()
[all …]
Dinduction_var_range.h46 Value() : instruction(nullptr), a_constant(0), b_constant(0), is_known(false) {} in Value()
48 : instruction(a != 0 ? i : nullptr), a_constant(a), b_constant(b), is_known(true) {} in Value()
53 int32_t b_constant; member
Dinduction_var_range_test.cc46 EXPECT_EQ(v1.b_constant, v2.b_constant); in ExpectEqual()
Dbounds_check_elimination.cc1403 ValueBound(v1.instruction, v1.b_constant), in InductionRangeFitsIn()
1404 ValueBound(v2.instruction, v2.b_constant)); in InductionRangeFitsIn()