Lines Matching defs:Succ
524 void MachineBasicBlock::addSuccessor(MachineBasicBlock *Succ,
530 Successors.push_back(Succ);
531 Succ->addPredecessor(this);
534 void MachineBasicBlock::addSuccessorWithoutProb(MachineBasicBlock *Succ) {
539 Successors.push_back(Succ);
540 Succ->addPredecessor(this);
543 void MachineBasicBlock::removeSuccessor(MachineBasicBlock *Succ,
545 succ_iterator I = std::find(Successors.begin(), Successors.end(), Succ);
621 MachineBasicBlock *Succ = *FromMBB->succ_begin();
626 addSuccessor(Succ, Prob);
628 addSuccessorWithoutProb(Succ);
630 FromMBB->removeSuccessor(Succ);
640 MachineBasicBlock *Succ = *FromMBB->succ_begin();
643 addSuccessor(Succ, Prob);
645 addSuccessorWithoutProb(Succ);
646 FromMBB->removeSuccessor(Succ);
649 for (MachineBasicBlock::instr_iterator MI = Succ->instr_begin(),
650 ME = Succ->instr_end(); MI != ME && MI->isPHI(); ++MI)
716 MachineBasicBlock::SplitCriticalEdge(MachineBasicBlock *Succ, Pass *P) {
719 if (Succ->isEHPad())
753 << " -- BB#" << Succ->getNumber() << '\n');
806 ReplaceUsesOfBlockWith(Succ, NMBB);
833 // Insert unconditional "jump Succ" instruction in NMBB if necessary.
834 NMBB->addSuccessor(Succ);
835 if (!NMBB->isLayoutSuccessor(Succ)) {
837 TII->InsertBranch(*NMBB, Succ, nullptr, Cond, DL);
851 // Fix PHI nodes in Succ so they refer to NMBB instead of this
853 i = Succ->instr_begin(),e = Succ->instr_end();
860 for (const auto &LI : Succ->liveins())
879 LV->addNewBlock(NMBB, this, Succ);
897 // Find the registers used from NMBB in PHIs in Succ.
900 I = Succ->instr_begin(), E = Succ->instr_end();
929 Succ));
946 MDT->recordSplitCriticalEdge(this, Succ, NMBB);
952 if (MachineLoop *DestLoop = MLI->getLoopFor(Succ)) {
967 assert(DestLoop->getHeader() == Succ &&
1134 MachineBasicBlock::getSuccProbability(const_succ_iterator Succ) const {
1138 const auto &Prob = *getProbabilityIterator(Succ);