Home
last modified time | relevance | path

Searched refs:HighBits (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCJITInfo.cpp448 unsigned HighBits = *RelocPos & ~65535; in relocate() local
449 *RelocPos = LowBits | HighBits; // Slam into low 16-bits in relocate()
457 unsigned HighBits = *RelocPos & 0xFFFF0003; in relocate() local
458 *RelocPos = LowBits | HighBits; // Slam into low 14-bits. in relocate()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp618 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in SimplifyDemandedUseBits() local
619 KnownZero |= HighBits; // high bits known zero. in SimplifyDemandedUseBits()
660 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in SimplifyDemandedUseBits() local
672 (HighBits & ~DemandedMask) == HighBits) { in SimplifyDemandedUseBits()
678 KnownOne |= HighBits; in SimplifyDemandedUseBits()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp608 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in SimplifyDemandedUseBits() local
609 KnownZero |= HighBits; // high bits known zero. in SimplifyDemandedUseBits()
650 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in SimplifyDemandedUseBits() local
662 (HighBits & ~DemandedMask) == HighBits) { in SimplifyDemandedUseBits()
669 KnownOne |= HighBits; in SimplifyDemandedUseBits()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1539 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits() local
1540 KnownZero |= HighBits; // High bits known zero. in SimplifyDemandedBits()
1565 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits() local
1566 if (HighBits.intersects(NewMask)) in SimplifyDemandedBits()
1581 if (KnownZero.intersects(SignBit) || (HighBits & ~NewMask) == HighBits) { in SimplifyDemandedBits()
1586 KnownOne |= HighBits; in SimplifyDemandedBits()
1747 APInt HighBits = APInt::getHighBitsSet(OperandBitWidth, in SimplifyDemandedBits() local
1749 HighBits = HighBits.lshr(ShAmt->getZExtValue()).trunc(BitWidth); in SimplifyDemandedBits()
1751 if (ShAmt->getZExtValue() < BitWidth && !(HighBits & NewMask)) { in SimplifyDemandedBits()
DSelectionDAG.cpp1781 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt) & Mask; in ComputeMaskedBits() local
1782 KnownZero |= HighBits; // High bits known zero. in ComputeMaskedBits()
1796 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt) & Mask; in ComputeMaskedBits() local
1797 if (HighBits.getBoolValue()) in ComputeMaskedBits()
1811 KnownZero |= HighBits; // New bits are known zero. in ComputeMaskedBits()
1813 KnownOne |= HighBits; // New bits are known one. in ComputeMaskedBits()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp793 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits() local
794 KnownZero |= HighBits; // High bits known zero. in SimplifyDemandedBits()
824 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits() local
825 if (HighBits.intersects(NewMask)) in SimplifyDemandedBits()
840 if (KnownZero.intersects(SignBit) || (HighBits & ~NewMask) == HighBits) { in SimplifyDemandedBits()
860 KnownOne |= HighBits; in SimplifyDemandedBits()
1070 APInt HighBits = APInt::getHighBitsSet(OperandBitWidth, in SimplifyDemandedBits() local
1072 HighBits = HighBits.lshr(ShAmt->getZExtValue()).trunc(BitWidth); in SimplifyDemandedBits()
1074 if (ShAmt->getZExtValue() < BitWidth && !(HighBits & NewMask)) { in SimplifyDemandedBits()
DSelectionDAG.cpp2177 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in computeKnownBits() local
2178 KnownZero |= HighBits; // High bits known zero. in computeKnownBits()
2191 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in computeKnownBits() local
2202 KnownZero |= HighBits; // New bits are known zero. in computeKnownBits()
2204 KnownOne |= HighBits; // New bits are known one. in computeKnownBits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp539 APInt HighBits(APInt::getHighBitsSet( in SimplifyDemandedUseBits() local
548 !DemandedMask.intersects(HighBits)) { in SimplifyDemandedUseBits()
554 Known.One |= HighBits; in SimplifyDemandedUseBits()
/external/clang/lib/CodeGen/
DCGExpr.cpp1497 unsigned HighBits = Info.StorageSize - Info.Offset - Info.Size; in EmitLoadOfBitfieldLValue() local
1498 if (HighBits) in EmitLoadOfBitfieldLValue()
1499 Val = Builder.CreateShl(Val, HighBits, "bf.shl"); in EmitLoadOfBitfieldLValue()
1500 if (Info.Offset + HighBits) in EmitLoadOfBitfieldLValue()
1501 Val = Builder.CreateAShr(Val, Info.Offset + HighBits, "bf.ashr"); in EmitLoadOfBitfieldLValue()
1736 unsigned HighBits = Info.StorageSize - Info.Size; in EmitStoreThroughBitfieldLValue() local
1737 if (HighBits) { in EmitStoreThroughBitfieldLValue()
1738 ResultVal = Builder.CreateShl(ResultVal, HighBits, "bf.result.shl"); in EmitStoreThroughBitfieldLValue()
1739 ResultVal = Builder.CreateAShr(ResultVal, HighBits, "bf.result.ashr"); in EmitStoreThroughBitfieldLValue()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DValueTracking.cpp372 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in ComputeMaskedBits() local
374 KnownZero |= HighBits; in ComputeMaskedBits()
376 KnownOne |= HighBits; in ComputeMaskedBits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1146 APInt HighBits = APInt::getHighBitsSet(OperandBitWidth, in SimplifyDemandedBits() local
1148 HighBits.lshrInPlace(ShAmt->getZExtValue()); in SimplifyDemandedBits()
1149 HighBits = HighBits.trunc(BitWidth); in SimplifyDemandedBits()
1151 if (!(HighBits & NewMask)) { in SimplifyDemandedBits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp1132 SDValue HighBits = CurDAG->getTargetConstant(Imm & ~4095, DL, MVT::i32); in SelectMUBUFScratchOffen() local
1134 DL, MVT::i32, HighBits); in SelectMUBUFScratchOffen()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp9062 auto HighBits = APInt::getHighBitsSet(32, 32 - MemVT.getSizeInBits()); in LowerATOMIC_CMP_SWAP() local
9063 if (DAG.MaskedValueIsZero(CmpOp, HighBits)) in LowerATOMIC_CMP_SWAP()