Searched refs:HighBits (Results 1 – 4 of 4) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 609 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in SimplifyDemandedUseBits() local 610 KnownZero |= HighBits; // high bits known zero. in SimplifyDemandedUseBits() 651 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in SimplifyDemandedUseBits() local 663 (HighBits & ~DemandedMask) == HighBits) { in SimplifyDemandedUseBits() 670 KnownOne |= HighBits; in SimplifyDemandedUseBits()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 752 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits() local 753 KnownZero |= HighBits; // High bits known zero. in SimplifyDemandedBits() 783 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits() local 784 if (HighBits.intersects(NewMask)) in SimplifyDemandedBits() 799 if (KnownZero.intersects(SignBit) || (HighBits & ~NewMask) == HighBits) { in SimplifyDemandedBits() 819 KnownOne |= HighBits; in SimplifyDemandedBits() 1029 APInt HighBits = APInt::getHighBitsSet(OperandBitWidth, in SimplifyDemandedBits() local 1031 HighBits = HighBits.lshr(ShAmt->getZExtValue()).trunc(BitWidth); in SimplifyDemandedBits() 1033 if (ShAmt->getZExtValue() < BitWidth && !(HighBits & NewMask)) { in SimplifyDemandedBits()
|
D | SelectionDAG.cpp | 2203 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in computeKnownBits() local 2204 KnownZero |= HighBits; // High bits known zero. in computeKnownBits() 2217 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in computeKnownBits() local 2228 KnownZero |= HighBits; // New bits are known zero. in computeKnownBits() 2230 KnownOne |= HighBits; // New bits are known one. in computeKnownBits()
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 1472 unsigned HighBits = Info.StorageSize - Info.Offset - Info.Size; in EmitLoadOfBitfieldLValue() local 1473 if (HighBits) in EmitLoadOfBitfieldLValue() 1474 Val = Builder.CreateShl(Val, HighBits, "bf.shl"); in EmitLoadOfBitfieldLValue() 1475 if (Info.Offset + HighBits) in EmitLoadOfBitfieldLValue() 1476 Val = Builder.CreateAShr(Val, Info.Offset + HighBits, "bf.ashr"); in EmitLoadOfBitfieldLValue() 1711 unsigned HighBits = Info.StorageSize - Info.Size; in EmitStoreThroughBitfieldLValue() local 1712 if (HighBits) { in EmitStoreThroughBitfieldLValue() 1713 ResultVal = Builder.CreateShl(ResultVal, HighBits, "bf.result.shl"); in EmitStoreThroughBitfieldLValue() 1714 ResultVal = Builder.CreateAShr(ResultVal, HighBits, "bf.result.ashr"); in EmitStoreThroughBitfieldLValue()
|