Lines Matching refs:ExitingBlock
505 for (BasicBlock *ExitingBlock : ExitingBlocks) in simplifyOneLoop()
506 if (BranchInst *BI = dyn_cast<BranchInst>(ExitingBlock->getTerminator())) in simplifyOneLoop()
511 << ExitingBlock->getName() << "\n"); in simplifyOneLoop()
622 BasicBlock *ExitingBlock = ExitingBlocks[i]; in simplifyOneLoop() local
623 if (!ExitingBlock->getSinglePredecessor()) continue; in simplifyOneLoop()
624 BranchInst *BI = dyn_cast<BranchInst>(ExitingBlock->getTerminator()); in simplifyOneLoop()
627 if (!CI || CI->getParent() != ExitingBlock) continue; in simplifyOneLoop()
633 for (BasicBlock::iterator I = ExitingBlock->begin(); &*I != BI; ) { in simplifyOneLoop()
665 << ExitingBlock->getName() << "\n"); in simplifyOneLoop()
674 assert(pred_begin(ExitingBlock) == pred_end(ExitingBlock)); in simplifyOneLoop()
676 LI->removeBlock(ExitingBlock); in simplifyOneLoop()
678 DomTreeNode *Node = DT->getNode(ExitingBlock); in simplifyOneLoop()
685 DT->eraseNode(ExitingBlock); in simplifyOneLoop()
688 ExitingBlock, /* DontDeleteUselessPHIs */ PreserveLCSSA); in simplifyOneLoop()
690 ExitingBlock, /* DontDeleteUselessPHIs */ PreserveLCSSA); in simplifyOneLoop()
691 ExitingBlock->eraseFromParent(); in simplifyOneLoop()