Searched refs:a_constant (Results 1 – 4 of 4) sorted by relevance
/art/compiler/optimizing/ |
D | induction_var_range.cc | 67 v.a_constant >= 1 && in SimplifyMax() 70 IsIntAndGet(v.instruction->InputAt(1), &value) && v.a_constant == value) { in SimplifyMax() 88 return (v.is_known && v.a_constant == 0 && min <= v.b_constant && v.b_constant <= max) in CorrectForType() 100 return v.is_known && v.a_constant == 0; in IsConstantValue() 258 if (v_min.a_constant == 1 && v_min.b_constant <= 0 && v_min.instruction->IsArrayLength()) { in IsConstant() 523 if (v1.a_constant == 0) { in AddValue() 524 return Value(v2.instruction, v2.a_constant, b); in AddValue() 525 } else if (v2.a_constant == 0) { in AddValue() 526 return Value(v1.instruction, v1.a_constant, b); in AddValue() 527 } else if (v1.instruction == v2.instruction && IsSafeAdd(v1.a_constant, v2.a_constant)) { in AddValue() [all …]
|
D | induction_var_range.h | 45 Value() : instruction(nullptr), a_constant(0), b_constant(0), is_known(false) {} in Value() 47 : instruction(a != 0 ? i : nullptr), a_constant(a), b_constant(b), is_known(true) {} in Value() 51 int32_t a_constant; member
|
D | bounds_check_elimination.cc | 1294 if (v1.is_known && (v1.a_constant == 0 || v1.a_constant == 1) && in InductionRangeFitsIn() 1295 v2.is_known && (v2.a_constant == 0 || v2.a_constant == 1)) { in InductionRangeFitsIn() 1296 DCHECK(v1.a_constant == 1 || v1.instruction == nullptr); in InductionRangeFitsIn() 1297 DCHECK(v2.a_constant == 1 || v2.instruction == nullptr); in InductionRangeFitsIn()
|
D | induction_var_range_test.cc | 46 EXPECT_EQ(v1.a_constant, v2.a_constant); in ExpectEqual()
|