Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dinduction_var_range.cc71 return InductionVarRange::Value(v.instruction->InputAt(0), 1, v.b_constant); in SimplifyMax()
88 return (v.is_known && v.a_constant == 0 && min <= v.b_constant && v.b_constant <= max) in CorrectForType()
105 return IsConstantValue(v1) && IsConstantValue(v2) && v1.b_constant == v2.b_constant; in IsSameConstantValue()
176 v1_max.b_constant > v2_min.b_constant) { in RefineOuter()
245 … if (IsConstantValue(v_min) && IsConstantValue(v_max) && v_min.b_constant <= v_max.b_constant) { in IsConstant()
246 if ((request == kExact && v_min.b_constant == v_max.b_constant) || request == kAtMost) { in IsConstant()
247 *value = v_max.b_constant; in IsConstant()
250 *value = v_min.b_constant; in IsConstant()
258 if (v_min.a_constant == 1 && v_min.b_constant <= 0 && v_min.instruction->IsArrayLength()) { in IsConstant()
259 *value = v_min.b_constant; in IsConstant()
[all …]
Dinduction_var_range.h45 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()
52 int32_t b_constant; member
Dinduction_var_range_test.cc47 EXPECT_EQ(v1.b_constant, v2.b_constant); in ExpectEqual()
Dbounds_check_elimination.cc1299 ValueBound(v1.instruction, v1.b_constant), in InductionRangeFitsIn()
1300 ValueBound(v2.instruction, v2.b_constant)); in InductionRangeFitsIn()