Home
last modified time | relevance | path

Searched refs:SignedMax (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/IR/
DConstantRange.cpp210 APInt SignedMax = Other.getSignedMax(); in makeGuaranteedNoWrapRegion() local
212 if (SignedMax.isStrictlyPositive()) in makeGuaranteedNoWrapRegion()
216 APInt::getSignedMinValue(BitWidth) - SignedMax)); in makeGuaranteedNoWrapRegion()
289 APInt SignedMax(APInt::getSignedMaxValue(getBitWidth())); in getSignedMax() local
293 return SignedMax; in getSignedMax()
296 return SignedMax; in getSignedMax()
/external/llvm-project/llvm/lib/IR/
DConstantRange.cpp1568 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedAddMayOverflow() local
1573 Min.sgt(SignedMax - OtherMin)) in signedAddMayOverflow()
1580 Max.sgt(SignedMax - OtherMax)) in signedAddMayOverflow()
1614 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedSubMayOverflow() local
1619 Min.sgt(SignedMax + OtherMax)) in signedSubMayOverflow()
1626 Max.sgt(SignedMax + OtherMin)) in signedSubMayOverflow()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp1455 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedAddMayOverflow() local
1460 Min.sgt(SignedMax - OtherMin)) in signedAddMayOverflow()
1467 Max.sgt(SignedMax - OtherMax)) in signedAddMayOverflow()
1501 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedSubMayOverflow() local
1506 Min.sgt(SignedMax + OtherMax)) in signedSubMayOverflow()
1513 Max.sgt(SignedMax + OtherMin)) in signedSubMayOverflow()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp40993 APInt SignedMax, SignedMin; in detectSSatPattern() local
40995 SignedMax = APInt::getAllOnesValue(NumDstBits).zext(NumSrcBits); in detectSSatPattern()
40998 SignedMax = APInt::getSignedMaxValue(NumDstBits).sext(NumSrcBits); in detectSSatPattern()
41002 if (SDValue SMin = MatchMinMax(In, ISD::SMIN, SignedMax)) in detectSSatPattern()
41007 if (SDValue SMin = MatchMinMax(SMax, ISD::SMIN, SignedMax)) in detectSSatPattern()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp44198 APInt SignedMax, SignedMin; in detectSSatPattern() local
44200 SignedMax = APInt::getAllOnesValue(NumDstBits).zext(NumSrcBits); in detectSSatPattern()
44203 SignedMax = APInt::getSignedMaxValue(NumDstBits).sext(NumSrcBits); in detectSSatPattern()
44207 if (SDValue SMin = MatchMinMax(In, ISD::SMIN, SignedMax)) in detectSSatPattern()
44212 if (SDValue SMin = MatchMinMax(SMax, ISD::SMIN, SignedMax)) in detectSSatPattern()