Lines Matching refs:getUpper
67 return ConstantRange(CR.getUpper(), CR.getLower()); in makeAllowedICmpRegion()
153 RHS = getUpper(); in getEquivalentICmp()
155 } else if (getUpper().isMinSignedValue() || getUpper().isMinValue()) { in getEquivalentICmp()
157 getUpper().isMinSignedValue() ? CmpInst::ICMP_SGE : CmpInst::ICMP_UGE; in getEquivalentICmp()
273 return getUpper() - 1; in getUnsignedMax()
280 if (isFullSet() || (isWrappedSet() && getUpper() != 0)) in getUnsignedMin()
291 if (getLower().sle(getUpper() - 1)) in getSignedMax()
292 return getUpper() - 1; in getSignedMax()
295 if (getLower().isNegative() == getUpper().isNegative()) in getSignedMax()
297 return getUpper() - 1; in getSignedMax()
306 if (getLower().sle(getUpper() - 1)) in getSignedMin()
310 if ((getUpper() - 1).slt(getLower())) { in getSignedMin()
311 if (getUpper() != SignedMin) in getSignedMin()
340 return Lower.ule(Other.getLower()) && Other.getUpper().ule(Upper); in contains()
344 return Other.getUpper().ule(Upper) || in contains()
347 return Other.getUpper().ule(Upper) && Lower.ule(Other.getLower()); in contains()
657 APInt NewUpper = getUpper() + Other.getUpper() - 1; in add()
677 APInt NewLower = getLower() - Other.getUpper() + 1; in sub()
678 APInt NewUpper = getUpper() - Other.getLower(); in sub()
808 if (RHS.getUpper() == 1) in udiv()