Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DDivisionByConstantInfo.cpp84 APInt SignedMax = APInt::getSignedMaxValue(D.getBitWidth()); in get() local
94 APInt::udivrem(SignedMax, D, Q2, R2); in get()
109 if (Q2.uge(SignedMax)) in get()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp439 APInt SignedMax = APInt::getSignedMaxValue(BitWidth); in ProcessSwitchInst() local
441 IntRange R = {SignedMin, SignedMax}; in ProcessSwitchInst()
456 if (High.ne(SignedMax)) { in ProcessSwitchInst()
457 IntRange R = {High + 1, SignedMax}; in ProcessSwitchInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp1888 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedAddMayOverflow() local
1893 Min.sgt(SignedMax - OtherMin)) in signedAddMayOverflow()
1900 Max.sgt(SignedMax - OtherMax)) in signedAddMayOverflow()
1934 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedSubMayOverflow() local
1939 Min.sgt(SignedMax + OtherMax)) in signedSubMayOverflow()
1946 Max.sgt(SignedMax + OtherMin)) in signedSubMayOverflow()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp49681 APInt SignedMax, SignedMin; in detectSSatPattern() local
49683 SignedMax = APInt::getAllOnes(NumDstBits).zext(NumSrcBits); in detectSSatPattern()
49686 SignedMax = APInt::getSignedMaxValue(NumDstBits).sext(NumSrcBits); in detectSSatPattern()
49690 if (SDValue SMin = MatchMinMax(In, ISD::SMIN, SignedMax)) in detectSSatPattern()
49695 if (SDValue SMin = MatchMinMax(SMax, ISD::SMIN, SignedMax)) in detectSSatPattern()