Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DDivisionByConstantInfo.cpp28 APInt SignedMin = APInt::getSignedMinValue(D.getBitWidth()); in get() local
32 APInt T = SignedMin + (D.lshr(D.getBitWidth() - 1)); in get()
37 APInt::udivrem(SignedMin, ANC, Q1, R1); in get()
39 APInt::udivrem(SignedMin, AD, Q2, R2); in get()
84 APInt SignedMin = APInt::getSignedMinValue(D.getBitWidth()); in get() local
93 APInt::udivrem(SignedMin, NC, Q1, R1); in get()
120 if (Q2.uge(SignedMin)) in get()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp1349 APInt SignedMin = APInt::getSignedMinValue(getBitWidth()); in sdiv() local
1353 : ConstantRange(APInt(getBitWidth(), 1), SignedMin); in sdiv()
1354 ConstantRange NegFilter(SignedMin, Zero); in sdiv()
1392 if (NegL.Upper != SignedMin + 1) { in sdiv()
1394 if (Upper == SignedMin + 1) in sdiv()
1980 APInt SignedMin = APInt::getSignedMinValue(getBitWidth()); in signedAddMayOverflow() local
1989 Max.slt(SignedMin - OtherMax)) in signedAddMayOverflow()
1996 Min.slt(SignedMin - OtherMin)) in signedAddMayOverflow()
2026 APInt SignedMin = APInt::getSignedMinValue(getBitWidth()); in signedSubMayOverflow() local
2035 Max.slt(SignedMin + OtherMin)) in signedSubMayOverflow()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp440 APInt SignedMin = APInt::getSignedMinValue(BitWidth); in ProcessSwitchInst() local
441 IntRange R = {SignedMin, SignedMax}; in ProcessSwitchInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp16603 APInt SignedMin = APInt::getSignedMinValue(NumDstBits).sext(NumSrcBits); in combineTruncToVnclip() local
16609 if (HiC == SignedMax && LoC == SignedMin) in combineTruncToVnclip()
16615 if (HiC == SignedMax && LoC == SignedMin) in combineTruncToVnclip()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp51017 APInt SignedMax, SignedMin; in detectSSatPattern() local
51020 SignedMin = APInt(NumSrcBits, 0); in detectSSatPattern()
51023 SignedMin = APInt::getSignedMinValue(NumDstBits).sext(NumSrcBits); in detectSSatPattern()
51027 if (SDValue SMax = MatchMinMax(SMin, ISD::SMAX, SignedMin)) in detectSSatPattern()
51030 if (SDValue SMax = MatchMinMax(In, ISD::SMAX, SignedMin)) in detectSSatPattern()