Home
last modified time | relevance | path

Searched refs:LowBits (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp769 APInt LowBits = RA - 1; in SimplifyDemandedUseBits() local
770 APInt Mask2 = LowBits | APInt::getSignBit(BitWidth); in SimplifyDemandedUseBits()
776 KnownZero = LHSKnownZero & LowBits; in SimplifyDemandedUseBits()
777 KnownOne = LHSKnownOne & LowBits; in SimplifyDemandedUseBits()
781 if (LHSKnownZero[BitWidth-1] || ((LHSKnownZero & LowBits) == LowBits)) in SimplifyDemandedUseBits()
782 KnownZero |= ~LowBits; in SimplifyDemandedUseBits()
786 if (LHSKnownOne[BitWidth-1] && ((LHSKnownOne & LowBits) != 0)) in SimplifyDemandedUseBits()
787 KnownOne |= ~LowBits; in SimplifyDemandedUseBits()
DInstCombineShifts.cpp133 unsigned LowBits = TypeWidth - CI->getZExtValue(); in CanEvaluateShifted() local
135 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits, in CanEvaluateShifted()
158 unsigned LowBits = CI->getZExtValue() - NumBits; in CanEvaluateShifted() local
160 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits, in CanEvaluateShifted()
/external/llvm/lib/Analysis/
DValueTracking.cpp1254 APInt LowBits = RA - 1; in computeKnownBits() local
1259 KnownZero = KnownZero2 & LowBits; in computeKnownBits()
1260 KnownOne = KnownOne2 & LowBits; in computeKnownBits()
1264 if (KnownZero2[BitWidth-1] || ((KnownZero2 & LowBits) == LowBits)) in computeKnownBits()
1265 KnownZero |= ~LowBits; in computeKnownBits()
1269 if (KnownOne2[BitWidth-1] && ((KnownOne2 & LowBits) != 0)) in computeKnownBits()
1270 KnownOne |= ~LowBits; in computeKnownBits()
1292 APInt LowBits = (RA - 1); in computeKnownBits() local
1295 KnownZero |= ~LowBits; in computeKnownBits()
1296 KnownOne &= LowBits; in computeKnownBits()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2189 unsigned LowBits = Log2_32(BitWidth)+1; in computeKnownBits() local
2190 KnownZero = APInt::getHighBitsSet(BitWidth, BitWidth - LowBits); in computeKnownBits()
2326 APInt LowBits = RA - 1; in computeKnownBits() local
2330 KnownZero = KnownZero2 & LowBits; in computeKnownBits()
2331 KnownOne = KnownOne2 & LowBits; in computeKnownBits()
2335 if (KnownZero2[BitWidth-1] || ((KnownZero2 & LowBits) == LowBits)) in computeKnownBits()
2336 KnownZero |= ~LowBits; in computeKnownBits()
2340 if (KnownOne2[BitWidth-1] && ((KnownOne2 & LowBits) != 0)) in computeKnownBits()
2341 KnownOne |= ~LowBits; in computeKnownBits()
2350 APInt LowBits = (RA - 1); in computeKnownBits() local
[all …]
DDAGCombiner.cpp4354 unsigned LowBits = OpSizeInBits - (unsigned)N1C->getZExtValue(); in visitSRA() local
4355 EVT ExtVT = EVT::getIntegerVT(*DAG.getContext(), LowBits); in visitSRA()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp5662 APInt LowBits(EltTy.getSizeInBits(), in NormalizeBuildVector() local
5664 Lane = DAG.getConstant(LowBits.getZExtValue(), MVT::i32); in NormalizeBuildVector()