Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/lib/Support/
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()
/openbsd/src/gnu/llvm/llvm/lib/IR/
DConstantRange.cpp1237 APInt SignedMin = APInt::getSignedMinValue(getBitWidth()); in sdiv() local
1241 : ConstantRange(APInt(getBitWidth(), 1), SignedMin); in sdiv()
1242 ConstantRange NegFilter(SignedMin, Zero); in sdiv()
1280 if (NegL.Upper != SignedMin + 1) { in sdiv()
1282 if (Upper == SignedMin + 1) in sdiv()
1694 APInt SignedMin = APInt::getSignedMinValue(getBitWidth()); in signedAddMayOverflow() local
1703 Max.slt(SignedMin - OtherMax)) in signedAddMayOverflow()
1710 Min.slt(SignedMin - OtherMin)) in signedAddMayOverflow()
1740 APInt SignedMin = APInt::getSignedMinValue(getBitWidth()); in signedSubMayOverflow() local
1749 Max.slt(SignedMin + OtherMin)) in signedSubMayOverflow()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp440 APInt SignedMin = APInt::getSignedMinValue(BitWidth); in ProcessSwitchInst() local
441 IntRange R = {SignedMin, SignedMax}; in ProcessSwitchInst()
/openbsd/src/gnu/llvm/llvm/lib/Target/X86/
DX86ISelLowering.cpp50010 APInt SignedMax, SignedMin; in detectSSatPattern() local
50013 SignedMin = APInt(NumSrcBits, 0); in detectSSatPattern()
50016 SignedMin = APInt::getSignedMinValue(NumDstBits).sext(NumSrcBits); in detectSSatPattern()
50020 if (SDValue SMax = MatchMinMax(SMin, ISD::SMAX, SignedMin)) in detectSSatPattern()
50023 if (SDValue SMax = MatchMinMax(In, ISD::SMAX, SignedMin)) in detectSSatPattern()