Lines Matching refs:SourceHalfMask
9613 MutableArrayRef<int> SourceHalfMask, in lowerV8I16GeneralSingleInputVectorShuffle()
9618 SourceHalfMask[InPlaceInputs[0] - HalfOffset] = in lowerV8I16GeneralSingleInputVectorShuffle()
9626 SourceHalfMask[Input - HalfOffset] = Input - HalfOffset; in lowerV8I16GeneralSingleInputVectorShuffle()
9633 SourceHalfMask[InPlaceInputs[0] - HalfOffset] = in lowerV8I16GeneralSingleInputVectorShuffle()
9638 SourceHalfMask[AdjIndex - HalfOffset] = InPlaceInputs[1] - HalfOffset; in lowerV8I16GeneralSingleInputVectorShuffle()
9651 MutableArrayRef<int> SourceHalfMask, MutableArrayRef<int> HalfMask, in lowerV8I16GeneralSingleInputVectorShuffle()
9654 auto isWordClobbered = [](ArrayRef<int> SourceHalfMask, int Word) { in lowerV8I16GeneralSingleInputVectorShuffle() argument
9655 return SourceHalfMask[Word] >= 0 && SourceHalfMask[Word] != Word; in lowerV8I16GeneralSingleInputVectorShuffle()
9657 auto isDWordClobbered = [&isWordClobbered](ArrayRef<int> SourceHalfMask, in lowerV8I16GeneralSingleInputVectorShuffle()
9661 return isWordClobbered(SourceHalfMask, LowWord) || in lowerV8I16GeneralSingleInputVectorShuffle()
9662 isWordClobbered(SourceHalfMask, HighWord); in lowerV8I16GeneralSingleInputVectorShuffle()
9673 if (isWordClobbered(SourceHalfMask, Input - SourceOffset)) { in lowerV8I16GeneralSingleInputVectorShuffle()
9674 if (SourceHalfMask[SourceHalfMask[Input - SourceOffset]] < 0) { in lowerV8I16GeneralSingleInputVectorShuffle()
9675 SourceHalfMask[SourceHalfMask[Input - SourceOffset]] = in lowerV8I16GeneralSingleInputVectorShuffle()
9679 if (M == SourceHalfMask[Input - SourceOffset] + SourceOffset) in lowerV8I16GeneralSingleInputVectorShuffle()
9682 M = SourceHalfMask[Input - SourceOffset] + SourceOffset; in lowerV8I16GeneralSingleInputVectorShuffle()
9684 assert(SourceHalfMask[SourceHalfMask[Input - SourceOffset]] == in lowerV8I16GeneralSingleInputVectorShuffle()
9691 Input = SourceHalfMask[Input - SourceOffset] + SourceOffset; in lowerV8I16GeneralSingleInputVectorShuffle()
9718 if (isWordClobbered(SourceHalfMask, IncomingInputs[0] - SourceOffset)) { in lowerV8I16GeneralSingleInputVectorShuffle()
9719 int InputFixed = std::find(std::begin(SourceHalfMask), in lowerV8I16GeneralSingleInputVectorShuffle()
9720 std::end(SourceHalfMask), -1) - in lowerV8I16GeneralSingleInputVectorShuffle()
9721 std::begin(SourceHalfMask) + SourceOffset; in lowerV8I16GeneralSingleInputVectorShuffle()
9722 SourceHalfMask[InputFixed - SourceOffset] = in lowerV8I16GeneralSingleInputVectorShuffle()
9730 isDWordClobbered(SourceHalfMask, IncomingInputs[0] - SourceOffset)) { in lowerV8I16GeneralSingleInputVectorShuffle()
9740 if (!isWordClobbered(SourceHalfMask, InputsFixed[0]) && in lowerV8I16GeneralSingleInputVectorShuffle()
9741 SourceHalfMask[InputsFixed[0] ^ 1] < 0) { in lowerV8I16GeneralSingleInputVectorShuffle()
9742 SourceHalfMask[InputsFixed[0]] = InputsFixed[0]; in lowerV8I16GeneralSingleInputVectorShuffle()
9743 SourceHalfMask[InputsFixed[0] ^ 1] = InputsFixed[1]; in lowerV8I16GeneralSingleInputVectorShuffle()
9745 } else if (!isWordClobbered(SourceHalfMask, InputsFixed[1]) && in lowerV8I16GeneralSingleInputVectorShuffle()
9746 SourceHalfMask[InputsFixed[1] ^ 1] < 0) { in lowerV8I16GeneralSingleInputVectorShuffle()
9747 SourceHalfMask[InputsFixed[1]] = InputsFixed[1]; in lowerV8I16GeneralSingleInputVectorShuffle()
9748 SourceHalfMask[InputsFixed[1] ^ 1] = InputsFixed[0]; in lowerV8I16GeneralSingleInputVectorShuffle()
9750 } else if (SourceHalfMask[2 * ((InputsFixed[0] / 2) ^ 1)] < 0 && in lowerV8I16GeneralSingleInputVectorShuffle()
9751 SourceHalfMask[2 * ((InputsFixed[0] / 2) ^ 1) + 1] < 0) { in lowerV8I16GeneralSingleInputVectorShuffle()
9755 SourceHalfMask[2 * ((InputsFixed[0] / 2) ^ 1)] = InputsFixed[0]; in lowerV8I16GeneralSingleInputVectorShuffle()
9756 SourceHalfMask[2 * ((InputsFixed[0] / 2) ^ 1) + 1] = InputsFixed[1]; in lowerV8I16GeneralSingleInputVectorShuffle()
9765 assert((SourceHalfMask[i] < 0 || SourceHalfMask[i] == i) && in lowerV8I16GeneralSingleInputVectorShuffle()
9770 SourceHalfMask[InputsFixed[0] ^ 1] = InputsFixed[1]; in lowerV8I16GeneralSingleInputVectorShuffle()
9771 SourceHalfMask[InputsFixed[1]] = InputsFixed[0] ^ 1; in lowerV8I16GeneralSingleInputVectorShuffle()