Lines Matching refs:SM_SentinelUndef

6024   return ((Val == SM_SentinelUndef) || (Val == CmpVal));  in isUndefOrEqual()
6031 return (M == SM_SentinelUndef) || (M == CmpVal); in isUndefOrEqual()
6037 return ((Val == SM_SentinelUndef) || (Val == SM_SentinelZero)); in isUndefOrZero()
6044 [](int M) { return M == SM_SentinelUndef; }); in isUndefInRange()
6079 return M == SM_SentinelZero || M == SM_SentinelUndef; in isAnyZeroOrUndef()
6086 return (Val == SM_SentinelUndef) || isInRange(Val, Low, Hi); in isUndefOrInRange()
6156 if (M0 == SM_SentinelUndef && M1 == SM_SentinelUndef) { in canWidenShuffleElements()
6157 WidenedMask[i / 2] = SM_SentinelUndef; in canWidenShuffleElements()
6163 if (M0 == SM_SentinelUndef && M1 >= 0 && (M1 % 2) == 1) { in canWidenShuffleElements()
6167 if (M1 == SM_SentinelUndef && M0 >= 0 && (M0 % 2) == 0) { in canWidenShuffleElements()
6174 if ((M0 == SM_SentinelZero || M0 == SM_SentinelUndef) && in canWidenShuffleElements()
6175 (M1 == SM_SentinelZero || M1 == SM_SentinelUndef)) { in canWidenShuffleElements()
6184 if (M0 != SM_SentinelUndef && (M0 % 2) == 0 && (M0 + 1) == M1) { in canWidenShuffleElements()
6208 if (Mask[i] != SM_SentinelUndef && Zeroable[i]) in canWidenShuffleElements()
8062 if (SM_SentinelUndef == M) in getTargetShuffleAndZeroables()
8134 Mask[i] = SM_SentinelUndef; in resolveTargetShuffleFromZeroables()
8149 if (SM_SentinelUndef == M) in resolveZeroablesFromTargetShuffle()
8169 Mask.resize(NumElts, SM_SentinelUndef); in createShuffleMaskFromVSELECT()
8415 Mask.append(NumSizeInBytes, SM_SentinelUndef); in getFauxShuffleMask()
8614 M = SM_SentinelUndef; in resolveTargetShuffleInputsAndMask()
8748 if (Elt == SM_SentinelUndef) in getShuffleScalarElt()
11426 Mask.append(NumElems - Mask.size(), SM_SentinelUndef); in LowerBUILD_VECTOR()
11691 assert(Mask[i] == SM_SentinelUndef || Mask[i] >= 0); in isRepeatedShuffleMask()
11739 RepeatedMask.assign(LaneSize, SM_SentinelUndef); in isRepeatedTargetShuffleMask()
11743 if (Mask[i] == SM_SentinelUndef) in isRepeatedTargetShuffleMask()
11759 if (RepeatedMask[i % LaneSize] == SM_SentinelUndef) in isRepeatedTargetShuffleMask()
11900 if (MaskIdx == SM_SentinelUndef || MaskIdx == ExpectedIdx) in isTargetShuffleEquivalent()
12144 Undef1 &= (SM_SentinelUndef == M1); in matchShuffleWithUNPCK()
12145 Undef2 &= (SM_SentinelUndef == M2); in matchShuffleWithUNPCK()
12185 (M == SM_SentinelUndef)) in matchShuffleWithUNPCK()
12760 if (M == SM_SentinelUndef) in matchShuffleAsBlend()
13130 SmallVector<int, 64> PermMask(NumElts, SM_SentinelUndef); in lowerShuffleAsByteRotateAndPermute()
13382 assert((M == SM_SentinelUndef || (0 <= M && M < (2*NumElts))) && in matchShuffleAsElementRotate()
13762 if (M == SM_SentinelUndef) in matchShuffleAsEXTRQ()
14897 Mask[0] == SM_SentinelUndef ? DAG.getUNDEF(MVT::v2f64) : V1, in lowerV2F64Shuffle()
14898 Mask[1] == SM_SentinelUndef ? DAG.getUNDEF(MVT::v2f64) : V1, in lowerV2F64Shuffle()
16786 SmallVector<int, 16> InLaneMask(NumElts, SM_SentinelUndef); in lowerShuffleAsLanePermuteAndPermute()
16788 SmallVector<int, 16> CrossLaneMaskLarge(NumSublanes, SM_SentinelUndef); in lowerShuffleAsLanePermuteAndPermute()
17512 SmallVector<int, 8>((unsigned)NumSubLaneElts, SM_SentinelUndef)); in lowerShuffleAsRepeatedMaskAndLanePermute()
17648 if (Mask[i] == SM_SentinelUndef || ZeroLane[i & 1]) in matchShuffleWithSHUFPD()
19081 assert((M == SM_SentinelUndef || (0 <= M && M < NumElts)) && in lower1BitShuffleAsKSHIFTR()
25476 SmallVector<int, 16> HiMask(NumSrcElts, SM_SentinelUndef); in LowerEXTEND_VECTOR_INREG()
25507 SmallVector<int, 16> Mask(InNumElts, SM_SentinelUndef); in LowerEXTEND_VECTOR_INREG()
29983 ShuffleMask.push_back(SM_SentinelUndef); in LowerShift()
32687 SmallVector<int, 16> ShufMask(NumElts, SM_SentinelUndef); in ReplaceNodeResults()
37042 if (M == SM_SentinelUndef) { in computeKnownBitsForTargetNode()
37192 if (M == SM_SentinelUndef) { in ComputeNumSignBitsForTargetNode()
37436 if (M == SM_SentinelUndef) in matchUnaryPermuteShuffle()
37547 V1 = (SM_SentinelUndef == Mask[0] ? DAG.getUNDEF(MVT::v4f32) : V1); in matchBinaryShuffle()
37623 if (M == SM_SentinelUndef) in matchBinaryShuffle()
37671 if (M == SM_SentinelUndef) in matchBinaryShuffle()
37818 S0 = (SM_SentinelUndef == M0 ? -1 : 0); in matchBinaryPermuteShuffle()
37819 S1 = (SM_SentinelUndef == M1 ? -1 : 1); in matchBinaryPermuteShuffle()
37822 S0 = (SM_SentinelUndef == M0 ? -1 : M0 & 3); in matchBinaryPermuteShuffle()
37823 S1 = (SM_SentinelUndef == M1 ? -1 : M1 & 3); in matchBinaryPermuteShuffle()
37826 S0 = (SM_SentinelUndef == M0 ? -1 : M0 & 3); in matchBinaryPermuteShuffle()
37827 S1 = (SM_SentinelUndef == M1 ? -1 : M1 & 3); in matchBinaryPermuteShuffle()
38451 if (M == SM_SentinelUndef) { in combineX86ShuffleChain()
38499 if (M == SM_SentinelUndef) { in combineX86ShuffleChain()
38534 if (M == SM_SentinelUndef) { in combineX86ShuffleChain()
38566 if (M == SM_SentinelUndef) { in combineX86ShuffleChain()
38697 WideMask.append((Scale - 1) * NumMaskElts, SM_SentinelUndef); in combineX86ShuffleChainWithExtract()
38779 if (M == SM_SentinelUndef) in canonicalizeShuffleMaskWithHorizOp()
38805 return M == SM_SentinelUndef; in canonicalizeShuffleMaskWithHorizOp()
38905 Lo = (WideMask128[0] == SM_SentinelUndef ? Undef : Lo); in canonicalizeShuffleMaskWithHorizOp()
38906 Hi = (WideMask128[1] == SM_SentinelUndef ? Undef : Hi); in canonicalizeShuffleMaskWithHorizOp()
38958 if (M == SM_SentinelUndef) { in combineX86ShufflesConstants()
39099 OpMask.assign(NumElts, SM_SentinelUndef); in combineX86ShufflesRecursively()
39123 OpMask.append((NumSubVecs - 1) * OpMaskSize, SM_SentinelUndef); in combineX86ShufflesRecursively()
39209 Mask.resize(MaskWidth, SM_SentinelUndef); in combineX86ShufflesRecursively()
39263 if (all_of(Mask, [](int Idx) { return Idx == SM_SentinelUndef; })) in combineX86ShufflesRecursively()
39889 SM_SentinelUndef); in combineTargetShuffle()
41551 OpMask[i] = SM_SentinelUndef; in SimplifyDemandedVectorEltsForTargetNode()
41598 SmallVector<int, 64> DemandedMask(NumElts, SM_SentinelUndef); in SimplifyDemandedVectorEltsForTargetNode()
43547 Mask[i] = SM_SentinelUndef; in combineExtractWithShuffle()
43577 if (ExtractIdx == SM_SentinelUndef) in combineExtractWithShuffle()
48060 SmallVector<int, 16> ShuffleMask(NumElts * Scale, SM_SentinelUndef); in combineAnd()
49768 PostShuffleMask.append(NumElts, SM_SentinelUndef); in isHorizontalBinOp()
54480 if (ScaledMask[SubVecIdx] == SM_SentinelUndef) in combineEXTRACT_SUBVECTOR()