Lines Matching refs:Index1
6145 inline uint32_t makePshufdMask(SizeT Index0, SizeT Index1, SizeT Index2,
6147 const SizeT Mask = (Index0 & 0x3) | ((Index1 & 0x3) << 2) |
6155 Operand *Src, SizeT Index0, SizeT Index1, SizeT Index2, SizeT Index3) {
6157 assert((Index0 & SrcBit) == (Index1 & SrcBit));
6166 Ctx->getConstantInt32(makePshufdMask(Index0, Index1, Index2, Index3));
6173 Operand *Src0, SizeT Index0, SizeT Index1, Operand *Src1, SizeT Index2,
6176 assert((Index0 & SrcBit) == (Index1 & SrcBit) || (Index1 == IGNORE_INDEX));
6186 Ctx->getConstantInt32(makePshufdMask(Index0, Index1, Index2, Index3));
6194 Operand *Src0, SizeT Index0, Operand *Src1, SizeT Index1) {
6196 Index1, IGNORE_INDEX);
6199 inline SizeT makeSrcSwitchMask(SizeT Index0, SizeT Index1, SizeT Index2,
6203 const SizeT Index1Bits = ((Index1 & SrcBit) == 0) ? 0 : (1 << 1);
6377 const SizeT Index1 = Instr->getIndexValue(1);
6393 lowerShuffleVector_UsingPshufb(Dest, Src0, Src1, Index0, Index1, Index2,
6449 const SizeT Index1 = Instr->getIndexValue(1);
6460 TO_BYTE_INDEX(Index1), TO_BYTE_INDEX(Index1) + 1, TO_BYTE_INDEX(Index2),
6476 const SizeT Index1 = Instr->getIndexValue(1);
6480 switch (makeSrcSwitchMask(Index0, Index1, Index2, Index3)) {
6484 T = lowerShuffleVector_AllFromSameSrc(Src0, Index0, Index1, Index2,
6491 T = lowerShuffleVector_TwoFromSameSrc(Src0, Index0, Index1, Unified,
6498 T = lowerShuffleVector_TwoFromSameSrc(Src0, Index0, Index1, Unified,
6503 T = lowerShuffleVector_TwoFromSameSrc(Src0, Index0, Index1, Src1,
6509 Src1, Index1);
6515 if (Index0 == 0 && (Index1 - ExpectedNumElements) == 0 && Index2 == 1 &&
6522 } else if (Index0 == Index2 && Index1 == Index3) {
6524 Src0, Index0, Src1, Index1);
6530 Src0, Index0, Src1, Index1);
6540 if (Index0 == Index3 && Index1 == Index2) {
6542 Src0, Index0, Src1, Index1);
6548 Src0, Index0, Src1, Index1);
6559 Src1, Index1);
6566 Src0, Index1);
6572 if (Index0 == Index3 && Index1 == Index2) {
6574 Src1, Index0, Src0, Index1);
6580 Src1, Index0, Src0, Index1);
6590 if ((Index0 - ExpectedNumElements) == 0 && Index1 == 0 &&
6597 } else if (Index0 == Index2 && Index1 == Index3) {
6599 Src1, Index0, Src0, Index1);
6605 Src1, Index0, Src0, Index1);
6616 Src0, Index1);
6622 T = lowerShuffleVector_TwoFromSameSrc(Src1, Index0, Index1, Src0,
6629 T = lowerShuffleVector_TwoFromSameSrc(Src1, Index0, Index1, Unified,
6636 T = lowerShuffleVector_TwoFromSameSrc(Src1, Index0, Index1, Unified,
6641 T = lowerShuffleVector_AllFromSameSrc(Src1, Index0, Index1, Index2,