Lines Matching refs:NumSubElts
6651 unsigned NumSubElts = OpVT.getVectorNumElements() / NumSubs; in SplitOpsAndApply() local
6653 SubOps.push_back(extractSubVector(Op, i * NumSubElts, DAG, DL, SizeSub)); in SplitOpsAndApply()
7367 unsigned NumSubElts = SubVecSizeInBits / CstEltSizeInBits; in getTargetConstantBitsFromNode() local
7369 APInt UndefSubElts(NumSubElts, 0); in getTargetConstantBitsFromNode()
7370 SmallVector<APInt, 64> SubEltBits(NumSubElts * NumSubVecs, in getTargetConstantBitsFromNode()
7372 for (unsigned i = 0; i != NumSubElts; ++i) { in getTargetConstantBitsFromNode()
7377 SubEltBits[i + (j * NumSubElts)] = SubEltBits[i]; in getTargetConstantBitsFromNode()
7436 unsigned NumSubElts = VT.getVectorNumElements(); in getTargetConstantBitsFromNode() local
7438 UndefElts = UndefElts.extractBits(NumSubElts, BaseIdx); in getTargetConstantBitsFromNode()
7439 if ((BaseIdx + NumSubElts) != NumSrcElts) in getTargetConstantBitsFromNode()
7440 EltBits.erase(EltBits.begin() + BaseIdx + NumSubElts, EltBits.end()); in getTargetConstantBitsFromNode()
8102 int NumSubElts = V.getOperand(1).getValueType().getVectorNumElements(); in getTargetShuffleAndZeroables() local
8103 if (M < Idx || (Idx + NumSubElts) <= M) in getTargetShuffleAndZeroables()
8290 unsigned NumSubElts = SubVT.getVectorNumElements(); in getFauxShuffleMask() local
8300 for (int i = 0; i != (int)NumSubElts; ++i) in getFauxShuffleMask()
8320 if (SubMask.size() != NumSubElts) { in getFauxShuffleMask()
8321 assert(((SubMask.size() % NumSubElts) == 0 || in getFauxShuffleMask()
8322 (NumSubElts % SubMask.size()) == 0) && "Illegal submask scale"); in getFauxShuffleMask()
8323 if ((NumSubElts % SubMask.size()) == 0) { in getFauxShuffleMask()
8324 int Scale = NumSubElts / SubMask.size(); in getFauxShuffleMask()
8329 int Scale = SubMask.size() / NumSubElts; in getFauxShuffleMask()
8330 NumSubElts = SubMask.size(); in getFauxShuffleMask()
8342 for (int i = 0; i != (int)NumSubElts; ++i) { in getFauxShuffleMask()
8345 int InputIdx = M / NumSubElts; in getFauxShuffleMask()
8346 M = (NumElts * (1 + InputIdx)) + (M % NumSubElts); in getFauxShuffleMask()
8761 unsigned NumSubElts = Sub.getValueType().getVectorNumElements(); in getShuffleScalarElt() local
8763 if (SubIdx <= Index && Index < (SubIdx + NumSubElts)) in getShuffleScalarElt()
8771 unsigned NumSubElts = SubVT.getVectorNumElements(); in getShuffleScalarElt() local
8772 uint64_t SubIdx = Index / NumSubElts; in getShuffleScalarElt()
8773 uint64_t SubElt = Index % NumSubElts; in getShuffleScalarElt()
13278 static int matchShuffleAsBitRotate(ArrayRef<int> Mask, int NumSubElts) { in matchShuffleAsBitRotate() argument
13280 assert((NumElts % NumSubElts) == 0 && "Illegal shuffle mask"); in matchShuffleAsBitRotate()
13283 for (int i = 0; i != NumElts; i += NumSubElts) { in matchShuffleAsBitRotate()
13284 for (int j = 0; j != NumSubElts; ++j) { in matchShuffleAsBitRotate()
13288 if (!isInRange(M, i, i + NumSubElts)) in matchShuffleAsBitRotate()
13290 int Offset = (NumSubElts - (M - (i + j))) % NumSubElts; in matchShuffleAsBitRotate()
13308 for (int NumSubElts = MinSubElts; NumSubElts <= MaxSubElts; NumSubElts *= 2) { in matchShuffleAsBitRotate() local
13309 int RotateAmt = matchShuffleAsBitRotate(Mask, NumSubElts); in matchShuffleAsBitRotate()
13314 MVT RotateSVT = MVT::getIntegerVT(EltSizeInBits * NumSubElts); in matchShuffleAsBitRotate()
13315 RotateVT = MVT::getVectorVT(RotateSVT, NumElts / NumSubElts); in matchShuffleAsBitRotate()
14506 int NumSubElts = (int)VInner.getSimpleValueType().getVectorNumElements(); in lowerShuffleAsBroadcast() local
14508 int EndOffset = BeginOffset + NumSubElts * EltBitWidth; in lowerShuffleAsBroadcast()
53921 unsigned NumSubElts = Sub.getValueType().getVectorNumElements(); in combineConcatVectorOps() local
53924 Sub.getConstantOperandAPInt(1) != (I * NumSubElts)) in combineConcatVectorOps()
54399 unsigned NumSubElts = VT.getVectorNumElements(); in combineEXTRACT_SUBVECTOR() local
54438 InVec->ops().slice(IdxVal, NumSubElts)); in combineEXTRACT_SUBVECTOR()
54471 if ((InSizeInBits % SizeInBits) == 0 && (IdxVal % NumSubElts) == 0) { in combineEXTRACT_SUBVECTOR()
54479 unsigned SubVecIdx = IdxVal / NumSubElts; in combineEXTRACT_SUBVECTOR()
54487 unsigned SrcEltIdx = SrcSubVecIdx * NumSubElts; in combineEXTRACT_SUBVECTOR()