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

References

lib/Transforms/InstCombine/InstCombineVectorOps.cpp
  610   assert(V->getType()->isVectorTy() && "Invalid shuffle!");
  611   unsigned NumElts = V->getType()->getVectorNumElements();
  613   if (isa<UndefValue>(V)) {
  614     Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext())));
  616         PermittedRHS ? UndefValue::get(PermittedRHS->getType()) : V, nullptr);
  619   if (isa<ConstantAggregateZero>(V)) {
  620     Mask.assign(NumElts, ConstantInt::get(Type::getInt32Ty(V->getContext()),0));
  621     return std::make_pair(V, nullptr);
  624   if (InsertElementInst *IEI = dyn_cast<InsertElementInst>(V)) {
  651               Mask[i] = ConstantInt::get(Type::getInt32Ty(V->getContext()), i);
  652             return std::make_pair(V, nullptr);
  657             ConstantInt::get(Type::getInt32Ty(V->getContext()),
  669                 Type::getInt32Ty(V->getContext()),
  686     Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), i));
  687   return std::make_pair(V, nullptr);