Lines Matching refs:ExitBlocks
244 SmallVector<BasicBlock *, 8> ExitBlocks; in runOnLoop() local
251 Changed |= promoteLoopAccessesToScalars(*I, ExitBlocks, InsertPts, in runOnLoop()
580 SmallVector<BasicBlock *, 32> ExitBlocks; in sink() local
581 CurLoop->getUniqueExitBlocks(ExitBlocks); in sink()
582 SmallPtrSet<BasicBlock *, 32> ExitBlockSet(ExitBlocks.begin(), in sink()
583 ExitBlocks.end()); in sink()
671 SmallVector<BasicBlock*, 8> ExitBlocks; in isGuaranteedToExecute() local
672 CurLoop->getExitBlocks(ExitBlocks); in isGuaranteedToExecute()
675 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) in isGuaranteedToExecute()
676 if (!DT->dominates(Inst.getParent(), ExitBlocks[i])) in isGuaranteedToExecute()
681 if (ExitBlocks.empty()) in isGuaranteedToExecute()
771 SmallVectorImpl<BasicBlock*>&ExitBlocks, in promoteLoopAccessesToScalars() argument
913 if (ExitBlocks.empty()) { in promoteLoopAccessesToScalars()
914 CurLoop->getUniqueExitBlocks(ExitBlocks); in promoteLoopAccessesToScalars()
915 InsertPts.resize(ExitBlocks.size()); in promoteLoopAccessesToScalars()
916 for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) in promoteLoopAccessesToScalars()
917 InsertPts[i] = ExitBlocks[i]->getFirstInsertionPt(); in promoteLoopAccessesToScalars()
923 LoopPromoter Promoter(SomePtr, LoopUses, SSA, PointerMustAliases, ExitBlocks, in promoteLoopAccessesToScalars()