Home
last modified time | relevance | path

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

/freebsd-14.2/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()
83 APInt SignedMin = APInt::getSignedMinValue(D.getBitWidth()); in get() local
92 APInt::udivrem(SignedMin, NC, Q1, R1); in get()
119 if (Q2.uge(SignedMin)) in get()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp1271 APInt SignedMin = APInt::getSignedMinValue(getBitWidth()); in sdiv() local
1275 : ConstantRange(APInt(getBitWidth(), 1), SignedMin); in sdiv()
1276 ConstantRange NegFilter(SignedMin, Zero); in sdiv()
1314 if (NegL.Upper != SignedMin + 1) { in sdiv()
1316 if (Upper == SignedMin + 1) in sdiv()
1887 APInt SignedMin = APInt::getSignedMinValue(getBitWidth()); in signedAddMayOverflow() local
1896 Max.slt(SignedMin - OtherMax)) in signedAddMayOverflow()
1903 Min.slt(SignedMin - OtherMin)) in signedAddMayOverflow()
1933 APInt SignedMin = APInt::getSignedMinValue(getBitWidth()); in signedSubMayOverflow() local
1942 Max.slt(SignedMin + OtherMin)) in signedSubMayOverflow()
[all …]
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp49681 APInt SignedMax, SignedMin; in detectSSatPattern() local
49684 SignedMin = APInt(NumSrcBits, 0); in detectSSatPattern()
49687 SignedMin = APInt::getSignedMinValue(NumDstBits).sext(NumSrcBits); in detectSSatPattern()
49691 if (SDValue SMax = MatchMinMax(SMin, ISD::SMAX, SignedMin)) in detectSSatPattern()
49694 if (SDValue SMax = MatchMinMax(In, ISD::SMAX, SignedMin)) in detectSSatPattern()