Home | History | Annotate | Download | only in Utils

Lines Matching defs:ExitingBlock

302       BasicBlock *ExitingBlock = ExitingBlocks[i];
303 if (!ExitingBlock->getSinglePredecessor()) continue;
304 BranchInst *BI = dyn_cast<BranchInst>(ExitingBlock->getTerminator());
307 if (!CI || CI->getParent() != ExitingBlock) continue;
312 for (BasicBlock::iterator I = ExitingBlock->begin(); &*I != BI; ) {
335 << ExitingBlock->getName() << "\n");
345 assert(pred_begin(ExitingBlock) == pred_end(ExitingBlock));
347 LI->removeBlock(ExitingBlock);
349 DomTreeNode *Node = DT->getNode(ExitingBlock);
356 DT->eraseNode(ExitingBlock);
358 BI->getSuccessor(0)->removePredecessor(ExitingBlock);
359 BI->getSuccessor(1)->removePredecessor(ExitingBlock);
360 ExitingBlock->eraseFromParent();