Searched refs:ActiveBits (Results 1 – 5 of 5) sorted by relevance
34 unsigned ActiveBits = Tmp.getActiveBits(); in APSInt() local35 if (ActiveBits < NumBits) in APSInt()36 Tmp = Tmp.trunc(std::max<unsigned>(1, ActiveBits)); in APSInt()
931 const unsigned ActiveBits = DemandedElts.getActiveBits(); in simplifyAMDGCNMemoryIntrinsicDemanded() local937 DemandedElts = (1 << ActiveBits) - 1; in simplifyAMDGCNMemoryIntrinsicDemanded()951 if (ActiveBits == 4 && UnusedComponentsAtFront == 1) in simplifyAMDGCNMemoryIntrinsicDemanded()
6508 uint32_t ActiveBits = DemandBits.getActiveBits(); in optimizeLoadExt() local6520 if (ActiveBits <= 1 || !DemandBits.isMask(ActiveBits) || in optimizeLoadExt()6525 Type *TruncTy = Type::getIntNTy(Ctx, ActiveBits); in optimizeLoadExt()
5196 unsigned ActiveBits = AndC->getAPIntValue().countTrailingOnes(); in isAndLoadExtLoad() local5198 ExtVT = EVT::getIntegerVT(*DAG.getContext(), ActiveBits); in isAndLoadExtLoad()5360 unsigned ActiveBits = Mask->getAPIntValue().countTrailingOnes(); in SearchForAndLoads() local5361 EVT ExtVT = EVT::getIntegerVT(*DAG.getContext(), ActiveBits); in SearchForAndLoads()11647 unsigned ActiveBits = 0; in ReduceLoadWidth() local11649 ActiveBits = Mask.countTrailingOnes(); in ReduceLoadWidth()11653 ActiveBits = ShiftedMask.countTrailingOnes(); in ReduceLoadWidth()11659 ExtVT = EVT::getIntegerVT(*DAG.getContext(), ActiveBits); in ReduceLoadWidth()
34461 auto NeedsSignExtension = [&](SDValue V, unsigned ActiveBits) { in targetShrinkDemandedConstant() argument34469 Val.trunc(ActiveBits).getNumSignBits() == ActiveBits) in targetShrinkDemandedConstant()34476 unsigned ActiveBits = DemandedBits.getActiveBits(); in targetShrinkDemandedConstant() local34477 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()