Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:SVI

1766   if (ShuffleVectorInst *SVI = dyn_cast<ShuffleVectorInst>(Src)) {
1769 if (SVI->hasOneUse() && DestTy->isVectorTy() &&
1771 SVI->getType()->getNumElements() &&
1772 SVI->getType()->getNumElements() ==
1773 cast<VectorType>(SVI->getOperand(0)->getType())->getNumElements()) {
1778 if (((Tmp = dyn_cast<BitCastInst>(SVI->getOperand(0))) &&
1780 ((Tmp = dyn_cast<BitCastInst>(SVI->getOperand(1))) &&
1782 Value *LHS = Builder->CreateBitCast(SVI->getOperand(0), DestTy);
1783 Value *RHS = Builder->CreateBitCast(SVI->getOperand(1), DestTy);
1786 return new ShuffleVectorInst(LHS, RHS, SVI->getOperand(2));