reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/InstCombine/InstCombineCasts.cpp
  640   if (Shuf && Shuf->hasOneUse() && isa<UndefValue>(Shuf->getOperand(1)) &&
  640   if (Shuf && Shuf->hasOneUse() && isa<UndefValue>(Shuf->getOperand(1)) &&
  640   if (Shuf && Shuf->hasOneUse() && isa<UndefValue>(Shuf->getOperand(1)) &&
  641       Shuf->getMask()->getSplatValue() &&
  642       Shuf->getType() == Shuf->getOperand(0)->getType()) {
  642       Shuf->getType() == Shuf->getOperand(0)->getType()) {
  645     Value *NarrowOp = Builder.CreateTrunc(Shuf->getOperand(0), Trunc.getType());
  646     return new ShuffleVectorInst(NarrowOp, NarrowUndef, Shuf->getMask());