Lines Matching refs:right_const
1037 int32_t right_const = 0; in VisitSub() local
1038 if (ValueBound::IsAddOrSubAConstant(left, &left_of_left, &right_const)) { in VisitSub()
1053 int32_t c0 = right_const; in VisitSub()
1064 ValueBound(nullptr, right_const - upper.GetConstant()), in VisitSub()
1065 ValueBound(array_length, right_const - lower.GetConstant())); in VisitSub()
1078 int32_t right_const; in FindAndHandlePartialArrayLength() local
1080 right_const = right->AsIntConstant()->GetValue(); in FindAndHandlePartialArrayLength()
1082 if ((instruction->IsDiv() && right_const <= 1) || in FindAndHandlePartialArrayLength()
1083 (instruction->IsShr() && right_const < 1) || in FindAndHandlePartialArrayLength()
1084 (instruction->IsUShr() && right_const < 1)) { in FindAndHandlePartialArrayLength()
1152 int32_t right_const = std::abs(right->AsIntConstant()->GetValue()); in VisitRem() local
1153 if (right_const == 0) { in VisitRem()
1164 ValueBound(nullptr, 1 - right_const), in VisitRem()
1165 ValueBound(nullptr, right_const - 1)); in VisitRem()
1209 int32_t right_const; in VisitNewArray() local
1210 if (ValueBound::IsAddOrSubAConstant(len, &left, &right_const)) { in VisitNewArray()
1213 ValueBound lower = ValueBound(nullptr, -right_const); in VisitNewArray()
1217 ValueBound upper = ValueBound(new_array, -right_const); in VisitNewArray()