Lines Matching refs:Index0
6076 inline uint32_t makePshufdMask(SizeT Index0, SizeT Index1, SizeT Index2,
6078 const SizeT Mask = (Index0 & 0x3) | ((Index1 & 0x3) << 2) |
6086 Operand *Src, SizeT Index0, SizeT Index1, SizeT Index2, SizeT Index3) {
6088 assert((Index0 & SrcBit) == (Index1 & SrcBit));
6089 assert((Index0 & SrcBit) == (Index2 & SrcBit));
6090 assert((Index0 & SrcBit) == (Index3 & SrcBit));
6097 Ctx->getConstantInt32(makePshufdMask(Index0, Index1, Index2, Index3));
6104 Operand *Src0, SizeT Index0, SizeT Index1, Operand *Src1, SizeT Index2,
6107 assert((Index0 & SrcBit) == (Index1 & SrcBit) || (Index1 == IGNORE_INDEX));
6117 Ctx->getConstantInt32(makePshufdMask(Index0, Index1, Index2, Index3));
6125 Operand *Src0, SizeT Index0, Operand *Src1, SizeT Index1) {
6126 return lowerShuffleVector_TwoFromSameSrc(Src0, Index0, IGNORE_INDEX, Src1,
6130 inline SizeT makeSrcSwitchMask(SizeT Index0, SizeT Index1, SizeT Index2,
6133 const SizeT Index0Bits = ((Index0 & SrcBit) == 0) ? 0 : (1 << 0);
6307 const SizeT Index0 = Instr->getIndex(0)->getValue();
6324 lowerShuffleVector_UsingPshufb(Dest, Src0, Src1, Index0, Index1, Index2,
6379 const SizeT Index0 = Instr->getIndex(0)->getValue();
6390 Dest, Src0, Src1, TO_BYTE_INDEX(Index0), TO_BYTE_INDEX(Index0) + 1,
6406 const SizeT Index0 = Instr->getIndex(0)->getValue();
6411 switch (makeSrcSwitchMask(Index0, Index1, Index2, Index3)) {
6415 T = lowerShuffleVector_AllFromSameSrc(Src0, Index0, Index1, Index2,
6424 T = lowerShuffleVector_TwoFromSameSrc(Src0, Index0, Index1, Unified,
6431 T = lowerShuffleVector_TwoFromSameSrc(Src0, Index0, Index1, Unified,
6436 T = lowerShuffleVector_TwoFromSameSrc(Src0, Index0, Index1, Src1,
6441 auto *Unified = lowerShuffleVector_UnifyFromDifferentSrcs(Src0, Index0,
6448 if (Index0 == 0 && (Index1 - ExpectedNumElements) == 0 && Index2 == 1 &&
6455 } else if (Index0 == Index2 && Index1 == Index3) {
6459 Src0, Index0, Src1, Index1);
6465 Src0, Index0, Src1, Index1);
6475 if (Index0 == Index3 && Index1 == Index2) {
6477 Src0, Index0, Src1, Index1);
6483 Src0, Index0, Src1, Index1);
6495 auto *Unified = lowerShuffleVector_UnifyFromDifferentSrcs(Src0, Index0,
6502 auto *Unified = lowerShuffleVector_UnifyFromDifferentSrcs(Src1, Index0,
6509 if (Index0 == Index3 && Index1 == Index2) {
6513 Src1, Index0, Src0, Index1);
6521 Src1, Index0, Src0, Index1);
6531 if ((Index0 - ExpectedNumElements) == 0 && Index1 == 0 &&
6538 } else if (Index0 == Index2 && Index1 == Index3) {
6540 Src1, Index0, Src0, Index1);
6546 Src1, Index0, Src0, Index1);
6558 auto *Unified = lowerShuffleVector_UnifyFromDifferentSrcs(Src1, Index0,
6565 T = lowerShuffleVector_TwoFromSameSrc(Src1, Index0, Index1, Src0,
6574 T = lowerShuffleVector_TwoFromSameSrc(Src1, Index0, Index1, Unified,
6581 T = lowerShuffleVector_TwoFromSameSrc(Src1, Index0, Index1, Unified,
6588 T = lowerShuffleVector_AllFromSameSrc(Src1, Index0, Index1, Index2,