Home
last modified time | relevance | path

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

/aosp12/art/compiler/optimizing/
H A Dinduction_var_range.cc134 return (IsConstantValue(v) && min <= v.b_constant && v.b_constant <= max) in CorrectForType()
887 int32_t b = v1.b_constant + v2.b_constant; in AddValue()
901 int32_t b = v1.b_constant - v2.b_constant; in SubValue()
916 if (IsSafeMul(v1.b_constant, v2.a_constant) && IsSafeMul(v1.b_constant, v2.b_constant)) { in MulValue()
917 return Value(v2.instruction, v1.b_constant * v2.a_constant, v1.b_constant * v2.b_constant); in MulValue()
920 if (IsSafeMul(v1.a_constant, v2.b_constant) && IsSafeMul(v1.b_constant, v2.b_constant)) { in MulValue()
921 return Value(v1.instruction, v1.a_constant * v2.b_constant, v1.b_constant * v2.b_constant); in MulValue()
930 if (IsSafeDiv(v1.b_constant, v2.b_constant)) { in DivValue()
931 return Value(v1.b_constant / v2.b_constant); in DivValue()
941 is_min ? std::min(v1.b_constant, v2.b_constant) in MergeVal()
[all …]
H A 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
H A Dinduction_var_range_test.cc46 EXPECT_EQ(v1.b_constant, v2.b_constant); in ExpectEqual()
H A Dbounds_check_elimination.cc1504 ValueBound(v1.instruction, v1.b_constant), in InductionRangeFitsIn()
1505 ValueBound(v2.instruction, v2.b_constant)); in InductionRangeFitsIn()