Home
last modified time | relevance | path

Searched refs:SignedMax (Results 1 – 4 of 4) 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/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantRange.cpp220 const APInt &SignedMax = Other.getSignedMax(); in makeGuaranteedNoWrapRegion() local
221 if (SignedMax.isStrictlyPositive()) in makeGuaranteedNoWrapRegion()
225 APInt::getSignedMinValue(BitWidth) - SignedMax)); in makeGuaranteedNoWrapRegion()
245 const APInt &SignedMax = Other.getSignedMax(); in makeGuaranteedNoWrapRegion() local
246 if (SignedMax.isStrictlyPositive()) in makeGuaranteedNoWrapRegion()
249 ConstantRange(APInt::getSignedMinValue(BitWidth) + SignedMax, in makeGuaranteedNoWrapRegion()
/external/swiftshader/third_party/LLVM/lib/Support/
DConstantRange.cpp182 APInt SignedMax(APInt::getSignedMaxValue(getBitWidth())); in getSignedMax() local
187 return SignedMax; in getSignedMax()
190 return SignedMax; in getSignedMax()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp35416 APInt SignedMax, SignedMin; in detectSSatPattern() local
35418 SignedMax = APInt::getAllOnesValue(NumDstBits).zext(NumSrcBits); in detectSSatPattern()
35421 SignedMax = APInt::getSignedMaxValue(NumDstBits).sext(NumSrcBits); in detectSSatPattern()
35425 if (SDValue SMin = MatchMinMax(In, ISD::SMIN, SignedMax)) in detectSSatPattern()
35430 if (SDValue SMin = MatchMinMax(SMax, ISD::SMIN, SignedMax)) in detectSSatPattern()