Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineLoopInfo.cpp59 MachineBasicBlock *TopMBB = getHeader(); in getTopBlock() local
60 MachineFunction::iterator Begin = TopMBB->getParent()->begin(); in getTopBlock()
61 if (TopMBB->getIterator() != Begin) { in getTopBlock()
62 MachineBasicBlock *PriorMBB = &*std::prev(TopMBB->getIterator()); in getTopBlock()
64 TopMBB = PriorMBB; in getTopBlock()
65 if (TopMBB->getIterator() == Begin) in getTopBlock()
67 PriorMBB = &*std::prev(TopMBB->getIterator()); in getTopBlock()
70 return TopMBB; in getTopBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
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()