Lines Matching refs:RootMask

38950     ArrayRef<int> RootMask, ArrayRef<const SDNode *> SrcNodes, unsigned Depth,  in combineX86ShufflesRecursively()  argument
38954 assert(!RootMask.empty() && in combineX86ShufflesRecursively()
38955 (RootMask.size() > 1 || (RootMask[0] == 0 && SrcOpIndex == 0)) && in combineX86ShufflesRecursively()
38982 APInt OpDemandedElts = APInt::getZero(RootMask.size()); in combineX86ShufflesRecursively()
38983 for (int M : RootMask) { in combineX86ShufflesRecursively()
38984 int BaseIdx = RootMask.size() * SrcOpIndex; in combineX86ShufflesRecursively()
38985 if (isInRange(M, BaseIdx, BaseIdx + RootMask.size())) in combineX86ShufflesRecursively()
38991 unsigned NumOpMaskElts = RootMask.size() / Scale; in combineX86ShufflesRecursively()
38992 assert((RootMask.size() % Scale) == 0 && "Root mask size mismatch"); in combineX86ShufflesRecursively()
38994 .extractBits(RootMask.size() - NumOpMaskElts, NumOpMaskElts) in combineX86ShufflesRecursively()
39053 bool EmptyRoot = (Depth == 0) && (RootMask.size() == 1); in combineX86ShufflesRecursively()
39103 assert(((RootMask.size() > OpMask.size() && in combineX86ShufflesRecursively()
39104 RootMask.size() % OpMask.size() == 0) || in combineX86ShufflesRecursively()
39105 (OpMask.size() > RootMask.size() && in combineX86ShufflesRecursively()
39106 OpMask.size() % RootMask.size() == 0) || in combineX86ShufflesRecursively()
39107 OpMask.size() == RootMask.size()) && in combineX86ShufflesRecursively()
39113 assert(llvm::has_single_bit<uint32_t>(RootMask.size()) && in combineX86ShufflesRecursively()
39117 unsigned RootMaskSizeLog2 = llvm::countr_zero(RootMask.size()); in combineX86ShufflesRecursively()
39120 unsigned MaskWidth = std::max<unsigned>(OpMask.size(), RootMask.size()); in combineX86ShufflesRecursively()
39123 unsigned OpRatio = std::max<unsigned>(1, RootMask.size() >> OpMaskSizeLog2); in combineX86ShufflesRecursively()
39141 if (RootMask[RootIdx] < 0) { in combineX86ShufflesRecursively()
39143 Mask[i] = RootMask[RootIdx]; in combineX86ShufflesRecursively()
39149 ? RootMask[RootIdx] in combineX86ShufflesRecursively()
39150 : (RootMask[RootIdx] << RootRatioLog2) + (i & (RootRatio - 1)); in combineX86ShufflesRecursively()