Home
last modified time | relevance | path

Searched refs:a_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()
134 if (v.is_known && v.a_constant >= 1) { in SimplifyMax()
140 IsInt64AndGet(v.instruction->InputAt(1), &value) && v.a_constant == value) { in SimplifyMax()
145 if (v.a_constant == 1 && IsMaxAtHint(v.instruction, hint, &suitable)) { in SimplifyMax()
154 return v.is_known && v.a_constant == 0; in IsConstantValue()
894 if (v1.a_constant == 0) { in AddValue()
895 return Value(v2.instruction, v2.a_constant, b); in AddValue()
896 } else if (v2.a_constant == 0) { in AddValue()
897 return Value(v1.instruction, v1.a_constant, b); in AddValue()
898 } else if (v1.instruction == v2.instruction && IsSafeAdd(v1.a_constant, v2.a_constant)) { in AddValue()
[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()
52 int32_t a_constant; member
Dbounds_check_elimination.cc1315 if (v1.is_known && (v1.a_constant == 0 || v1.a_constant == 1) && in InductionRangeFitsIn()
1316 v2.is_known && (v2.a_constant == 0 || v2.a_constant == 1)) { in InductionRangeFitsIn()
1317 DCHECK(v1.a_constant == 1 || v1.instruction == nullptr); in InductionRangeFitsIn()
1318 DCHECK(v2.a_constant == 1 || v2.instruction == nullptr); in InductionRangeFitsIn()
Dinduction_var_range_test.cc46 EXPECT_EQ(v1.a_constant, v2.a_constant); in ExpectEqual()