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

References

lib/Transforms/Utils/Local.cpp
  548   if (isInstructionTriviallyDead(I, TLI)) {
  549     salvageDebugInfo(*I);
  553     for (unsigned i = 0, e = I->getNumOperands(); i != e; ++i) {
  554       Value *OpV = I->getOperand(i);
  555       I->setOperand(i, nullptr);
  557       if (!OpV->use_empty() || I == OpV)
  568     I->eraseFromParent();
  573   if (Value *SimpleV = SimplifyInstruction(I, DL)) {
  576     for (User *U : I->users()) {
  577       if (U != I) {
  584     if (!I->use_empty()) {
  585       I->replaceAllUsesWith(SimpleV);
  588     if (isInstructionTriviallyDead(I, TLI)) {
  589       I->eraseFromParent();