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

References

lib/CodeGen/MachineLoopUtils.cpp
   40     MF.insert(Loop->getIterator(), NewBB);
   42     MF.insert(std::next(Loop->getIterator()), NewBB);
   46   auto InsertPt = NewBB->end();
   49     NewBB->insert(InsertPt, NewMI);
   74   for (auto I = NewBB->getFirstNonPHI(); I != NewBB->end(); ++I)
   74   for (auto I = NewBB->getFirstNonPHI(); I != NewBB->end(); ++I)
   79   for (auto I = NewBB->begin(); I->isPHI(); ++I) {
  107     Preheader->replaceSuccessor(Loop, NewBB);
  108     NewBB->addSuccessor(Loop);
  109     Loop->replacePhiUsesWith(Preheader, NewBB);
  111       TII->insertBranch(*Preheader, NewBB, nullptr, {}, DL);
  112     TII->removeBranch(*NewBB);
  113     TII->insertBranch(*NewBB, Loop, nullptr, {}, DL);
  115     Loop->replaceSuccessor(Exit, NewBB);
  116     Exit->replacePhiUsesWith(Loop, NewBB);
  117     NewBB->addSuccessor(Exit);
  125     TII->insertBranch(*Loop, TBB == Exit ? NewBB : TBB,
  126                       FBB == Exit ? NewBB : FBB, Cond, DL);
  127     if (TII->removeBranch(*NewBB) > 0)
  128       TII->insertBranch(*NewBB, Exit, nullptr, {}, DL);
  131   return NewBB;