Searched refs:SinglePred (Results 1 – 3 of 3) sorted by relevance
671 if (BasicBlock *SinglePred = BB->getSinglePredecessor()) { in ProcessBlock() local672 if (SinglePred->getTerminator()->getNumSuccessors() == 1 && in ProcessBlock()673 SinglePred != BB && !hasAddressTakenAndUsed(BB)) { in ProcessBlock()675 if (LoopHeaders.erase(SinglePred)) in ProcessBlock()678 LVI->eraseBlock(SinglePred); in ProcessBlock()
1122 BasicBlock *SinglePred = Succ->getSinglePredecessor(); in SimplifyCode() local1123 if (!SinglePred) continue; // Nothing to do. in SimplifyCode()1124 assert(SinglePred == Pred && "CFG broken"); in SimplifyCode()
321 BasicBlock *SinglePred = BB->getSinglePredecessor(); in EliminateFallThrough() local324 if (!SinglePred || SinglePred == BB || BB->hasAddressTaken()) continue; in EliminateFallThrough()326 BranchInst *Term = dyn_cast<BranchInst>(SinglePred->getTerminator()); in EliminateFallThrough()329 DEBUG(dbgs() << "To merge:\n"<< *SinglePred << "\n\n\n"); in EliminateFallThrough()332 bool isEntry = SinglePred == &SinglePred->getParent()->getEntryBlock(); in EliminateFallThrough()468 if (BasicBlock *SinglePred = DestBB->getSinglePredecessor()) { in EliminateMostlyEmptyBlock() local469 if (SinglePred != DestBB) { in EliminateMostlyEmptyBlock()472 bool isEntry = SinglePred == &SinglePred->getParent()->getEntryBlock(); in EliminateMostlyEmptyBlock()