Home
last modified time | relevance | path

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

/external/llvm/lib/Target/PowerPC/
DPPCJITInfo.cpp451 unsigned HighBits = *RelocPos & ~65535; in relocate() local
452 *RelocPos = LowBits | HighBits; // Slam into low 16-bits in relocate()
460 unsigned HighBits = *RelocPos & 0xFFFF0003; in relocate() local
461 *RelocPos = LowBits | HighBits; // Slam into low 14-bits. in relocate()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp650 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in SimplifyDemandedUseBits() local
651 KnownZero |= HighBits; // high bits known zero. in SimplifyDemandedUseBits()
692 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in SimplifyDemandedUseBits() local
704 (HighBits & ~DemandedMask) == HighBits) { in SimplifyDemandedUseBits()
711 KnownOne |= HighBits; in SimplifyDemandedUseBits()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp683 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits() local
684 KnownZero |= HighBits; // High bits known zero. in SimplifyDemandedBits()
709 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits() local
710 if (HighBits.intersects(NewMask)) in SimplifyDemandedBits()
725 if (KnownZero.intersects(SignBit) || (HighBits & ~NewMask) == HighBits) { in SimplifyDemandedBits()
730 KnownOne |= HighBits; in SimplifyDemandedBits()
908 APInt HighBits = APInt::getHighBitsSet(OperandBitWidth, in SimplifyDemandedBits() local
910 HighBits = HighBits.lshr(ShAmt->getZExtValue()).trunc(BitWidth); in SimplifyDemandedBits()
912 if (ShAmt->getZExtValue() < BitWidth && !(HighBits & NewMask)) { in SimplifyDemandedBits()
DSelectionDAG.cpp1840 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in ComputeMaskedBits() local
1841 KnownZero |= HighBits; // High bits known zero. in ComputeMaskedBits()
1854 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in ComputeMaskedBits() local
1866 KnownZero |= HighBits; // New bits are known zero. in ComputeMaskedBits()
1868 KnownOne |= HighBits; // New bits are known one. in ComputeMaskedBits()
/external/clang/lib/CodeGen/
DCGExpr.cpp1288 unsigned HighBits = Info.StorageSize - Info.Offset - Info.Size; in EmitLoadOfBitfieldLValue() local
1289 if (HighBits) in EmitLoadOfBitfieldLValue()
1290 Val = Builder.CreateShl(Val, HighBits, "bf.shl"); in EmitLoadOfBitfieldLValue()
1291 if (Info.Offset + HighBits) in EmitLoadOfBitfieldLValue()
1292 Val = Builder.CreateAShr(Val, Info.Offset + HighBits, "bf.ashr"); in EmitLoadOfBitfieldLValue()
1488 unsigned HighBits = Info.StorageSize - Info.Size; in EmitStoreThroughBitfieldLValue() local
1489 if (HighBits) { in EmitStoreThroughBitfieldLValue()
1490 ResultVal = Builder.CreateShl(ResultVal, HighBits, "bf.result.shl"); in EmitStoreThroughBitfieldLValue()
1491 ResultVal = Builder.CreateAShr(ResultVal, HighBits, "bf.result.ashr"); in EmitStoreThroughBitfieldLValue()
/external/llvm/lib/Analysis/
DValueTracking.cpp524 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in ComputeMaskedBits() local
526 KnownZero |= HighBits; in ComputeMaskedBits()
528 KnownOne |= HighBits; in ComputeMaskedBits()