Home
last modified time | relevance | path

Searched refs:OtherMax (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp1436 APInt OtherMin = Other.getUnsignedMin(), OtherMax = Other.getUnsignedMax(); in unsignedAddMayOverflow() local
1441 if (Max.ugt(~OtherMax)) in unsignedAddMayOverflow()
1452 APInt OtherMin = Other.getSignedMin(), OtherMax = Other.getSignedMax(); in signedAddMayOverflow() local
1462 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() local
1487 if (Min.ult(OtherMax)) in unsignedSubMayOverflow()
1498 APInt OtherMin = Other.getSignedMin(), OtherMax = Other.getSignedMax(); in signedSubMayOverflow() local
[all …]
/external/llvm-project/llvm/lib/IR/
DConstantRange.cpp1549 APInt OtherMin = Other.getUnsignedMin(), OtherMax = Other.getUnsignedMax(); in unsignedAddMayOverflow() local
1554 if (Max.ugt(~OtherMax)) in unsignedAddMayOverflow()
1565 APInt OtherMin = Other.getSignedMin(), OtherMax = Other.getSignedMax(); in signedAddMayOverflow() local
1575 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() local
1600 if (Min.ult(OtherMax)) in unsignedSubMayOverflow()
1611 APInt OtherMin = Other.getSignedMin(), OtherMax = Other.getSignedMax(); in signedSubMayOverflow() local
[all …]