Home
last modified time | relevance | path

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

/freebsd-src/contrib/llvm-project/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()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp580 auto *ActiveBits = B.CreatePHI(WaveTy, 2, "ActiveBits"); in buildScanIteratively()
581 ActiveBits->addIncoming(Ballot, EntryBB); in buildScanIteratively()
585 B.CreateIntrinsic(Intrinsic::cttz, WaveTy, {ActiveBits, B.getTrue()}); in buildScanIteratively()
611 auto *NewActiveBits = B.CreateAnd(ActiveBits, InverseMask); in buildScanIteratively()
612 ActiveBits->addIncoming(NewActiveBits, ComputeLoop); in buildScanIteratively()
588 auto *ActiveBits = B.CreatePHI(WaveTy, 2, "ActiveBits"); buildScanIteratively() local
H A DAMDGPUInstCombineIntrinsic.cpp1306 const unsigned ActiveBits = DemandedElts.getActiveBits(); in simplifyAMDGCNMemoryIntrinsicDemanded()
1312 DemandedElts = (1 << ActiveBits) - 1; in simplifyAMDGCNMemoryIntrinsicDemanded()
1327 if (ActiveBits == 4 && UnusedComponentsAtFront == 1) in simplifyAMDGCNMemoryIntrinsicDemanded()
1224 const unsigned ActiveBits = DemandedElts.getActiveBits(); simplifyAMDGCNMemoryIntrinsicDemanded() local
H A DSIISelLowering.cpp4913 auto ActiveBits = in EmitInstrWithCustomInserter()
4921 .addReg(ActiveBits->getOperand(0).getReg()); in EmitInstrWithCustomInserter()
4936 .addReg(ActiveBits->getOperand(0).getReg()); in EmitInstrWithCustomInserter()
4941 ActiveBits.addReg(NewActiveBits->getOperand(0).getReg()) in EmitInstrWithCustomInserter()
4669 auto ActiveBits = lowerWaveReduce() local
/freebsd-src/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1583 unsigned ActiveBits = Exponent.getActiveBits(); in getIntrinsicInstrCost()
1585 InstructionCost Cost = (ActiveBits + PopCount - 2) * in getIntrinsicInstrCost()
1556 unsigned ActiveBits = Exponent.getActiveBits(); getIntrinsicInstrCost() local
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp6918 uint32_t ActiveBits = DemandBits.getActiveBits(); in getTrueOrFalseValue()
6930 if (ActiveBits <= 1 || !DemandBits.isMask(ActiveBits) || in optimizeShiftInst()
6935 Type *TruncTy = Type::getIntNTy(Ctx, ActiveBits); in optimizeShiftInst()
6804 uint32_t ActiveBits = DemandBits.getActiveBits(); optimizeLoadExt() local
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp6422 unsigned ActiveBits = AndC->getAPIntValue().countr_one(); in isAndLoadExtLoad()
6424 ExtVT = EVT::getIntegerVT(*DAG.getContext(), ActiveBits); in isAndLoadExtLoad()
6586 unsigned ActiveBits = Mask->getAPIntValue().countr_one(); in SearchForAndLoads()
6587 EVT ExtVT = EVT::getIntegerVT(*DAG.getContext(), ActiveBits); in SearchForAndLoads()
10226 unsigned ActiveBits = IsSignExt in combineShiftToMULH()
10229 if (ActiveBits > NarrowVTSize) in combineShiftToMULH()
14485 unsigned ActiveBits = 0; in visitSIGN_EXTEND_INREG()
14487 ActiveBits = Mask.countr_one(); in visitSIGN_EXTEND_INREG()
14488 } else if (Mask.isShiftedMask(ShAmt, ActiveBits)) { in visitSIGN_EXTEND_INREG()
14495 ExtVT = EVT::getIntegerVT(*DAG.getContext(), ActiveBits); in visitSIGN_EXTEND_INREG()
6418 unsigned ActiveBits = AndC->getAPIntValue().countr_one(); isAndLoadExtLoad() local
6582 unsigned ActiveBits = Mask->getAPIntValue().countr_one(); SearchForAndLoads() local
10202 unsigned ActiveBits = IsSignExt combineShiftToMULH() local
14236 unsigned ActiveBits = 0; reduceLoadWidth() local
23293 unsigned ActiveBits = 0; convertBuildVecZextToBuildVecWithZeros() local
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp19879 unsigned ActiveBits = InitVal.getActiveBits(); in CheckEnumConstant()
19880 NumPositiveBits = std::max({NumPositiveBits, ActiveBits, 1u}); in CheckEnumConstant()
20209 unsigned ActiveBits = InitVal.getActiveBits(); ActOnEnumBody() local
/freebsd-src/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp36453 __anon973982077402(SDValue V, unsigned ActiveBits) targetShrinkDemandedConstant() argument
36468 unsigned ActiveBits = DemandedBits.getActiveBits(); targetShrinkDemandedConstant() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp14124 unsigned ActiveBits = std::max(8u, Known.countMaxActiveBits()); in performVFMADD_VLCombine()
14126 EVT ResultVT = EVT::getIntegerVT(C, ActiveBits).getRoundIntegerType(C); in performVFMADD_VLCombine()
12890 unsigned ActiveBits = std::max(8u, Known.countMaxActiveBits()); narrowIndex() local