Lines Matching refs:getUpper
110 return ConstantRange(CR.getUpper(), CR.getLower()); in makeAllowedICmpRegion()
220 RHS = getUpper(); in getEquivalentICmp()
221 } else if (getUpper().isMinSignedValue() || getUpper().isMinValue()) { in getEquivalentICmp()
223 getUpper().isMinSignedValue() ? CmpInst::ICMP_SGE : CmpInst::ICMP_UGE; in getEquivalentICmp()
227 RHS = getUpper() - getLower(); in getEquivalentICmp()
429 return getUpper() - 1; in getUnsignedMax()
441 return getUpper() - 1; in getSignedMax()
467 return Lower.ule(Other.getLower()) && Other.getUpper().ule(Upper); in contains()
471 return Other.getUpper().ule(Upper) || in contains()
474 return Other.getUpper().ule(Upper) && Lower.ule(Other.getLower()); in contains()
1013 APInt NewUpper = getUpper() + Other.getUpper() - 1; in add()
1059 APInt NewLower = getLower() - Other.getUpper() + 1; in sub()
1060 APInt NewUpper = getUpper() - Other.getLower(); in sub()
1147 (UR.getUpper().isNonNegative() || UR.getUpper().isMinSignedValue())) in multiply()
1256 if (RHS.getUpper() == 1) in udiv()
1724 if ((getUpper() - 1).isZero()) { in ctlz()
1732 APInt(getBitWidth(), (getUpper() - 1).countl_zero()), in ctlz()
1734 } else if ((getUpper() - 1).isZero()) { in ctlz()