Searched refs:ActiveBits (Results 1 – 10 of 10) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APSInt.cpp | 34 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-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAtomicOptimizer.cpp | 588 auto *ActiveBits = B.CreatePHI(WaveTy, 2, "ActiveBits"); in buildScanIteratively() local 589 ActiveBits->addIncoming(Ballot, EntryBB); in buildScanIteratively() 593 B.CreateIntrinsic(Intrinsic::cttz, WaveTy, {ActiveBits, B.getTrue()}); in buildScanIteratively() 625 auto *NewActiveBits = B.CreateAnd(ActiveBits, InverseMask); in buildScanIteratively() 626 ActiveBits->addIncoming(NewActiveBits, ComputeLoop); in buildScanIteratively()
|
| H A D | AMDGPUInstCombineIntrinsic.cpp | 1224 const unsigned ActiveBits = DemandedElts.getActiveBits(); in simplifyAMDGCNMemoryIntrinsicDemanded() local 1230 DemandedElts = (1 << ActiveBits) - 1; in simplifyAMDGCNMemoryIntrinsicDemanded() 1245 if (ActiveBits == 4 && UnusedComponentsAtFront == 1) in simplifyAMDGCNMemoryIntrinsicDemanded()
|
| H A D | SIISelLowering.cpp | 4669 auto ActiveBits = in lowerWaveReduce() local 4677 .addReg(ActiveBits->getOperand(0).getReg()); in lowerWaveReduce() 4692 .addReg(ActiveBits->getOperand(0).getReg()); in lowerWaveReduce() 4697 ActiveBits.addReg(NewActiveBits->getOperand(0).getReg()) in lowerWaveReduce()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 1556 unsigned ActiveBits = Exponent.getActiveBits(); in getIntrinsicInstrCost() local 1558 InstructionCost Cost = (ActiveBits + PopCount - 2) * in getIntrinsicInstrCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 6804 uint32_t ActiveBits = DemandBits.getActiveBits(); in optimizeLoadExt() local 6816 if (ActiveBits <= 1 || !DemandBits.isMask(ActiveBits) || in optimizeLoadExt() 6821 Type *TruncTy = Type::getIntNTy(Ctx, ActiveBits); in optimizeLoadExt()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 6418 unsigned ActiveBits = AndC->getAPIntValue().countr_one(); in isAndLoadExtLoad() local 10202 unsigned ActiveBits = IsSignExt in combineShiftToMULH() local 10205 if (ActiveBits > NarrowVTSize) in combineShiftToMULH() 14236 unsigned ActiveBits = 0; in reduceLoadWidth() local 14238 ActiveBits = Mask.countr_one(); in reduceLoadWidth() 14239 } else if (Mask.isShiftedMask(ShAmt, ActiveBits)) { in reduceLoadWidth() 23293 unsigned ActiveBits = 0; in convertBuildVecZextToBuildVecWithZeros() local 23319 ActiveBits = CurrActiveBits; in convertBuildVecZextToBuildVecWithZeros() 23321 if (2 * ActiveBits > EltBitwidth) in convertBuildVecZextToBuildVecWithZeros() 23326 if (ActiveBits == 0) in convertBuildVecZextToBuildVecWithZeros() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 20209 unsigned ActiveBits = InitVal.getActiveBits(); in ActOnEnumBody() local 20210 NumPositiveBits = std::max({NumPositiveBits, ActiveBits, 1u}); in ActOnEnumBody()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 36453 auto NeedsSignExtension = [&](SDValue V, unsigned ActiveBits) { in targetShrinkDemandedConstant() argument 36461 Val.trunc(ActiveBits).getNumSignBits() == ActiveBits) in targetShrinkDemandedConstant() 36468 unsigned ActiveBits = DemandedBits.getActiveBits(); in targetShrinkDemandedConstant() local 36469 if (EltSize > ActiveBits && EltSize > 1 && isTypeLegal(VT) && in targetShrinkDemandedConstant() 36471 NeedsSignExtension(Op.getOperand(1), ActiveBits)) { in targetShrinkDemandedConstant() 36472 EVT ExtSVT = EVT::getIntegerVT(*TLO.DAG.getContext(), ActiveBits); in targetShrinkDemandedConstant()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 12890 unsigned ActiveBits = std::max(8u, Known.countMaxActiveBits()); in narrowIndex() local 12892 EVT ResultVT = EVT::getIntegerVT(C, ActiveBits).getRoundIntegerType(C); in narrowIndex()
|