Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Succ

482 void MachineBasicBlock::addSuccessor(MachineBasicBlock *succ, uint32_t weight) {
492 Successors.push_back(succ);
493 succ->addPredecessor(this);
496 void MachineBasicBlock::removeSuccessor(MachineBasicBlock *succ) {
497 succ->removePredecessor(this);
498 succ_iterator I = std::find(Successors.begin(), Successors.end(), succ);
579 MachineBasicBlock *Succ = *fromMBB->succ_begin();
586 addSuccessor(Succ, Weight);
587 fromMBB->removeSuccessor(Succ);
597 MachineBasicBlock *Succ = *fromMBB->succ_begin();
601 addSuccessor(Succ, Weight);
602 fromMBB->removeSuccessor(Succ);
605 for (MachineBasicBlock::instr_iterator MI = Succ->instr_begin(),
606 ME = Succ->instr_end(); MI != ME && MI->isPHI(); ++MI)
671 MachineBasicBlock::SplitCriticalEdge(MachineBasicBlock *Succ, Pass *P) {
674 if (Succ->isLandingPad())
703 << " -- BB#" << Succ->getNumber() << '\n');
756 ReplaceUsesOfBlockWith(Succ, NMBB);
783 // Insert unconditional "jump Succ" instruction in NMBB if necessary.
784 NMBB->addSuccessor(Succ);
785 if (!NMBB->isLayoutSuccessor(Succ)) {
787 MF->getTarget().getInstrInfo()->InsertBranch(*NMBB, Succ, NULL, Cond, dl);
801 // Fix PHI nodes in Succ so they refer to NMBB instead of this
803 i = Succ->instr_begin(),e = Succ->instr_end();
810 for (MachineBasicBlock::livein_iterator I = Succ->livein_begin(),
811 E = Succ->livein_end(); I != E; ++I)
830 LV->addNewBlock(NMBB, this, Succ);
848 // Find the registers used from NMBB in PHIs in Succ.
851 I = Succ->instr_begin(), E = Succ->instr_end();
879 bool isLiveOut = LI.liveAt(LIS->getMBBStartIdx(Succ));
897 MachineDomTreeNode *SucccDTNode = MDT->getNode(Succ);
900 for (const_pred_iterator PI = Succ->pred_begin(), E = Succ->pred_end();
914 // If all the other predecessors of "Succ" are dominated by "Succ" itself
915 // then the new block is the new immediate dominator of "Succ". Otherwise,
925 if (MachineLoop *DestLoop = MLI->getLoopFor(Succ)) {
940 assert(DestLoop->getHeader() == Succ &&
1110 uint32_t MachineBasicBlock::getSuccWeight(const_succ_iterator Succ) const {
1114 return *getWeightIterator(Succ);