Searched refs:SignedMax (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | DivisionByConstantInfo.cpp | 85 APInt SignedMax = APInt::getSignedMaxValue(D.getBitWidth()); in get() local 95 APInt::udivrem(SignedMax, D, Q2, R2); in get() 110 if (Q2.uge(SignedMax)) in get()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LowerSwitch.cpp | 439 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/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantRange.cpp | 1981 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedAddMayOverflow() local 1986 Min.sgt(SignedMax - OtherMin)) in signedAddMayOverflow() 1993 Max.sgt(SignedMax - OtherMax)) in signedAddMayOverflow() 2027 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedSubMayOverflow() local 2032 Min.sgt(SignedMax + OtherMax)) in signedSubMayOverflow() 2039 Max.sgt(SignedMax + OtherMin)) in signedSubMayOverflow()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.cpp | 16605 APInt SignedMax = APInt::getSignedMaxValue(NumDstBits).sext(NumSrcBits); in combineTruncToVnclip() 16612 if (HiC == SignedMax && LoC == SignedMin) in combineTruncToVnclip() 16618 if (HiC == SignedMax && LoC == SignedMin) in combineTruncToVnclip() 16602 APInt SignedMax = APInt::getSignedMaxValue(NumDstBits).sext(NumSrcBits); combineTruncToVnclip() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 51017 APInt SignedMax, SignedMin; in detectSSatPattern() local 51019 SignedMax = APInt::getAllOnes(NumDstBits).zext(NumSrcBits); in detectSSatPattern() 51022 SignedMax = APInt::getSignedMaxValue(NumDstBits).sext(NumSrcBits); in detectSSatPattern() 51026 if (SDValue SMin = MatchMinMax(In, ISD::SMIN, SignedMax)) in detectSSatPattern() 51031 if (SDValue SMin = MatchMinMax(SMax, ISD::SMIN, SignedMax)) in detectSSatPattern()
|