Lines Matching refs:OtherMax

1177   APInt OtherMax = Other.getSignedMax();  in smul_fast()  local
1180 auto Muls = {Min.smul_ov(OtherMin, O1), Min.smul_ov(OtherMax, O2), in smul_fast()
1181 Max.smul_ov(OtherMin, O3), Max.smul_ov(OtherMax, O4)}; in smul_fast()
1493 APInt OtherMax = Other.getUnsignedMax(); in shl() local
1494 if (isAllNegative() && OtherMax.ule(Min.countl_one())) { in shl()
1498 Min <<= OtherMax; in shl()
1503 if (OtherMax.ugt(Max.countl_zero())) in shl()
1509 Max <<= OtherMax; in shl()
1633 APInt OtherMax = Other.getSignedMax(); in smul_sat() local
1635 auto L = {Min.smul_sat(OtherMin), Min.smul_sat(OtherMax), in smul_sat()
1636 Max.smul_sat(OtherMin), Max.smul_sat(OtherMax)}; in smul_sat()
1869 APInt OtherMin = Other.getUnsignedMin(), OtherMax = Other.getUnsignedMax(); in unsignedAddMayOverflow() local
1874 if (Max.ugt(~OtherMax)) in unsignedAddMayOverflow()
1885 APInt OtherMin = Other.getSignedMin(), OtherMax = Other.getSignedMax(); in signedAddMayOverflow() local
1895 if (Max.isNegative() && OtherMax.isNegative() && in signedAddMayOverflow()
1896 Max.slt(SignedMin - OtherMax)) in signedAddMayOverflow()
1899 if (Max.isNonNegative() && OtherMax.isNonNegative() && in signedAddMayOverflow()
1900 Max.sgt(SignedMax - OtherMax)) in signedAddMayOverflow()
1915 APInt OtherMin = Other.getUnsignedMin(), OtherMax = Other.getUnsignedMax(); in unsignedSubMayOverflow() local
1920 if (Min.ult(OtherMax)) in unsignedSubMayOverflow()
1931 APInt OtherMin = Other.getSignedMin(), OtherMax = Other.getSignedMax(); in signedSubMayOverflow() local
1938 if (Min.isNonNegative() && OtherMax.isNegative() && in signedSubMayOverflow()
1939 Min.sgt(SignedMax + OtherMax)) in signedSubMayOverflow()
1948 if (Min.isNegative() && OtherMax.isNonNegative() && in signedSubMayOverflow()
1949 Min.slt(SignedMin + OtherMax)) in signedSubMayOverflow()
1961 APInt OtherMin = Other.getUnsignedMin(), OtherMax = Other.getUnsignedMax(); in unsignedMulMayOverflow() local
1968 (void) Max.umul_ov(OtherMax, Overflow); in unsignedMulMayOverflow()