Lines Matching refs:SrcEltBits

4747   auto CastBitData = [&](APInt &UndefSrcElts, ArrayRef<APInt> SrcEltBits) {  in getTargetConstantBitsFromNode()  argument
4749 unsigned SrcEltSizeInBits = SrcEltBits[0].getBitWidth(); in getTargetConstantBitsFromNode()
4761 EltBits.assign(SrcEltBits.begin(), SrcEltBits.end()); in getTargetConstantBitsFromNode()
4773 MaskBits.insertBits(SrcEltBits[i], BitOffset); in getTargetConstantBitsFromNode()
4843 SmallVector<APInt, 64> SrcEltBits(NumElts, APInt(EltSizeInBits, 0)); in getTargetConstantBitsFromNode() local
4844 return CastBitData(UndefSrcElts, SrcEltBits); in getTargetConstantBitsFromNode()
4850 SmallVector<APInt, 64> SrcEltBits(1, Cst->getAPIntValue()); in getTargetConstantBitsFromNode() local
4851 return CastBitData(UndefSrcElts, SrcEltBits); in getTargetConstantBitsFromNode()
4856 SmallVector<APInt, 64> SrcEltBits(1, RawBits); in getTargetConstantBitsFromNode() local
4857 return CastBitData(UndefSrcElts, SrcEltBits); in getTargetConstantBitsFromNode()
4863 SmallVector<APInt> SrcEltBits; in getTargetConstantBitsFromNode() local
4865 if (BV->getConstantRawBits(true, SrcEltSizeInBits, SrcEltBits, Undefs)) { in getTargetConstantBitsFromNode()
4866 APInt UndefSrcElts = APInt::getZero(SrcEltBits.size()); in getTargetConstantBitsFromNode()
4867 for (unsigned I = 0, E = SrcEltBits.size(); I != E; ++I) in getTargetConstantBitsFromNode()
4870 return CastBitData(UndefSrcElts, SrcEltBits); in getTargetConstantBitsFromNode()
4887 SmallVector<APInt, 64> SrcEltBits(NumSrcElts, APInt(SrcEltSizeInBits, 0)); in getTargetConstantBitsFromNode() local
4889 if (!CollectConstantBits(Cst->getAggregateElement(i), SrcEltBits[i], in getTargetConstantBitsFromNode()
4893 return CastBitData(UndefSrcElts, SrcEltBits); in getTargetConstantBitsFromNode()
4909 SmallVector<APInt, 64> SrcEltBits(1, APInt(SrcEltSizeInBits, 0)); in getTargetConstantBitsFromNode() local
4910 if (CollectConstantBits(C, SrcEltBits[0], UndefSrcElts, 0)) { in getTargetConstantBitsFromNode()
4913 if (SrcEltBits[0].getBitWidth() != SrcEltSizeInBits) in getTargetConstantBitsFromNode()
4914 SrcEltBits[0] = SrcEltBits[0].trunc(SrcEltSizeInBits); in getTargetConstantBitsFromNode()
4915 SrcEltBits.append(NumSrcElts - 1, SrcEltBits[0]); in getTargetConstantBitsFromNode()
4916 return CastBitData(UndefSrcElts, SrcEltBits); in getTargetConstantBitsFromNode()
4961 SmallVector<APInt, 64> SrcEltBits; in getTargetConstantBitsFromNode() local
4963 SrcEltBits.push_back(C.zextOrTrunc(SrcEltSizeInBits)); in getTargetConstantBitsFromNode()
4964 SrcEltBits.append(NumSrcElts - 1, APInt(SrcEltSizeInBits, 0)); in getTargetConstantBitsFromNode()
4965 return CastBitData(UndefSrcElts, SrcEltBits); in getTargetConstantBitsFromNode()
5656 SmallVector<APInt, 32> SrcEltBits[2]; in getTargetShuffleAndZeroables() local
5659 SrcEltBits[0], /*AllowWholeUndefs*/ true, in getTargetShuffleAndZeroables()
5662 SrcEltBits[1], /*AllowWholeUndefs*/ true, in getTargetShuffleAndZeroables()
5722 else if (SrcEltBits[SrcIdx][M] == 0) in getTargetShuffleAndZeroables()
10070 unsigned SrcEltBits = EltSizeInBits * Scale; in matchShuffleAsVTRUNC() local
10071 if (SrcEltBits < 32 && !Subtarget.hasBWI()) in matchShuffleAsVTRUNC()
10171 unsigned SrcEltBits = EltSizeInBits * Scale; in lowerShuffleWithVPMOV() local
10182 Src.getScalarValueSizeInBits() == SrcEltBits) { in lowerShuffleWithVPMOV()
10185 MVT SrcSVT = MVT::getIntegerVT(SrcEltBits); in lowerShuffleWithVPMOV()
10223 unsigned SrcEltBits = EltSizeInBits * Scale; in lowerShuffleAsVTRUNC() local
10224 if (SrcEltBits < 32 && !Subtarget.hasBWI()) in lowerShuffleAsVTRUNC()
10268 MVT SrcSVT = MVT::getIntegerVT(SrcEltBits); in lowerShuffleAsVTRUNC()
10462 unsigned SrcEltBits = std::min(MaxPackBits, CurrentEltBits); in lowerShuffleWithPACK() local
10463 unsigned NumSrcElts = SizeBits / SrcEltBits; in lowerShuffleWithPACK()
10464 MVT SrcSVT = MVT::getIntegerVT(SrcEltBits); in lowerShuffleWithPACK()
10465 MVT DstSVT = MVT::getIntegerVT(SrcEltBits / 2); in lowerShuffleWithPACK()
39631 auto &SrcEltBits = RawBitsOps[SrcOpIdx]; in combineX86ShufflesConstants() local
39632 APInt &Bits = SrcEltBits[SrcMaskIdx]; in combineX86ShufflesConstants()
44696 unsigned SrcEltBits = SrcSVT.getSizeInBits(); in combineExtractWithShuffle() local
44714 (SrcOpVT.getSizeInBits() % SrcEltBits) == 0) { in combineExtractWithShuffle()
44715 unsigned Scale = SrcOpVT.getSizeInBits() / SrcEltBits; in combineExtractWithShuffle()
44716 unsigned Offset = IdxC.urem(Scale) * SrcEltBits; in combineExtractWithShuffle()
44732 VT.getSizeInBits() == SrcBCWidth && SrcEltBits == SrcBCWidth) { in combineExtractWithShuffle()
44747 (SrcBC.getScalarValueSizeInBits() % SrcEltBits) == 0 && in combineExtractWithShuffle()
44750 unsigned Scale = SrcBC.getScalarValueSizeInBits() / SrcEltBits; in combineExtractWithShuffle()
44771 MVT ExtractVT = MVT::getVectorVT(SrcSVT.getSimpleVT(), 128 / SrcEltBits); in combineExtractWithShuffle()
44858 EVT ExtractSVT = EVT::getIntegerVT(*DAG.getContext(), SrcEltBits / Scale); in combineExtractWithShuffle()
57356 unsigned SrcEltBits = LHS.getScalarValueSizeInBits(); in combineVPMADD() local
57358 if (getTargetConstantBitsFromNode(LHS, SrcEltBits, LHSUndefs, LHSBits) && in combineVPMADD()
57359 getTargetConstantBitsFromNode(RHS, SrcEltBits, RHSUndefs, RHSBits)) { in combineVPMADD()