Home | History | Annotate | Download | only in optimizing

Lines Matching full:right_const

1608     int32_t right_const = 0;
1609 if (ValueBound::IsAddOrSubAConstant(left, &left_of_left, &right_const)) {
1612 // The value of left input of the sub equals (left + right_const).
1624 int32_t c0 = right_const;
1635 ValueBound(nullptr, right_const - upper.GetConstant()),
1636 ValueBound(array_length, right_const - lower.GetConstant()));
1649 int32_t right_const;
1651 right_const = right->AsIntConstant()->GetValue();
1653 if ((instruction->IsDiv() && right_const <= 1) ||
1654 (instruction->IsShr() && right_const < 1) ||
1655 (instruction->IsUShr() && right_const < 1)) {
1720 int32_t right_const;
1721 if (ValueBound::IsAddOrSubAConstant(len, &left, &right_const)) {
1722 // (left + right_const) is used as size to new the array.
1723 // We record "-right_const <= left <= new_array - right_const";
1724 ValueBound lower = ValueBound(nullptr, -right_const);
1728 ValueBound upper = ValueBound(new_array, -right_const);