Home
last modified time | relevance | path

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

/external/llvm/lib/Target/PowerPC/
DPPCJITInfo.cpp450 unsigned LowBits = (*RelocPos + ResultPtr) & 65535; in relocate() local
452 *RelocPos = LowBits | HighBits; // Slam into low 16-bits in relocate()
459 unsigned LowBits = (*RelocPos + ResultPtr) & 0xFFFC; in relocate() local
461 *RelocPos = LowBits | HighBits; // Slam into low 14-bits. in relocate()
/external/llvm/lib/Analysis/
DValueTracking.cpp550 APInt LowBits = RA - 1; in ComputeMaskedBits() local
554 KnownZero = KnownZero2 & LowBits; in ComputeMaskedBits()
555 KnownOne = KnownOne2 & LowBits; in ComputeMaskedBits()
559 if (KnownZero2[BitWidth-1] || ((KnownZero2 & LowBits) == LowBits)) in ComputeMaskedBits()
560 KnownZero |= ~LowBits; in ComputeMaskedBits()
564 if (KnownOne2[BitWidth-1] && ((KnownOne2 & LowBits) != 0)) in ComputeMaskedBits()
565 KnownOne |= ~LowBits; in ComputeMaskedBits()
587 APInt LowBits = (RA - 1); in ComputeMaskedBits() local
591 KnownZero |= ~LowBits; in ComputeMaskedBits()
592 KnownOne &= LowBits; in ComputeMaskedBits()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp726 APInt LowBits = RA - 1; in SimplifyDemandedUseBits() local
727 APInt Mask2 = LowBits | APInt::getSignBit(BitWidth); in SimplifyDemandedUseBits()
733 KnownZero = LHSKnownZero & LowBits; in SimplifyDemandedUseBits()
734 KnownOne = LHSKnownOne & LowBits; in SimplifyDemandedUseBits()
738 if (LHSKnownZero[BitWidth-1] || ((LHSKnownZero & LowBits) == LowBits)) in SimplifyDemandedUseBits()
739 KnownZero |= ~LowBits; in SimplifyDemandedUseBits()
743 if (LHSKnownOne[BitWidth-1] && ((LHSKnownOne & LowBits) != 0)) in SimplifyDemandedUseBits()
744 KnownOne |= ~LowBits; in SimplifyDemandedUseBits()
DInstCombineShifts.cpp131 unsigned LowBits = TypeWidth - CI->getZExtValue(); in CanEvaluateShifted() local
133 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits)) in CanEvaluateShifted()
155 unsigned LowBits = CI->getZExtValue() - NumBits; in CanEvaluateShifted() local
157 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits)) in CanEvaluateShifted()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1913 unsigned LowBits = Log2_32(BitWidth)+1; in ComputeMaskedBits() local
1914 KnownZero = APInt::getHighBitsSet(BitWidth, BitWidth - LowBits); in ComputeMaskedBits()
2055 APInt LowBits = RA - 1; in ComputeMaskedBits() local
2056 APInt Mask2 = LowBits | APInt::getSignBit(BitWidth); in ComputeMaskedBits()
2060 KnownZero = KnownZero2 & LowBits; in ComputeMaskedBits()
2061 KnownOne = KnownOne2 & LowBits; in ComputeMaskedBits()
2065 if (KnownZero2[BitWidth-1] || ((KnownZero2 & LowBits) == LowBits)) in ComputeMaskedBits()
2066 KnownZero |= ~LowBits; in ComputeMaskedBits()
2070 if (KnownOne2[BitWidth-1] && ((KnownOne2 & LowBits) != 0)) in ComputeMaskedBits()
2071 KnownOne |= ~LowBits; in ComputeMaskedBits()
[all …]
DDAGCombiner.cpp3720 unsigned LowBits = OpSizeInBits - (unsigned)N1C->getZExtValue(); in visitSRA() local
3721 EVT ExtVT = EVT::getIntegerVT(*DAG.getContext(), LowBits); in visitSRA()