Home
last modified time | relevance | path

Searched refs:TopMBB (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineLoopInfo.cpp62 MachineBasicBlock *TopMBB = getHeader(); in getTopBlock() local
63 MachineFunction::iterator Begin = TopMBB->getParent()->begin(); in getTopBlock()
64 if (TopMBB->getIterator() != Begin) { in getTopBlock()
65 MachineBasicBlock *PriorMBB = &*std::prev(TopMBB->getIterator()); in getTopBlock()
67 TopMBB = PriorMBB; in getTopBlock()
68 if (TopMBB->getIterator() == Begin) in getTopBlock()
70 PriorMBB = &*std::prev(TopMBB->getIterator()); in getTopBlock()
73 return TopMBB; in getTopBlock()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp568 MachineBasicBlock *TopMBB = L->getTopBlock(); in getLoopTripCount() local
569 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()