/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
D | PPCJITInfo.cpp | 448 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/ |
D | InstCombineSimplifyDemanded.cpp | 618 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/ |
D | InstCombineSimplifyDemanded.cpp | 608 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/ |
D | TargetLowering.cpp | 1539 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()
|
D | SelectionDAG.cpp | 1781 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/ |
D | TargetLowering.cpp | 793 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()
|
D | SelectionDAG.cpp | 2177 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/clang/lib/CodeGen/ |
D | CGExpr.cpp | 1497 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/ |
D | ValueTracking.cpp | 372 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in ComputeMaskedBits() local 374 KnownZero |= HighBits; in ComputeMaskedBits() 376 KnownOne |= HighBits; in ComputeMaskedBits()
|