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

References

lib/CodeGen/TailDuplicator.cpp
  876   if (!PrevBB)
  877     PrevBB = &*std::prev(TailBB->getIterator());
  882   if (PrevBB->succ_size() == 1 &&
  884       *PrevBB->succ_begin() == TailBB &&
  885       !TII->analyzeBranch(*PrevBB, PriorTBB, PriorFBB, PriorCond) &&
  890     LLVM_DEBUG(dbgs() << "\nMerging into block: " << *PrevBB
  895     TII->removeBranch(*PrevBB);
  905         processPHI(MI, TailBB, PrevBB, LocalVRMap, CopyInfos, UsedByPhi, true);
  914         duplicateInstruction(MI, TailBB, PrevBB, LocalVRMap, UsedByPhi);
  917       appendCopies(PrevBB, CopyInfos, Copies);
  919       TII->removeBranch(*PrevBB);
  921       PrevBB->splice(PrevBB->end(), TailBB, TailBB->begin(), TailBB->end());
  921       PrevBB->splice(PrevBB->end(), TailBB, TailBB->begin(), TailBB->end());
  923     PrevBB->removeSuccessor(PrevBB->succ_begin());
  923     PrevBB->removeSuccessor(PrevBB->succ_begin());
  924     assert(PrevBB->succ_empty());
  925     PrevBB->transferSuccessors(TailBB);
  926     TDBBs.push_back(PrevBB);