Home
last modified time | relevance | path

Searched refs:ActiveBits (Results 1 – 5 of 5) sorted by relevance

/netbsd/external/apache2/llvm/dist/llvm/lib/Support/
H A DAPSInt.cpp34 unsigned ActiveBits = Tmp.getActiveBits(); in APSInt() local
35 if (ActiveBits < NumBits) in APSInt()
36 Tmp = Tmp.trunc(std::max<unsigned>(1, ActiveBits)); in APSInt()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp931 const unsigned ActiveBits = DemandedElts.getActiveBits(); in simplifyAMDGCNMemoryIntrinsicDemanded() local
937 DemandedElts = (1 << ActiveBits) - 1; in simplifyAMDGCNMemoryIntrinsicDemanded()
951 if (ActiveBits == 4 && UnusedComponentsAtFront == 1) in simplifyAMDGCNMemoryIntrinsicDemanded()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp6508 uint32_t ActiveBits = DemandBits.getActiveBits(); in optimizeLoadExt() local
6520 if (ActiveBits <= 1 || !DemandBits.isMask(ActiveBits) || in optimizeLoadExt()
6525 Type *TruncTy = Type::getIntNTy(Ctx, ActiveBits); in optimizeLoadExt()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp5196 unsigned ActiveBits = AndC->getAPIntValue().countTrailingOnes(); in isAndLoadExtLoad() local
5198 ExtVT = EVT::getIntegerVT(*DAG.getContext(), ActiveBits); in isAndLoadExtLoad()
5360 unsigned ActiveBits = Mask->getAPIntValue().countTrailingOnes(); in SearchForAndLoads() local
5361 EVT ExtVT = EVT::getIntegerVT(*DAG.getContext(), ActiveBits); in SearchForAndLoads()
11647 unsigned ActiveBits = 0; in ReduceLoadWidth() local
11649 ActiveBits = Mask.countTrailingOnes(); in ReduceLoadWidth()
11653 ActiveBits = ShiftedMask.countTrailingOnes(); in ReduceLoadWidth()
11659 ExtVT = EVT::getIntegerVT(*DAG.getContext(), ActiveBits); in ReduceLoadWidth()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp34461 auto NeedsSignExtension = [&](SDValue V, unsigned ActiveBits) { in targetShrinkDemandedConstant() argument
34469 Val.trunc(ActiveBits).getNumSignBits() == ActiveBits) in targetShrinkDemandedConstant()
34476 unsigned ActiveBits = DemandedBits.getActiveBits(); in targetShrinkDemandedConstant() local
34477 if (EltSize > ActiveBits && EltSize > 1 && isTypeLegal(VT) && in targetShrinkDemandedConstant()
34479 NeedsSignExtension(Op.getOperand(1), ActiveBits)) { in targetShrinkDemandedConstant()
34480 EVT ExtSVT = EVT::getIntegerVT(*TLO.DAG.getContext(), ActiveBits); in targetShrinkDemandedConstant()