Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCJITInfo.cpp447 unsigned LowBits = (*RelocPos + ResultPtr) & 65535; in relocate() local
449 *RelocPos = LowBits | HighBits; // Slam into low 16-bits in relocate()
456 unsigned LowBits = (*RelocPos + ResultPtr) & 0xFFFC; in relocate() local
458 *RelocPos = LowBits | HighBits; // Slam into low 14-bits. in relocate()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp693 APInt LowBits = RA - 1; in SimplifyDemandedUseBits() local
694 APInt Mask2 = LowBits | APInt::getSignBit(BitWidth); in SimplifyDemandedUseBits()
700 KnownZero = LHSKnownZero & LowBits; in SimplifyDemandedUseBits()
701 KnownOne = LHSKnownOne & LowBits; in SimplifyDemandedUseBits()
705 if (LHSKnownZero[BitWidth-1] || ((LHSKnownZero & LowBits) == LowBits)) in SimplifyDemandedUseBits()
706 KnownZero |= ~LowBits; in SimplifyDemandedUseBits()
710 if (LHSKnownOne[BitWidth-1] && ((LHSKnownOne & LowBits) != 0)) in SimplifyDemandedUseBits()
711 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/swiftshader/third_party/LLVM/lib/Analysis/
DValueTracking.cpp471 APInt LowBits = RA - 1; in ComputeMaskedBits() local
472 APInt Mask2 = LowBits | APInt::getSignBit(BitWidth); in ComputeMaskedBits()
477 KnownZero = KnownZero2 & LowBits; in ComputeMaskedBits()
478 KnownOne = KnownOne2 & LowBits; in ComputeMaskedBits()
482 if (KnownZero2[BitWidth-1] || ((KnownZero2 & LowBits) == LowBits)) in ComputeMaskedBits()
483 KnownZero |= ~LowBits; in ComputeMaskedBits()
487 if (KnownOne2[BitWidth-1] && ((KnownOne2 & LowBits) != 0)) in ComputeMaskedBits()
488 KnownOne |= ~LowBits; in ComputeMaskedBits()
514 APInt LowBits = (RA - 1); in ComputeMaskedBits() local
515 APInt Mask2 = LowBits & Mask; in ComputeMaskedBits()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp684 APInt LowBits = RA - 1; in SimplifyDemandedUseBits() local
685 APInt Mask2 = LowBits | APInt::getSignBit(BitWidth); in SimplifyDemandedUseBits()
691 KnownZero = LHSKnownZero & LowBits; in SimplifyDemandedUseBits()
692 KnownOne = LHSKnownOne & LowBits; in SimplifyDemandedUseBits()
696 if (LHSKnownZero[BitWidth-1] || ((LHSKnownZero & LowBits) == LowBits)) in SimplifyDemandedUseBits()
697 KnownZero |= ~LowBits; in SimplifyDemandedUseBits()
701 if (LHSKnownOne[BitWidth-1] && ((LHSKnownOne & LowBits) != 0)) in SimplifyDemandedUseBits()
702 KnownOne |= ~LowBits; in SimplifyDemandedUseBits()
/external/llvm/lib/Analysis/
DValueTracking.cpp1087 APInt LowBits = RA - 1; in computeKnownBitsFromOperator() local
1092 KnownZero = KnownZero2 & LowBits; in computeKnownBitsFromOperator()
1093 KnownOne = KnownOne2 & LowBits; in computeKnownBitsFromOperator()
1097 if (KnownZero2[BitWidth-1] || ((KnownZero2 & LowBits) == LowBits)) in computeKnownBitsFromOperator()
1098 KnownZero |= ~LowBits; in computeKnownBitsFromOperator()
1102 if (KnownOne2[BitWidth-1] && ((KnownOne2 & LowBits) != 0)) in computeKnownBitsFromOperator()
1103 KnownOne |= ~LowBits; in computeKnownBitsFromOperator()
1125 APInt LowBits = (RA - 1); in computeKnownBitsFromOperator() local
1127 KnownZero |= ~LowBits; in computeKnownBitsFromOperator()
1128 KnownOne &= LowBits; in computeKnownBitsFromOperator()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1855 unsigned LowBits = Log2_32(BitWidth)+1; in ComputeMaskedBits() local
1856 KnownZero = APInt::getHighBitsSet(BitWidth, BitWidth - LowBits); in ComputeMaskedBits()
2014 APInt LowBits = RA - 1; in ComputeMaskedBits() local
2015 APInt Mask2 = LowBits | APInt::getSignBit(BitWidth); in ComputeMaskedBits()
2019 KnownZero = KnownZero2 & LowBits; in ComputeMaskedBits()
2020 KnownOne = KnownOne2 & LowBits; in ComputeMaskedBits()
2024 if (KnownZero2[BitWidth-1] || ((KnownZero2 & LowBits) == LowBits)) in ComputeMaskedBits()
2025 KnownZero |= ~LowBits; in ComputeMaskedBits()
2029 if (KnownOne2[BitWidth-1] && ((KnownOne2 & LowBits) != 0)) in ComputeMaskedBits()
2030 KnownOne |= ~LowBits; in ComputeMaskedBits()
[all …]
DDAGCombiner.cpp3393 unsigned LowBits = OpSizeInBits - (unsigned)N1C->getZExtValue(); in visitSRA() local
3394 EVT ExtVT = EVT::getIntegerVT(*DAG.getContext(), LowBits); in visitSRA()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2248 unsigned LowBits = Log2_32(BitWidth)+1; in computeKnownBits() local
2249 KnownZero = APInt::getHighBitsSet(BitWidth, BitWidth - LowBits); in computeKnownBits()
2395 APInt LowBits = RA - 1; in computeKnownBits() local
2399 KnownZero = KnownZero2 & LowBits; in computeKnownBits()
2400 KnownOne = KnownOne2 & LowBits; in computeKnownBits()
2404 if (KnownZero2[BitWidth-1] || ((KnownZero2 & LowBits) == LowBits)) in computeKnownBits()
2405 KnownZero |= ~LowBits; in computeKnownBits()
2409 if (KnownOne2[BitWidth-1] && ((KnownOne2 & LowBits) != 0)) in computeKnownBits()
2410 KnownOne |= ~LowBits; in computeKnownBits()
2419 APInt LowBits = (RA - 1); in computeKnownBits() local
[all …]
DDAGCombiner.cpp4648 unsigned LowBits = OpSizeInBits - (unsigned)N1C->getZExtValue(); in visitSRA() local
4649 EVT ExtVT = EVT::getIntegerVT(*DAG.getContext(), LowBits); in visitSRA()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp6060 APInt LowBits(EltTy.getSizeInBits(), in NormalizeBuildVector() local
6062 Lane = DAG.getConstant(LowBits.getZExtValue(), dl, MVT::i32); in NormalizeBuildVector()