Searched refs:TopMBB (Results 1 – 2 of 2) sorted by relevance
50 MachineBasicBlock *TopMBB = getHeader(); in getTopBlock() local51 MachineFunction::iterator Begin = TopMBB->getParent()->begin(); in getTopBlock()52 if (TopMBB != Begin) { in getTopBlock()53 MachineBasicBlock *PriorMBB = prior(MachineFunction::iterator(TopMBB)); in getTopBlock()55 TopMBB = PriorMBB; in getTopBlock()56 if (TopMBB == Begin) break; in getTopBlock()57 PriorMBB = prior(MachineFunction::iterator(TopMBB)); in getTopBlock()60 return TopMBB; in getTopBlock()
432 MachineBasicBlock *TopMBB = L->getTopBlock(); in getLoopTripCount() local433 MachineBasicBlock::pred_iterator PI = TopMBB->pred_begin(); in getLoopTripCount()434 assert(PI != TopMBB->pred_end() && in getLoopTripCount()437 if (PI == TopMBB->pred_end()) // dead loop? in getLoopTripCount()440 if (PI != TopMBB->pred_end()) // multiple backedges? in getLoopTripCount()