Searched refs:TopMBB (Results 1 – 2 of 2) sorted by relevance
93 MachineBasicBlock *TopMBB = getHeader(); in getTopBlock() local94 MachineFunction::iterator Begin = TopMBB->getParent()->begin(); in getTopBlock()95 if (TopMBB->getIterator() != Begin) { in getTopBlock()96 MachineBasicBlock *PriorMBB = &*std::prev(TopMBB->getIterator()); in getTopBlock()98 TopMBB = PriorMBB; in getTopBlock()99 if (TopMBB->getIterator() == Begin) in getTopBlock()101 PriorMBB = &*std::prev(TopMBB->getIterator()); in getTopBlock()104 return TopMBB; in getTopBlock()
564 MachineBasicBlock *TopMBB = L->getTopBlock(); in getLoopTripCount() local565 MachineBasicBlock::pred_iterator PI = TopMBB->pred_begin(); in getLoopTripCount()566 assert(PI != TopMBB->pred_end() && in getLoopTripCount()569 if (PI == TopMBB->pred_end()) // dead loop? in getLoopTripCount()572 if (PI != TopMBB->pred_end()) // multiple backedges? in getLoopTripCount()