Searched refs:TopMBB (Results 1 – 2 of 2) sorted by relevance
52 MachineBasicBlock *TopMBB = getHeader(); in getTopBlock() local53 MachineFunction::iterator Begin = TopMBB->getParent()->begin(); in getTopBlock()54 if (TopMBB->getIterator() != Begin) { in getTopBlock()55 MachineBasicBlock *PriorMBB = &*std::prev(TopMBB->getIterator()); in getTopBlock()57 TopMBB = PriorMBB; in getTopBlock()58 if (TopMBB->getIterator() == Begin) in getTopBlock()60 PriorMBB = &*std::prev(TopMBB->getIterator()); in getTopBlock()63 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()