Searched refs:TopMBB (Results 1 – 2 of 2) sorted by relevance
59 MachineBasicBlock *TopMBB = getHeader(); in getTopBlock() local60 MachineFunction::iterator Begin = TopMBB->getParent()->begin(); in getTopBlock()61 if (TopMBB->getIterator() != Begin) { in getTopBlock()62 MachineBasicBlock *PriorMBB = &*std::prev(TopMBB->getIterator()); in getTopBlock()64 TopMBB = PriorMBB; in getTopBlock()65 if (TopMBB->getIterator() == Begin) in getTopBlock()67 PriorMBB = &*std::prev(TopMBB->getIterator()); in getTopBlock()70 return TopMBB; in getTopBlock()
568 MachineBasicBlock *TopMBB = L->getTopBlock(); in getLoopTripCount() local569 MachineBasicBlock::pred_iterator PI = TopMBB->pred_begin(); in getLoopTripCount()570 assert(PI != TopMBB->pred_end() && in getLoopTripCount()573 if (PI == TopMBB->pred_end()) // dead loop? in getLoopTripCount()576 if (PI != TopMBB->pred_end()) // multiple backedges? in getLoopTripCount()