Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DMachineLoopInfo.cpp50 MachineBasicBlock *TopMBB = getHeader(); in getTopBlock() local
51 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()
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp432 MachineBasicBlock *TopMBB = L->getTopBlock(); in getLoopTripCount() local
433 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()