Lines Matching refs:Index2
6076 inline uint32_t makePshufdMask(SizeT Index0, SizeT Index1, SizeT Index2,
6079 ((Index2 & 0x3) << 4) | ((Index3 & 0x3) << 6);
6086 Operand *Src, SizeT Index0, SizeT Index1, SizeT Index2, SizeT Index3) {
6089 assert((Index0 & SrcBit) == (Index2 & SrcBit));
6097 Ctx->getConstantInt32(makePshufdMask(Index0, Index1, Index2, Index3));
6104 Operand *Src0, SizeT Index0, SizeT Index1, Operand *Src1, SizeT Index2,
6108 assert((Index2 & SrcBit) == (Index3 & SrcBit) || (Index3 == IGNORE_INDEX));
6117 Ctx->getConstantInt32(makePshufdMask(Index0, Index1, Index2, Index3));
6130 inline SizeT makeSrcSwitchMask(SizeT Index0, SizeT Index1, SizeT Index2,
6135 const SizeT Index2Bits = ((Index2 & SrcBit) == 0) ? 0 : (1 << 2);
6309 const SizeT Index2 = Instr->getIndexValue(2);
6324 lowerShuffleVector_UsingPshufb(Dest, Src0, Src1, Index0, Index1, Index2,
6381 const SizeT Index2 = Instr->getIndexValue(2);
6391 TO_BYTE_INDEX(Index1), TO_BYTE_INDEX(Index1) + 1, TO_BYTE_INDEX(Index2),
6392 TO_BYTE_INDEX(Index2) + 1, TO_BYTE_INDEX(Index3),
6408 const SizeT Index2 = Instr->getIndexValue(2);
6411 switch (makeSrcSwitchMask(Index0, Index1, Index2, Index3)) {
6415 T = lowerShuffleVector_AllFromSameSrc(Src0, Index0, Index1, Index2,
6422 auto *Unified = lowerShuffleVector_UnifyFromDifferentSrcs(Src0, Index2,
6429 auto *Unified = lowerShuffleVector_UnifyFromDifferentSrcs(Src1, Index2,
6437 Index2, Index3);
6444 Unified, UNIFIED_INDEX_0, UNIFIED_INDEX_1, Src0, Index2, Index3);
6448 if (Index0 == 0 && (Index1 - ExpectedNumElements) == 0 && Index2 == 1 &&
6455 } else if (Index0 == Index2 && Index1 == Index3) {
6467 Src0, Index2, Src1, Index3);
6475 if (Index0 == Index3 && Index1 == Index2) {
6485 Src1, Index2, Src0, Index3);
6498 Unified, UNIFIED_INDEX_0, UNIFIED_INDEX_1, Src1, Index2, Index3);
6505 Unified, UNIFIED_INDEX_0, UNIFIED_INDEX_1, Src0, Index2, Index3);
6509 if (Index0 == Index3 && Index1 == Index2) {
6523 Src0, Index2, Src1, Index3);
6532 (Index2 - ExpectedNumElements) == 1 && Index3 == 1) {
6538 } else if (Index0 == Index2 && Index1 == Index3) {
6548 Src1, Index2, Src0, Index3);
6561 Unified, UNIFIED_INDEX_0, UNIFIED_INDEX_1, Src1, Index2, Index3);
6566 Index2, Index3);
6572 auto *Unified = lowerShuffleVector_UnifyFromDifferentSrcs(Src0, Index2,
6579 auto *Unified = lowerShuffleVector_UnifyFromDifferentSrcs(Src1, Index2,
6588 T = lowerShuffleVector_AllFromSameSrc(Src1, Index0, Index1, Index2,