Searched refs:OtherMax (Results 1 – 2 of 2) sorted by relevance
1436 APInt OtherMin = Other.getUnsignedMin(), OtherMax = Other.getUnsignedMax(); in unsignedAddMayOverflow() local1441 if (Max.ugt(~OtherMax)) in unsignedAddMayOverflow()1452 APInt OtherMin = Other.getSignedMin(), OtherMax = Other.getSignedMax(); in signedAddMayOverflow() local1462 if (Max.isNegative() && OtherMax.isNegative() && in signedAddMayOverflow()1463 Max.slt(SignedMin - OtherMax)) in signedAddMayOverflow()1466 if (Max.isNonNegative() && OtherMax.isNonNegative() && in signedAddMayOverflow()1467 Max.sgt(SignedMax - OtherMax)) in signedAddMayOverflow()1482 APInt OtherMin = Other.getUnsignedMin(), OtherMax = Other.getUnsignedMax(); in unsignedSubMayOverflow() local1487 if (Min.ult(OtherMax)) in unsignedSubMayOverflow()1498 APInt OtherMin = Other.getSignedMin(), OtherMax = Other.getSignedMax(); in signedSubMayOverflow() local[all …]
1549 APInt OtherMin = Other.getUnsignedMin(), OtherMax = Other.getUnsignedMax(); in unsignedAddMayOverflow() local1554 if (Max.ugt(~OtherMax)) in unsignedAddMayOverflow()1565 APInt OtherMin = Other.getSignedMin(), OtherMax = Other.getSignedMax(); in signedAddMayOverflow() local1575 if (Max.isNegative() && OtherMax.isNegative() && in signedAddMayOverflow()1576 Max.slt(SignedMin - OtherMax)) in signedAddMayOverflow()1579 if (Max.isNonNegative() && OtherMax.isNonNegative() && in signedAddMayOverflow()1580 Max.sgt(SignedMax - OtherMax)) in signedAddMayOverflow()1595 APInt OtherMin = Other.getUnsignedMin(), OtherMax = Other.getUnsignedMax(); in unsignedSubMayOverflow() local1600 if (Min.ult(OtherMax)) in unsignedSubMayOverflow()1611 APInt OtherMin = Other.getSignedMin(), OtherMax = Other.getSignedMax(); in signedSubMayOverflow() local[all …]