Searched refs:SignedMin (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 209 APInt SignedMin = Other.getSignedMin(); in makeGuaranteedNoWrapRegion() local 218 if (SignedMin.isNegative()) in makeGuaranteedNoWrapRegion() 220 Result, ConstantRange(APInt::getSignedMinValue(BitWidth) - SignedMin, in makeGuaranteedNoWrapRegion() 304 APInt SignedMin(APInt::getSignedMinValue(getBitWidth())); in getSignedMin() local 308 return SignedMin; in getSignedMin() 311 if (getUpper() != SignedMin) in getSignedMin() 312 return SignedMin; in getSignedMin()
|
/external/llvm-project/llvm/lib/IR/ |
D | ConstantRange.cpp | 1123 APInt SignedMin = APInt::getSignedMinValue(getBitWidth()); in sdiv() local 1124 ConstantRange PosFilter(APInt(getBitWidth(), 1), SignedMin); in sdiv() 1125 ConstantRange NegFilter(SignedMin, Zero); in sdiv() 1163 if (NegL.Upper != SignedMin + 1) { in sdiv() 1165 if (Upper == SignedMin + 1) in sdiv() 1567 APInt SignedMin = APInt::getSignedMinValue(getBitWidth()); in signedAddMayOverflow() local 1576 Max.slt(SignedMin - OtherMax)) in signedAddMayOverflow() 1583 Min.slt(SignedMin - OtherMin)) in signedAddMayOverflow() 1613 APInt SignedMin = APInt::getSignedMinValue(getBitWidth()); in signedSubMayOverflow() local 1622 Max.slt(SignedMin + OtherMin)) in signedSubMayOverflow() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantRange.cpp | 1057 APInt SignedMin = APInt::getSignedMinValue(getBitWidth()); in sdiv() local 1058 ConstantRange PosFilter(APInt(getBitWidth(), 1), SignedMin); in sdiv() 1059 ConstantRange NegFilter(SignedMin, Zero); in sdiv() 1097 if (NegL.Upper != SignedMin + 1) { in sdiv() 1099 if (Upper == SignedMin + 1) in sdiv() 1454 APInt SignedMin = APInt::getSignedMinValue(getBitWidth()); in signedAddMayOverflow() local 1463 Max.slt(SignedMin - OtherMax)) in signedAddMayOverflow() 1470 Min.slt(SignedMin - OtherMin)) in signedAddMayOverflow() 1500 APInt SignedMin = APInt::getSignedMinValue(getBitWidth()); in signedSubMayOverflow() local 1509 Max.slt(SignedMin + OtherMin)) in signedSubMayOverflow() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 40993 APInt SignedMax, SignedMin; in detectSSatPattern() local 40996 SignedMin = APInt(NumSrcBits, 0); in detectSSatPattern() 40999 SignedMin = APInt::getSignedMinValue(NumDstBits).sext(NumSrcBits); in detectSSatPattern() 41003 if (SDValue SMax = MatchMinMax(SMin, ISD::SMAX, SignedMin)) in detectSSatPattern() 41006 if (SDValue SMax = MatchMinMax(In, ISD::SMAX, SignedMin)) in detectSSatPattern()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 44198 APInt SignedMax, SignedMin; in detectSSatPattern() local 44201 SignedMin = APInt(NumSrcBits, 0); in detectSSatPattern() 44204 SignedMin = APInt::getSignedMinValue(NumDstBits).sext(NumSrcBits); in detectSSatPattern() 44208 if (SDValue SMax = MatchMinMax(SMin, ISD::SMAX, SignedMin)) in detectSSatPattern() 44211 if (SDValue SMax = MatchMinMax(In, ISD::SMAX, SignedMin)) in detectSSatPattern()
|