Lines Matching refs:OpMask
36943 SmallVector<int, 64> OpMask; in combineX86ShufflesRecursively() local
36948 if (!getTargetShuffleInputs(Op, OpDemandedElts, OpInputs, OpMask, OpUndef, in combineX86ShufflesRecursively()
36963 unsigned OpMaskSize = OpMask.size(); in combineX86ShufflesRecursively()
36966 for (int &M : OpMask) { in combineX86ShufflesRecursively()
36976 OpMask.append((NumSubVecs - 1) * OpMaskSize, SM_SentinelUndef); in combineX86ShufflesRecursively()
36990 for (int i = 0, e = OpMask.size(); i != e; ++i) { in combineX86ShufflesRecursively()
36991 int M = OpMask[i]; in combineX86ShufflesRecursively()
36994 UsedInputs.setBit(M / OpMask.size()); in combineX86ShufflesRecursively()
37001 resolveTargetShuffleFromZeroables(OpMask, OpUndef, OpZero, in combineX86ShufflesRecursively()
37004 Mask = OpMask; in combineX86ShufflesRecursively()
37007 resolveTargetShuffleFromZeroables(OpMask, OpUndef, OpZero); in combineX86ShufflesRecursively()
37033 assert(((RootMask.size() > OpMask.size() && in combineX86ShufflesRecursively()
37034 RootMask.size() % OpMask.size() == 0) || in combineX86ShufflesRecursively()
37035 (OpMask.size() > RootMask.size() && in combineX86ShufflesRecursively()
37036 OpMask.size() % RootMask.size() == 0) || in combineX86ShufflesRecursively()
37037 OpMask.size() == RootMask.size()) && in combineX86ShufflesRecursively()
37045 assert(isPowerOf2_32(OpMask.size()) && "Non-power-of-2 shuffle mask sizes"); in combineX86ShufflesRecursively()
37047 unsigned OpMaskSizeLog2 = countTrailingZeros(OpMask.size()); in combineX86ShufflesRecursively()
37049 unsigned MaskWidth = std::max<unsigned>(OpMask.size(), RootMask.size()); in combineX86ShufflesRecursively()
37051 std::max<unsigned>(1, OpMask.size() >> RootMaskSizeLog2); in combineX86ShufflesRecursively()
37091 if (OpMask[OpIdx] < 0) { in combineX86ShufflesRecursively()
37094 Mask[i] = OpMask[OpIdx]; in combineX86ShufflesRecursively()
37099 unsigned OpMaskedIdx = OpRatio == 1 ? OpMask[OpIdx] in combineX86ShufflesRecursively()
37100 : (OpMask[OpIdx] << OpRatioLog2) + in combineX86ShufflesRecursively()
37104 int InputIdx = OpMask[OpIdx] / (int)OpMask.size(); in combineX86ShufflesRecursively()
39139 SmallVector<int, 64> OpMask; in SimplifyDemandedVectorEltsForTargetNode() local
39141 if (!getTargetShuffleInputs(Op, DemandedElts, OpInputs, OpMask, OpUndef, in SimplifyDemandedVectorEltsForTargetNode()
39146 if (OpMask.size() != (unsigned)NumElts || in SimplifyDemandedVectorEltsForTargetNode()
39160 OpMask[i] = SM_SentinelUndef; in SimplifyDemandedVectorEltsForTargetNode()
39162 if (isUndefInRange(OpMask, 0, NumElts)) { in SimplifyDemandedVectorEltsForTargetNode()
39166 if (isUndefOrZeroInRange(OpMask, 0, NumElts)) { in SimplifyDemandedVectorEltsForTargetNode()
39172 if (isSequentialOrUndefInRange(OpMask, 0, NumElts, Src * NumElts)) in SimplifyDemandedVectorEltsForTargetNode()
39185 int M = OpMask[i] - Lo; in SimplifyDemandedVectorEltsForTargetNode()