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

References

lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  126   if (S->getType()->isVectorTy()) return false;
  127   if (isa<Constant>(S->getOperand(0))) return false;
  129   Constant *C = LVI->getConstant(S->getCondition(), S->getParent(), S);
  129   Constant *C = LVI->getConstant(S->getCondition(), S->getParent(), S);
  129   Constant *C = LVI->getConstant(S->getCondition(), S->getParent(), S);
  135   Value *ReplaceWith = S->getTrueValue();
  136   Value *Other = S->getFalseValue();
  138   if (ReplaceWith == S) ReplaceWith = UndefValue::get(S->getType());
  138   if (ReplaceWith == S) ReplaceWith = UndefValue::get(S->getType());
  140   S->replaceAllUsesWith(ReplaceWith);
  141   S->eraseFromParent();