Lines Matching refs:ExitBlocks
139 void SplitExitEdges(Loop *L, const SmallVector<BasicBlock *, 8> &ExitBlocks);
558 const SmallVector<BasicBlock *, 8> &ExitBlocks){
560 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) {
561 BasicBlock *ExitBlock = ExitBlocks[i];
603 SmallVector<BasicBlock*, 8> ExitBlocks;
604 L->getUniqueExitBlocks(ExitBlocks);
608 SplitExitEdges(L, ExitBlocks);
611 ExitBlocks.clear();
612 L->getUniqueExitBlocks(ExitBlocks);
615 LoopBlocks.insert(LoopBlocks.end(), ExitBlocks.begin(), ExitBlocks.end());
643 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) {
644 BasicBlock *NewExit = cast<BasicBlock>(VMap[ExitBlocks[i]]);
646 if (Loop *ExitBBLoop = LI->getLoopFor(ExitBlocks[i]))
658 Value *V = PN->getIncomingValueForBlock(ExitBlocks[i]);