Lines Matching refs:smax
72 APInt SMax(CR.getSignedMax());
73 if (SMax.isMinSignedValue())
75 return ConstantRange(APInt::getSignedMinValue(W), SMax);
84 APInt SMax(CR.getSignedMax());
85 if (SMax.isMaxSignedValue())
87 return ConstantRange(APInt::getSignedMinValue(W), SMax + 1);
598 ConstantRange::smax(const ConstantRange &Other) const {
599 // X smax Y is: range(smax(X_smin, Y_smin),
600 // smax(X_smax, Y_smax))
603 APInt NewL = APIntOps::smax(getSignedMin(), Other.getSignedMin());
604 APInt NewU = APIntOps::smax(getSignedMax(), Other.getSignedMax()) + 1;