Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dinduction_var_range.cc88 if (v.is_known && v.a_constant == 1 && v.b_constant <= 0) { in SimplifyMin()
92 return InductionVarRange::Value(v.b_constant); in SimplifyMin()
107 return InductionVarRange::Value(v.instruction->InputAt(0), 1, v.b_constant); in SimplifyMax()
112 return InductionVarRange::Value(suitable, 1, v.b_constant); in SimplifyMax()
134 return (IsConstantValue(v) && min <= v.b_constant && v.b_constant <= max) in CorrectForType()
429 IsConstantValue(max_val) && min_val.b_constant <= max_val.b_constant) { in IsConstant()
430 if ((request == kExact && min_val.b_constant == max_val.b_constant) || request == kAtMost) { in IsConstant()
431 *value = max_val.b_constant; in IsConstant()
434 *value = min_val.b_constant; in IsConstant()
777 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.cc1504 ValueBound(v1.instruction, v1.b_constant), in InductionRangeFitsIn()
1505 ValueBound(v2.instruction, v2.b_constant)); in InductionRangeFitsIn()