Lines Matching refs:getUpper
70 return ConstantRange(CR.getUpper(), CR.getLower()); in makeAllowedICmpRegion()
164 RHS = getUpper(); in getEquivalentICmp()
166 } else if (getUpper().isMinSignedValue() || getUpper().isMinValue()) { in getEquivalentICmp()
168 getUpper().isMinSignedValue() ? CmpInst::ICMP_SGE : CmpInst::ICMP_UGE; in getEquivalentICmp()
368 return getUpper() - 1; in getUnsignedMax()
372 if (isFullSet() || (isWrappedSet() && !getUpper().isNullValue())) in getUnsignedMin()
380 return getUpper() - 1; in getSignedMax()
384 if (isFullSet() || (Lower.sgt(Upper) && !getUpper().isMinSignedValue())) in getSignedMin()
406 return Lower.ule(Other.getLower()) && Other.getUpper().ule(Upper); in contains()
410 return Other.getUpper().ule(Upper) || in contains()
413 return Other.getUpper().ule(Upper) && Lower.ule(Other.getLower()); in contains()
768 APInt NewUpper = getUpper() + Other.getUpper() - 1; in add()
800 APInt NewLower = getLower() - Other.getUpper() + 1; in sub()
801 APInt NewUpper = getUpper() - Other.getLower(); in sub()
844 (UR.getUpper().isNonNegative() || UR.getUpper().isMinSignedValue())) in multiply()
932 if (RHS.getUpper() == 1) in udiv()