Lines Matching refs:Index2
6145 inline uint32_t makePshufdMask(SizeT Index0, SizeT Index1, SizeT Index2,
6148 ((Index2 & 0x3) << 4) | ((Index3 & 0x3) << 6);
6155 Operand *Src, SizeT Index0, SizeT Index1, SizeT Index2, SizeT Index3) {
6158 assert((Index0 & SrcBit) == (Index2 & SrcBit));
6166 Ctx->getConstantInt32(makePshufdMask(Index0, Index1, Index2, Index3));
6173 Operand *Src0, SizeT Index0, SizeT Index1, Operand *Src1, SizeT Index2,
6177 assert((Index2 & SrcBit) == (Index3 & SrcBit) || (Index3 == IGNORE_INDEX));
6186 Ctx->getConstantInt32(makePshufdMask(Index0, Index1, Index2, Index3));
6199 inline SizeT makeSrcSwitchMask(SizeT Index0, SizeT Index1, SizeT Index2,
6204 const SizeT Index2Bits = ((Index2 & SrcBit) == 0) ? 0 : (1 << 2);
6378 const SizeT Index2 = Instr->getIndexValue(2);
6393 lowerShuffleVector_UsingPshufb(Dest, Src0, Src1, Index0, Index1, Index2,
6450 const SizeT Index2 = Instr->getIndexValue(2);
6460 TO_BYTE_INDEX(Index1), TO_BYTE_INDEX(Index1) + 1, TO_BYTE_INDEX(Index2),
6461 TO_BYTE_INDEX(Index2) + 1, TO_BYTE_INDEX(Index3),
6477 const SizeT Index2 = Instr->getIndexValue(2);
6480 switch (makeSrcSwitchMask(Index0, Index1, Index2, Index3)) {
6484 T = lowerShuffleVector_AllFromSameSrc(Src0, Index0, Index1, Index2,
6489 auto *Unified = lowerShuffleVector_UnifyFromDifferentSrcs(Src0, Index2,
6496 auto *Unified = lowerShuffleVector_UnifyFromDifferentSrcs(Src1, Index2,
6504 Index2, Index3);
6511 Unified, UNIFIED_INDEX_0, UNIFIED_INDEX_1, Src0, Index2, Index3);
6515 if (Index0 == 0 && (Index1 - ExpectedNumElements) == 0 && Index2 == 1 &&
6522 } else if (Index0 == Index2 && Index1 == Index3) {
6532 Src0, Index2, Src1, Index3);
6540 if (Index0 == Index3 && Index1 == Index2) {
6550 Src1, Index2, Src0, Index3);
6561 Unified, UNIFIED_INDEX_0, UNIFIED_INDEX_1, Src1, Index2, Index3);
6568 Unified, UNIFIED_INDEX_0, UNIFIED_INDEX_1, Src0, Index2, Index3);
6572 if (Index0 == Index3 && Index1 == Index2) {
6582 Src0, Index2, Src1, Index3);
6591 (Index2 - ExpectedNumElements) == 1 && Index3 == 1) {
6597 } else if (Index0 == Index2 && Index1 == Index3) {
6607 Src1, Index2, Src0, Index3);
6618 Unified, UNIFIED_INDEX_0, UNIFIED_INDEX_1, Src1, Index2, Index3);
6623 Index2, Index3);
6627 auto *Unified = lowerShuffleVector_UnifyFromDifferentSrcs(Src0, Index2,
6634 auto *Unified = lowerShuffleVector_UnifyFromDifferentSrcs(Src1, Index2,
6641 T = lowerShuffleVector_AllFromSameSrc(Src1, Index0, Index1, Index2,