Lines Matching refs:LoopBlockSet
246 const BlockFilterSet &LoopBlockSet);
248 const BlockFilterSet &LoopBlockSet);
251 const BlockFilterSet &LoopBlockSet);
586 const BlockFilterSet &LoopBlockSet) { in findBestLoopTop() argument
591 if (!LoopBlockSet.count(*HeaderChain.begin())) in findBestLoopTop()
600 if (!LoopBlockSet.count(Pred)) in findBestLoopTop()
638 const BlockFilterSet &LoopBlockSet) { in findBestLoopExit() argument
648 if (!LoopBlockSet.count(*HeaderChain.begin())) in findBestLoopExit()
694 if (LoopBlockSet.count(Succ)) { in findBestLoopExit()
758 const BlockFilterSet &LoopBlockSet) { in rotateLoop() argument
766 if (!LoopBlockSet.count(Pred) && in rotateLoop()
780 if (!LoopBlockSet.count(Succ) && in rotateLoop()
808 BlockFilterSet LoopBlockSet(L.block_begin(), L.block_end()); in buildLoopChains() local
814 MachineBasicBlock *LoopTop = findBestLoopTop(L, LoopBlockSet); in buildLoopChains()
821 ExitingBB = findBestLoopExit(F, L, LoopBlockSet); in buildLoopChains()
840 if (BlockToChain[Pred] == &Chain || !LoopBlockSet.count(Pred)) in buildLoopChains()
850 buildChain(LoopTop, LoopChain, BlockWorkList, &LoopBlockSet); in buildLoopChains()
851 rotateLoop(LoopChain, ExitingBB, LoopBlockSet); in buildLoopChains()
864 if (!LoopBlockSet.erase(ChainBB)) { in buildLoopChains()
875 if (!LoopBlockSet.empty()) { in buildLoopChains()
877 for (MachineBasicBlock *LoopBB : LoopBlockSet) in buildLoopChains()