Searched refs:TopMBB (Results 1 – 4 of 4) sorted by relevance
51 MachineBasicBlock *TopMBB = getHeader(); in getTopBlock() local52 MachineFunction::iterator Begin = TopMBB->getParent()->begin(); in getTopBlock()53 if (TopMBB->getIterator() != Begin) { in getTopBlock()54 MachineBasicBlock *PriorMBB = &*std::prev(TopMBB->getIterator()); in getTopBlock()56 TopMBB = PriorMBB; in getTopBlock()57 if (TopMBB->getIterator() == Begin) in getTopBlock()59 PriorMBB = &*std::prev(TopMBB->getIterator()); in getTopBlock()62 return TopMBB; in getTopBlock()
54 MachineBasicBlock *TopMBB = getHeader(); in getTopBlock() local55 MachineFunction::iterator Begin = TopMBB->getParent()->begin(); in getTopBlock()56 if (TopMBB != Begin) { in getTopBlock()57 MachineBasicBlock *PriorMBB = prior(MachineFunction::iterator(TopMBB)); in getTopBlock()59 TopMBB = PriorMBB; in getTopBlock()60 if (TopMBB == Begin) break; in getTopBlock()61 PriorMBB = prior(MachineFunction::iterator(TopMBB)); in getTopBlock()64 return TopMBB; in getTopBlock()
157 MachineBasicBlock *TopMBB = L->getTopBlock(); in EliminateUnconditionalJumpsToTop() local161 if (TopMBB == MF.begin() || in EliminateUnconditionalJumpsToTop()162 HasAnalyzableTerminator(prior(MachineFunction::iterator(TopMBB)))) { in EliminateUnconditionalJumpsToTop()164 for (MachineBasicBlock::pred_iterator PI = TopMBB->pred_begin(), in EliminateUnconditionalJumpsToTop()165 PE = TopMBB->pred_end(); PI != PE; ++PI) { in EliminateUnconditionalJumpsToTop()167 if (Pred == TopMBB) continue; in EliminateUnconditionalJumpsToTop()200 if (Prior == MachineFunction::iterator(TopMBB)) { in EliminateUnconditionalJumpsToTop()221 Splice(MF, TopMBB, Begin, End); in EliminateUnconditionalJumpsToTop()224 TopMBB = L->getTopBlock(); in EliminateUnconditionalJumpsToTop()252 MachineBasicBlock *TopMBB = L->getTopBlock(); in MoveDiscontiguousLoopBlocks() local[all …]
535 MachineBasicBlock *TopMBB = L->getTopBlock(); in getLoopTripCount() local536 MachineBasicBlock::pred_iterator PI = TopMBB->pred_begin(); in getLoopTripCount()537 assert(PI != TopMBB->pred_end() && in getLoopTripCount()540 if (PI == TopMBB->pred_end()) // dead loop? in getLoopTripCount()543 if (PI != TopMBB->pred_end()) // multiple backedges? in getLoopTripCount()