Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64StackTagging.cpp152 int HighBits = End - Offset < 8 ? (8 - (End - Offset)) * 8 : 0; in applyMemSet() local
153 if (HighBits) in applyMemSet()
154 Cst = (Cst << HighBits) >> HighBits; in applyMemSet()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64StackTagging.cpp139 int HighBits = End - Offset < 8 ? (8 - (End - Offset)) * 8 : 0; in applyMemSet() local
140 if (HighBits) in applyMemSet()
141 Cst = (Cst << HighBits) >> HighBits; in applyMemSet()
/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/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/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp627 APInt HighBits(APInt::getHighBitsSet( in SimplifyDemandedUseBits() local
636 !DemandedMask.intersects(HighBits)) { in SimplifyDemandedUseBits()
642 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-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp589 APInt HighBits(APInt::getHighBitsSet( in SimplifyDemandedUseBits() local
598 !DemandedMask.intersects(HighBits)) { in SimplifyDemandedUseBits()
604 Known.One |= HighBits; in SimplifyDemandedUseBits()
/external/llvm-project/clang/lib/CodeGen/
DCGExpr.cpp1971 unsigned HighBits = StorageSize - Offset - Info.Size; in EmitLoadOfBitfieldLValue() local
1972 if (HighBits) in EmitLoadOfBitfieldLValue()
1973 Val = Builder.CreateShl(Val, HighBits, "bf.shl"); in EmitLoadOfBitfieldLValue()
1974 if (Offset + HighBits) in EmitLoadOfBitfieldLValue()
1975 Val = Builder.CreateAShr(Val, Offset + HighBits, "bf.ashr"); in EmitLoadOfBitfieldLValue()
2234 unsigned HighBits = StorageSize - Info.Size; in EmitStoreThroughBitfieldLValue() local
2235 if (HighBits) { in EmitStoreThroughBitfieldLValue()
2236 ResultVal = Builder.CreateShl(ResultVal, HighBits, "bf.result.shl"); in EmitStoreThroughBitfieldLValue()
2237 ResultVal = Builder.CreateAShr(ResultVal, HighBits, "bf.result.ashr"); in EmitStoreThroughBitfieldLValue()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUInstructionSelector.cpp3517 Register HighBits in selectGlobalSAddr() local
3521 HighBits) in selectGlobalSAddr()
3526 [=](MachineInstrBuilder &MIB) { MIB.addReg(HighBits); }, // voffset in selectGlobalSAddr()
3607 Register HighBits = MRI->createVirtualRegister(&AMDGPU::VGPR_32RegClass); in selectMUBUFScratchOffen() local
3612 HighBits) in selectMUBUFScratchOffen()
3619 MIB.addReg(HighBits); in selectMUBUFScratchOffen()
DAMDGPUISelDAGToDAG.cpp1574 SDValue HighBits = CurDAG->getTargetConstant(Imm & ~4095, DL, MVT::i32); in SelectMUBUFScratchOffen() local
1576 AMDGPU::V_MOV_B32_e32, DL, MVT::i32, HighBits); in SelectMUBUFScratchOffen()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInstructionSelector.cpp2103 Register HighBits = MRI->createVirtualRegister(&AMDGPU::VGPR_32RegClass); in selectMUBUFScratchOffen() local
2108 HighBits) in selectMUBUFScratchOffen()
2115 MIB.addReg(HighBits); in selectMUBUFScratchOffen()
DAMDGPUISelDAGToDAG.cpp1511 SDValue HighBits = CurDAG->getTargetConstant(Imm & ~4095, DL, MVT::i32); in SelectMUBUFScratchOffen() local
1513 DL, MVT::i32, HighBits); in SelectMUBUFScratchOffen()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2005 APInt HighBits = in SimplifyDemandedBits() local
2007 HighBits.lshrInPlace(ShVal); in SimplifyDemandedBits()
2008 HighBits = HighBits.trunc(BitWidth); in SimplifyDemandedBits()
2010 if (!(HighBits & DemandedBits)) { in SimplifyDemandedBits()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1819 APInt HighBits = in SimplifyDemandedBits() local
1821 HighBits.lshrInPlace(ShVal); in SimplifyDemandedBits()
1822 HighBits = HighBits.trunc(BitWidth); in SimplifyDemandedBits()
1824 if (!(HighBits & DemandedBits)) { in SimplifyDemandedBits()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp9904 auto HighBits = APInt::getHighBitsSet(32, 32 - MemVT.getSizeInBits()); in LowerATOMIC_CMP_SWAP() local
9905 if (DAG.MaskedValueIsZero(CmpOp, HighBits)) in LowerATOMIC_CMP_SWAP()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp10713 auto HighBits = APInt::getHighBitsSet(32, 32 - MemVT.getSizeInBits()); in LowerATOMIC_CMP_SWAP() local
10714 if (DAG.MaskedValueIsZero(CmpOp, HighBits)) in LowerATOMIC_CMP_SWAP()