Lines Matching refs:ExpectedIdx
10849 int Idx, int ExpectedIdx) { in IsElementEquivalent() argument
10850 assert(0 <= Idx && Idx < MaskSize && 0 <= ExpectedIdx && in IsElementEquivalent()
10851 ExpectedIdx < MaskSize && "Out of range element index"); in IsElementEquivalent()
10862 return Op.getOperand(Idx) == ExpectedOp.getOperand(ExpectedIdx); in IsElementEquivalent()
10881 (Idx / NumEltsPerLane) == (ExpectedIdx / NumEltsPerLane); in IsElementEquivalent()
10883 (Idx % NumHalfEltsPerLane) == (ExpectedIdx % NumHalfEltsPerLane); in IsElementEquivalent()
10913 int ExpectedIdx = ExpectedMask[i]; in isShuffleEquivalent() local
10914 if (0 <= MaskIdx && MaskIdx != ExpectedIdx) { in isShuffleEquivalent()
10916 SDValue ExpectedV = ExpectedIdx < Size ? V1 : V2; in isShuffleEquivalent()
10918 ExpectedIdx = ExpectedIdx < Size ? ExpectedIdx : (ExpectedIdx - Size); in isShuffleEquivalent()
10919 if (!IsElementEquivalent(Size, MaskV, ExpectedV, MaskIdx, ExpectedIdx)) in isShuffleEquivalent()
10957 int ExpectedIdx = ExpectedMask[i]; in isTargetShuffleEquivalent() local
10958 if (MaskIdx == SM_SentinelUndef || MaskIdx == ExpectedIdx) in isTargetShuffleEquivalent()
10960 if (0 <= MaskIdx && 0 <= ExpectedIdx) { in isTargetShuffleEquivalent()
10962 SDValue ExpectedV = ExpectedIdx < Size ? V1 : V2; in isTargetShuffleEquivalent()
10964 ExpectedIdx = ExpectedIdx < Size ? ExpectedIdx : (ExpectedIdx - Size); in isTargetShuffleEquivalent()
10965 if (IsElementEquivalent(Size, MaskV, ExpectedV, MaskIdx, ExpectedIdx)) in isTargetShuffleEquivalent()