Lines Matching refs:SMax
100 APInt SMax(CR.getSignedMax()); in makeAllowedICmpRegion() local
101 if (SMax.isMinSignedValue()) in makeAllowedICmpRegion()
103 return ConstantRange(APInt::getSignedMinValue(W), std::move(SMax)); in makeAllowedICmpRegion()
250 APInt SMin = Other.getSignedMin(), SMax = Other.getSignedMax(); in makeGuaranteedNoWrapRegion() local
253 SMax.isStrictlyPositive() ? SignedMinVal - SMax : SignedMinVal); in makeGuaranteedNoWrapRegion()
261 APInt SMin = Other.getSignedMin(), SMax = Other.getSignedMax(); in makeGuaranteedNoWrapRegion() local
263 SMax.isStrictlyPositive() ? SignedMinVal + SMax : SignedMinVal, in makeGuaranteedNoWrapRegion()
672 APInt SMax = APInt::getSignedMaxValue(BW).sextOrSelf(ResultBitWidth); in castOp() local
673 return ConstantRange(std::move(SMin), std::move(SMax)); in castOp()
1520 APInt SMin = getSignedMin(), SMax = getSignedMax(); in abs() local
1525 if (SMax.isMinSignedValue()) in abs()
1535 if (SMax.isNegative()) in abs()
1536 return ConstantRange(-SMax, -SMin + 1); in abs()
1540 APIntOps::umax(-SMin, SMax) + 1); in abs()