Lines Matching refs:right_const
1039 int32_t right_const = 0; in VisitSub() local
1040 if (ValueBound::IsAddOrSubAConstant(left, &left_of_left, &right_const)) { in VisitSub()
1055 int32_t c0 = right_const; in VisitSub()
1066 ValueBound(nullptr, right_const - upper.GetConstant()), in VisitSub()
1067 ValueBound(array_length, right_const - lower.GetConstant())); in VisitSub()
1080 int32_t right_const; in FindAndHandlePartialArrayLength() local
1082 right_const = right->AsIntConstant()->GetValue(); in FindAndHandlePartialArrayLength()
1084 if ((instruction->IsDiv() && right_const <= 1) || in FindAndHandlePartialArrayLength()
1085 (instruction->IsShr() && right_const < 1) || in FindAndHandlePartialArrayLength()
1086 (instruction->IsUShr() && right_const < 1)) { in FindAndHandlePartialArrayLength()
1154 int32_t right_const = std::abs(right->AsIntConstant()->GetValue()); in VisitRem() local
1155 if (right_const == 0) { in VisitRem()
1166 ValueBound(nullptr, 1 - right_const), in VisitRem()
1167 ValueBound(nullptr, right_const - 1)); in VisitRem()
1211 int32_t right_const; in VisitNewArray() local
1212 if (ValueBound::IsAddOrSubAConstant(len, &left, &right_const)) { in VisitNewArray()
1215 ValueBound lower = ValueBound(nullptr, -right_const); in VisitNewArray()
1219 ValueBound upper = ValueBound(new_array, -right_const); in VisitNewArray()