Lines Matching refs:ExitingBlock
539 for (BasicBlock *ExitingBlock : ExitingBlocks) in simplifyOneLoop()
540 if (BranchInst *BI = dyn_cast<BranchInst>(ExitingBlock->getTerminator())) in simplifyOneLoop()
546 << ExitingBlock->getName() << "\n"); in simplifyOneLoop()
650 BasicBlock *ExitingBlock = ExitingBlocks[i]; in simplifyOneLoop() local
651 if (!ExitingBlock->getSinglePredecessor()) continue; in simplifyOneLoop()
652 BranchInst *BI = dyn_cast<BranchInst>(ExitingBlock->getTerminator()); in simplifyOneLoop()
655 if (!CI || CI->getParent() != ExitingBlock) continue; in simplifyOneLoop()
661 for (auto I = ExitingBlock->instructionsWithoutDebug().begin(); &*I != BI; ) { in simplifyOneLoop()
690 << ExitingBlock->getName() << "\n"); in simplifyOneLoop()
692 assert(pred_empty(ExitingBlock)); in simplifyOneLoop()
694 LI->removeBlock(ExitingBlock); in simplifyOneLoop()
696 DomTreeNode *Node = DT->getNode(ExitingBlock); in simplifyOneLoop()
701 DT->eraseNode(ExitingBlock); in simplifyOneLoop()
704 ExitBlockSet.insert(ExitingBlock); in simplifyOneLoop()
709 ExitingBlock, /* KeepOneInputPHIs */ PreserveLCSSA); in simplifyOneLoop()
711 ExitingBlock, /* KeepOneInputPHIs */ PreserveLCSSA); in simplifyOneLoop()
712 ExitingBlock->eraseFromParent(); in simplifyOneLoop()