Lines Matching refs:Mask
122 static bool isDeInterleaveMaskOfFactor(ArrayRef<int> Mask, unsigned Factor, in isDeInterleaveMaskOfFactor() argument
130 for (; i < Mask.size(); i++) in isDeInterleaveMaskOfFactor()
131 if (Mask[i] >= 0 && static_cast<unsigned>(Mask[i]) != Index + i * Factor) in isDeInterleaveMaskOfFactor()
134 if (i == Mask.size()) in isDeInterleaveMaskOfFactor()
146 static bool isDeInterleaveMask(ArrayRef<int> Mask, unsigned &Factor, in isDeInterleaveMask() argument
148 if (Mask.size() < 2) in isDeInterleaveMask()
153 if (isDeInterleaveMaskOfFactor(Mask, Factor, Index)) in isDeInterleaveMask()
165 static bool isReInterleaveMask(ArrayRef<int> Mask, unsigned &Factor) { in isReInterleaveMask() argument
166 unsigned NumElts = Mask.size(); in isReInterleaveMask()
183 if (Mask[i] >= 0 && in isReInterleaveMask()
184 static_cast<unsigned>(Mask[i]) != in isReInterleaveMask()