Searched refs:TopMBB (Results 1 – 2 of 2) sorted by relevance
90 MachineBasicBlock *TopMBB = getHeader(); in getTopBlock() local91 MachineFunction::iterator Begin = TopMBB->getParent()->begin(); in getTopBlock()92 if (TopMBB->getIterator() != Begin) { in getTopBlock()93 MachineBasicBlock *PriorMBB = &*std::prev(TopMBB->getIterator()); in getTopBlock()95 TopMBB = PriorMBB; in getTopBlock()96 if (TopMBB->getIterator() == Begin) in getTopBlock()98 PriorMBB = &*std::prev(TopMBB->getIterator()); in getTopBlock()101 return TopMBB; in getTopBlock()
571 MachineBasicBlock *TopMBB = L->getTopBlock(); in getLoopTripCount() local572 MachineBasicBlock::pred_iterator PI = TopMBB->pred_begin(); in getLoopTripCount()573 assert(PI != TopMBB->pred_end() && in getLoopTripCount()576 if (PI == TopMBB->pred_end()) // dead loop? in getLoopTripCount()579 if (PI != TopMBB->pred_end()) // multiple backedges? in getLoopTripCount()