Lines Matching refs:OpMask

39755   SmallVector<int, 64> OpMask;  in combineX86ShufflesRecursively()  local
39759 if (getTargetShuffleInputs(Op, OpDemandedElts, OpInputs, OpMask, OpUndef, in combineX86ShufflesRecursively()
39774 OpMask.assign(NumElts, SM_SentinelUndef); in combineX86ShufflesRecursively()
39775 std::iota(OpMask.begin(), OpMask.end(), ExtractIdx); in combineX86ShufflesRecursively()
39785 unsigned OpMaskSize = OpMask.size(); in combineX86ShufflesRecursively()
39788 for (int &M : OpMask) { in combineX86ShufflesRecursively()
39798 OpMask.append((NumSubVecs - 1) * OpMaskSize, SM_SentinelUndef); in combineX86ShufflesRecursively()
39812 for (int i = 0, e = OpMask.size(); i != e; ++i) { in combineX86ShufflesRecursively()
39813 int M = OpMask[i]; in combineX86ShufflesRecursively()
39816 UsedInputs.setBit(M / OpMask.size()); in combineX86ShufflesRecursively()
39823 resolveTargetShuffleFromZeroables(OpMask, OpUndef, OpZero, in combineX86ShufflesRecursively()
39826 Mask = OpMask; in combineX86ShufflesRecursively()
39829 resolveTargetShuffleFromZeroables(OpMask, OpUndef, OpZero); in combineX86ShufflesRecursively()
39855 assert(((RootMask.size() > OpMask.size() && in combineX86ShufflesRecursively()
39856 RootMask.size() % OpMask.size() == 0) || in combineX86ShufflesRecursively()
39857 (OpMask.size() > RootMask.size() && in combineX86ShufflesRecursively()
39858 OpMask.size() % RootMask.size() == 0) || in combineX86ShufflesRecursively()
39859 OpMask.size() == RootMask.size()) && in combineX86ShufflesRecursively()
39867 assert(llvm::has_single_bit<uint32_t>(OpMask.size()) && in combineX86ShufflesRecursively()
39870 unsigned OpMaskSizeLog2 = llvm::countr_zero(OpMask.size()); in combineX86ShufflesRecursively()
39872 unsigned MaskWidth = std::max<unsigned>(OpMask.size(), RootMask.size()); in combineX86ShufflesRecursively()
39874 std::max<unsigned>(1, OpMask.size() >> RootMaskSizeLog2); in combineX86ShufflesRecursively()
39914 if (OpMask[OpIdx] < 0) { in combineX86ShufflesRecursively()
39917 Mask[i] = OpMask[OpIdx]; in combineX86ShufflesRecursively()
39922 unsigned OpMaskedIdx = OpRatio == 1 ? OpMask[OpIdx] in combineX86ShufflesRecursively()
39923 : (OpMask[OpIdx] << OpRatioLog2) + in combineX86ShufflesRecursively()
39927 int InputIdx = OpMask[OpIdx] / (int)OpMask.size(); in combineX86ShufflesRecursively()
42564 SmallVector<int, 64> OpMask; in SimplifyDemandedVectorEltsForTargetNode() local
42566 if (!getTargetShuffleInputs(Op, DemandedElts, OpInputs, OpMask, OpUndef, in SimplifyDemandedVectorEltsForTargetNode()
42571 if (OpMask.size() != (unsigned)NumElts || in SimplifyDemandedVectorEltsForTargetNode()
42585 OpMask[i] = SM_SentinelUndef; in SimplifyDemandedVectorEltsForTargetNode()
42587 if (isUndefInRange(OpMask, 0, NumElts)) { in SimplifyDemandedVectorEltsForTargetNode()
42591 if (isUndefOrZeroInRange(OpMask, 0, NumElts)) { in SimplifyDemandedVectorEltsForTargetNode()
42597 if (isSequentialOrUndefInRange(OpMask, 0, NumElts, Src * NumElts)) in SimplifyDemandedVectorEltsForTargetNode()
42610 int M = OpMask[i] - Lo; in SimplifyDemandedVectorEltsForTargetNode()