Lines Matching refs:SourceHalfMask
12850 MutableArrayRef<int> SourceHalfMask, in lowerV8I16GeneralSingleInputVectorShuffle()
12855 SourceHalfMask[InPlaceInputs[0] - HalfOffset] = in lowerV8I16GeneralSingleInputVectorShuffle()
12863 SourceHalfMask[Input - HalfOffset] = Input - HalfOffset; in lowerV8I16GeneralSingleInputVectorShuffle()
12870 SourceHalfMask[InPlaceInputs[0] - HalfOffset] = in lowerV8I16GeneralSingleInputVectorShuffle()
12875 SourceHalfMask[AdjIndex - HalfOffset] = InPlaceInputs[1] - HalfOffset; in lowerV8I16GeneralSingleInputVectorShuffle()
12888 MutableArrayRef<int> SourceHalfMask, MutableArrayRef<int> HalfMask, in lowerV8I16GeneralSingleInputVectorShuffle()
12891 auto isWordClobbered = [](ArrayRef<int> SourceHalfMask, int Word) { in lowerV8I16GeneralSingleInputVectorShuffle() argument
12892 return SourceHalfMask[Word] >= 0 && SourceHalfMask[Word] != Word; in lowerV8I16GeneralSingleInputVectorShuffle()
12894 auto isDWordClobbered = [&isWordClobbered](ArrayRef<int> SourceHalfMask, in lowerV8I16GeneralSingleInputVectorShuffle()
12898 return isWordClobbered(SourceHalfMask, LowWord) || in lowerV8I16GeneralSingleInputVectorShuffle()
12899 isWordClobbered(SourceHalfMask, HighWord); in lowerV8I16GeneralSingleInputVectorShuffle()
12910 if (isWordClobbered(SourceHalfMask, Input - SourceOffset)) { in lowerV8I16GeneralSingleInputVectorShuffle()
12911 if (SourceHalfMask[SourceHalfMask[Input - SourceOffset]] < 0) { in lowerV8I16GeneralSingleInputVectorShuffle()
12912 SourceHalfMask[SourceHalfMask[Input - SourceOffset]] = in lowerV8I16GeneralSingleInputVectorShuffle()
12916 if (M == SourceHalfMask[Input - SourceOffset] + SourceOffset) in lowerV8I16GeneralSingleInputVectorShuffle()
12919 M = SourceHalfMask[Input - SourceOffset] + SourceOffset; in lowerV8I16GeneralSingleInputVectorShuffle()
12921 assert(SourceHalfMask[SourceHalfMask[Input - SourceOffset]] == in lowerV8I16GeneralSingleInputVectorShuffle()
12928 Input = SourceHalfMask[Input - SourceOffset] + SourceOffset; in lowerV8I16GeneralSingleInputVectorShuffle()
12955 if (isWordClobbered(SourceHalfMask, IncomingInputs[0] - SourceOffset)) { in lowerV8I16GeneralSingleInputVectorShuffle()
12956 int InputFixed = find(SourceHalfMask, -1) - std::begin(SourceHalfMask) + in lowerV8I16GeneralSingleInputVectorShuffle()
12958 SourceHalfMask[InputFixed - SourceOffset] = in lowerV8I16GeneralSingleInputVectorShuffle()
12966 isDWordClobbered(SourceHalfMask, IncomingInputs[0] - SourceOffset)) { in lowerV8I16GeneralSingleInputVectorShuffle()
12976 if (!isWordClobbered(SourceHalfMask, InputsFixed[0]) && in lowerV8I16GeneralSingleInputVectorShuffle()
12977 SourceHalfMask[InputsFixed[0] ^ 1] < 0) { in lowerV8I16GeneralSingleInputVectorShuffle()
12978 SourceHalfMask[InputsFixed[0]] = InputsFixed[0]; in lowerV8I16GeneralSingleInputVectorShuffle()
12979 SourceHalfMask[InputsFixed[0] ^ 1] = InputsFixed[1]; in lowerV8I16GeneralSingleInputVectorShuffle()
12981 } else if (!isWordClobbered(SourceHalfMask, InputsFixed[1]) && in lowerV8I16GeneralSingleInputVectorShuffle()
12982 SourceHalfMask[InputsFixed[1] ^ 1] < 0) { in lowerV8I16GeneralSingleInputVectorShuffle()
12983 SourceHalfMask[InputsFixed[1]] = InputsFixed[1]; in lowerV8I16GeneralSingleInputVectorShuffle()
12984 SourceHalfMask[InputsFixed[1] ^ 1] = InputsFixed[0]; in lowerV8I16GeneralSingleInputVectorShuffle()
12986 } else if (SourceHalfMask[2 * ((InputsFixed[0] / 2) ^ 1)] < 0 && in lowerV8I16GeneralSingleInputVectorShuffle()
12987 SourceHalfMask[2 * ((InputsFixed[0] / 2) ^ 1) + 1] < 0) { in lowerV8I16GeneralSingleInputVectorShuffle()
12991 SourceHalfMask[2 * ((InputsFixed[0] / 2) ^ 1)] = InputsFixed[0]; in lowerV8I16GeneralSingleInputVectorShuffle()
12992 SourceHalfMask[2 * ((InputsFixed[0] / 2) ^ 1) + 1] = InputsFixed[1]; in lowerV8I16GeneralSingleInputVectorShuffle()
13001 assert((SourceHalfMask[i] < 0 || SourceHalfMask[i] == i) && in lowerV8I16GeneralSingleInputVectorShuffle()
13006 SourceHalfMask[InputsFixed[0] ^ 1] = InputsFixed[1]; in lowerV8I16GeneralSingleInputVectorShuffle()
13007 SourceHalfMask[InputsFixed[1]] = InputsFixed[0] ^ 1; in lowerV8I16GeneralSingleInputVectorShuffle()