Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:SVI

1741   if (ShuffleVectorInst *SVI = dyn_cast<ShuffleVectorInst>(Src)) {
1744 if (SVI->hasOneUse() && DestTy->isVectorTy() &&
1746 SVI->getType()->getNumElements() &&
1747 SVI->getType()->getNumElements() ==
1748 cast<VectorType>(SVI->getOperand(0)->getType())->getNumElements()) {
1753 if (((Tmp = dyn_cast<BitCastInst>(SVI->getOperand(0))) &&
1755 ((Tmp = dyn_cast<BitCastInst>(SVI->getOperand(1))) &&
1757 Value *LHS = Builder->CreateBitCast(SVI->getOperand(0), DestTy);
1758 Value *RHS = Builder->CreateBitCast(SVI->getOperand(1), DestTy);
1761 return new ShuffleVectorInst(LHS, RHS, SVI->getOperand(2));