Searched refs:TopMBB (Results 1 – 4 of 4) sorted by relevance
51 MachineBasicBlock *TopMBB = getHeader(); in getTopBlock() local52 MachineFunction::iterator Begin = TopMBB->getParent()->begin(); in getTopBlock()53 if (TopMBB->getIterator() != Begin) { in getTopBlock()54 MachineBasicBlock *PriorMBB = &*std::prev(TopMBB->getIterator()); in getTopBlock()56 TopMBB = PriorMBB; in getTopBlock()57 if (TopMBB->getIterator() == Begin) in getTopBlock()59 PriorMBB = &*std::prev(TopMBB->getIterator()); in getTopBlock()62 return TopMBB; in getTopBlock()
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()
535 MachineBasicBlock *TopMBB = L->getTopBlock(); in getLoopTripCount() local536 MachineBasicBlock::pred_iterator PI = TopMBB->pred_begin(); in getLoopTripCount()537 assert(PI != TopMBB->pred_end() && in getLoopTripCount()540 if (PI == TopMBB->pred_end()) // dead loop? in getLoopTripCount()543 if (PI != TopMBB->pred_end()) // multiple backedges? in getLoopTripCount()
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()