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

References

lib/Transforms/Utils/Local.cpp
  683   assert(PredBB && "Block doesn't have a single predecessor!");
  686   if (PredBB == &DestBB->getParent()->getEntryBlock())
  694     Updates.push_back({DominatorTree::Delete, PredBB, DestBB});
  695     for (auto I = pred_begin(PredBB), E = pred_end(PredBB); I != E; ++I) {
  695     for (auto I = pred_begin(PredBB), E = pred_end(PredBB); I != E; ++I) {
  696       Updates.push_back({DominatorTree::Delete, *I, PredBB});
  715   PredBB->replaceAllUsesWith(DestBB);
  718   PredBB->getTerminator()->eraseFromParent();
  719   DestBB->getInstList().splice(DestBB->begin(), PredBB->getInstList());
  720   new UnreachableInst(PredBB->getContext(), PredBB);
  720   new UnreachableInst(PredBB->getContext(), PredBB);
  725     DestBB->moveAfter(PredBB);
  728     assert(PredBB->getInstList().size() == 1 &&
  729            isa<UnreachableInst>(PredBB->getTerminator()) &&
  733     DTU->deleteBB(PredBB);
  745     PredBB->eraseFromParent(); // Nuke BB if DTU is nullptr.