Lines Matching refs:getUpper
109 return ConstantRange(CR.getUpper(), CR.getLower()); in makeAllowedICmpRegion()
219 RHS = getUpper(); in getEquivalentICmp()
220 } else if (getUpper().isMinSignedValue() || getUpper().isMinValue()) { in getEquivalentICmp()
222 getUpper().isMinSignedValue() ? CmpInst::ICMP_SGE : CmpInst::ICMP_UGE; in getEquivalentICmp()
226 RHS = getUpper() - getLower(); in getEquivalentICmp()
428 return getUpper() - 1; in getUnsignedMax()
440 return getUpper() - 1; in getSignedMax()
466 return Lower.ule(Other.getLower()) && Other.getUpper().ule(Upper); in contains()
470 return Other.getUpper().ule(Upper) || in contains()
473 return Other.getUpper().ule(Upper) && Lower.ule(Other.getLower()); in contains()
996 APInt NewUpper = getUpper() + Other.getUpper() - 1; in add()
1042 APInt NewLower = getLower() - Other.getUpper() + 1; in sub()
1043 APInt NewUpper = getUpper() - Other.getLower(); in sub()
1116 (UR.getUpper().isNonNegative() || UR.getUpper().isMinSignedValue())) in multiply()
1225 if (RHS.getUpper() == 1) in udiv()