Lines Matching refs:NumMaskElts
30325 unsigned NumMaskElts = Mask.size(); in matchUnaryVectorShuffle() local
30330 isUndefOrZero(Mask[1]) && isUndefInRange(Mask, 2, NumMaskElts - 2)) { in matchUnaryVectorShuffle()
30343 unsigned NumDstElts = NumMaskElts / Scale; in matchUnaryVectorShuffle()
30372 isUndefOrZeroInRange(Mask, 1, NumMaskElts - 1)) { in matchUnaryVectorShuffle()
30442 SmallVector<int, 64> BroadcastMask(NumMaskElts, 0); in matchUnaryVectorShuffle()
30463 unsigned NumMaskElts = Mask.size(); in matchUnaryPermuteVectorShuffle() local
30465 unsigned MaskScalarSizeInBits = InputSizeInBits / NumMaskElts; in matchUnaryPermuteVectorShuffle()
30650 unsigned NumMaskElts = Mask.size(); in matchBinaryPermuteVectorShuffle() local
30666 if ((NumMaskElts <= 8 && ((Subtarget.hasSSE41() && MaskVT.is128BitVector()) || in matchBinaryPermuteVectorShuffle()
30711 scaleVectorShuffleBlendMask(BlendMask, NumMaskElts, Scale); in matchBinaryPermuteVectorShuffle()
30713 ShuffleVT = MVT::getVectorVT(ShuffleVT, NumMaskElts * Scale); in matchBinaryPermuteVectorShuffle()
30889 unsigned NumMaskElts = Mask.size(); in combineX86ShuffleChain() local
30890 unsigned MaskEltSizeInBits = RootSizeInBits / NumMaskElts; in combineX86ShuffleChain()
30896 MaskVT = MVT::getVectorVT(MaskVT, NumMaskElts); in combineX86ShuffleChain()
30913 APInt Zeroable(NumMaskElts, 0); in combineX86ShuffleChain()
30914 for (unsigned i = 0; i != NumMaskElts; ++i) in combineX86ShuffleChain()
30925 ArrayRef<int> HiMask(Mask.data() + Scale, NumMaskElts - Scale); in combineX86ShuffleChain()
30927 isUndefOrZeroOrInRange(HiMask, Scale, NumMaskElts)) { in combineX86ShuffleChain()
30988 IntMaskVT = MVT::getVectorVT(IntMaskVT, NumMaskElts); in combineX86ShuffleChain()
31060 for (unsigned i = 0; i != NumMaskElts; ++i) in combineX86ShuffleChain()
31062 Mask[i] = NumMaskElts + i; in combineX86ShuffleChain()
31095 isSequentialOrUndefOrZeroInRange(Mask, 0, NumMaskElts, 0) && in combineX86ShuffleChain()
31099 APInt UndefElts(NumMaskElts, 0); in combineX86ShuffleChain()
31100 SmallVector<APInt, 64> EltBits(NumMaskElts, Zero); in combineX86ShuffleChain()
31101 for (unsigned i = 0; i != NumMaskElts; ++i) { in combineX86ShuffleChain()
31147 unsigned NumEltsPerLane = NumMaskElts / NumLanes; in combineX86ShuffleChain()
31160 int Index = (M % NumEltsPerLane) + ((M / NumMaskElts) * NumEltsPerLane); in combineX86ShuffleChain()
31183 int Ratio = NumBytes / NumMaskElts; in combineX86ShuffleChain()
31214 int Ratio = NumBytes / NumMaskElts; in combineX86ShuffleChain()
31251 unsigned NumMaskElts = Mask.size(); in combineX86ShufflesConstants() local
31252 unsigned MaskSizeInBits = SizeInBits / NumMaskElts; in combineX86ShufflesConstants()
31274 APInt UndefElts(NumMaskElts, 0); in combineX86ShufflesConstants()
31275 APInt ZeroElts(NumMaskElts, 0); in combineX86ShufflesConstants()
31276 APInt ConstantElts(NumMaskElts, 0); in combineX86ShufflesConstants()
31277 SmallVector<APInt, 8> ConstantBitData(NumMaskElts, in combineX86ShufflesConstants()
31279 for (unsigned i = 0; i != NumMaskElts; ++i) { in combineX86ShufflesConstants()
31288 assert(0 <= M && M < (int)(NumMaskElts * NumOps)); in combineX86ShufflesConstants()
31290 unsigned SrcOpIdx = (unsigned)M / NumMaskElts; in combineX86ShufflesConstants()
31291 unsigned SrcMaskIdx = (unsigned)M % NumMaskElts; in combineX86ShufflesConstants()
31318 MVT MaskVT = MVT::getVectorVT(MaskSVT, NumMaskElts); in combineX86ShufflesConstants()