Home
last modified time | relevance | path

Searched refs:LowBits (Results 1 – 16 of 16) 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp591 APInt LowBits = RA - 1; in SimplifyDemandedUseBits() local
592 APInt Mask2 = LowBits | APInt::getSignMask(BitWidth); in SimplifyDemandedUseBits()
597 Known.Zero = LHSKnown.Zero & LowBits; in SimplifyDemandedUseBits()
598 Known.One = LHSKnown.One & LowBits; in SimplifyDemandedUseBits()
602 if (LHSKnown.isNonNegative() || LowBits.isSubsetOf(LHSKnown.Zero)) in SimplifyDemandedUseBits()
603 Known.Zero |= ~LowBits; in SimplifyDemandedUseBits()
607 if (LHSKnown.isNegative() && LowBits.intersects(LHSKnown.One)) in SimplifyDemandedUseBits()
608 Known.One |= ~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-7.0/llvm/lib/Analysis/
DValueTracking.cpp1220 APInt LowBits = RA - 1; in computeKnownBitsFromOperator() local
1224 Known.Zero = Known2.Zero & LowBits; in computeKnownBitsFromOperator()
1225 Known.One = Known2.One & LowBits; in computeKnownBitsFromOperator()
1229 if (Known2.isNonNegative() || LowBits.isSubsetOf(Known2.Zero)) in computeKnownBitsFromOperator()
1230 Known.Zero |= ~LowBits; in computeKnownBitsFromOperator()
1234 if (Known2.isNegative() && LowBits.intersects(Known2.One)) in computeKnownBitsFromOperator()
1235 Known.One |= ~LowBits; in computeKnownBitsFromOperator()
1254 APInt LowBits = (RA - 1); in computeKnownBitsFromOperator() local
1256 Known.Zero |= ~LowBits; in computeKnownBitsFromOperator()
1257 Known.One &= 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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2649 unsigned LowBits = Log2_32(PossibleTZ) + 1; in computeKnownBits() local
2650 Known.Zero.setBitsFrom(LowBits); in computeKnownBits()
2658 unsigned LowBits = Log2_32(PossibleLZ) + 1; in computeKnownBits() local
2659 Known.Zero.setBitsFrom(LowBits); in computeKnownBits()
2825 APInt LowBits = RA - 1; in computeKnownBits() local
2829 Known.Zero = Known2.Zero & LowBits; in computeKnownBits()
2830 Known.One = Known2.One & LowBits; in computeKnownBits()
2834 if (Known2.Zero[BitWidth-1] || ((Known2.Zero & LowBits) == LowBits)) in computeKnownBits()
2835 Known.Zero |= ~LowBits; in computeKnownBits()
2839 if (Known2.One[BitWidth-1] && ((Known2.One & LowBits) != 0)) in computeKnownBits()
[all …]
DDAGCombiner.cpp6562 unsigned LowBits = OpSizeInBits - (unsigned)N1C->getZExtValue(); in visitSRA() local
6563 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp6925 APInt LowBits(EltTy.getSizeInBits(), in NormalizeBuildVector() local
6927 Lane = DAG.getConstant(LowBits.getZExtValue(), dl, MVT::i32); in NormalizeBuildVector()