Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dinduction_var_range.cc122 if (v.is_known && v.a_constant == 1 && v.b_constant <= 0) { in SimplifyMin()
126 return InductionVarRange::Value(v.b_constant); in SimplifyMin()
141 return InductionVarRange::Value(v.instruction->InputAt(0), 1, v.b_constant); in SimplifyMax()
146 return InductionVarRange::Value(suitable, 1, v.b_constant); in SimplifyMax()
167 return (IsConstantValue(v) && min <= v.b_constant && v.b_constant <= max) in CorrectForType()
444 IsConstantValue(max_val) && min_val.b_constant <= max_val.b_constant) { in IsConstant()
445 if ((request == kExact && min_val.b_constant == max_val.b_constant) || request == kAtMost) { in IsConstant()
446 *value = max_val.b_constant; in IsConstant()
449 *value = min_val.b_constant; in IsConstant()
783 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.cc47 EXPECT_EQ(v1.b_constant, v2.b_constant); in ExpectEqual()
Dbounds_check_elimination.cc1320 ValueBound(v1.instruction, v1.b_constant), in InductionRangeFitsIn()
1321 ValueBound(v2.instruction, v2.b_constant)); in InductionRangeFitsIn()