Searched refs:SinglePred (Results 1 – 3 of 3) sorted by relevance
718 if (BasicBlock *SinglePred = BB->getSinglePredecessor()) { in ProcessBlock() local719 const TerminatorInst *TI = SinglePred->getTerminator(); in ProcessBlock()721 SinglePred != BB && !hasAddressTakenAndUsed(BB)) { in ProcessBlock()723 if (LoopHeaders.erase(SinglePred)) in ProcessBlock()726 LVI->eraseBlock(SinglePred); in ProcessBlock()
1309 BasicBlock *SinglePred = Succ->getSinglePredecessor(); in SimplifyCode() local1310 if (!SinglePred) continue; // Nothing to do. in SimplifyCode()1311 assert(SinglePred == Pred && "CFG broken"); in SimplifyCode()
327 BasicBlock *SinglePred = BB->getSinglePredecessor(); in eliminateFallThrough() local330 if (!SinglePred || SinglePred == BB || BB->hasAddressTaken()) continue; in eliminateFallThrough()332 BranchInst *Term = dyn_cast<BranchInst>(SinglePred->getTerminator()); in eliminateFallThrough()335 DEBUG(dbgs() << "To merge:\n"<< *SinglePred << "\n\n\n"); in eliminateFallThrough()338 bool isEntry = SinglePred == &SinglePred->getParent()->getEntryBlock(); in eliminateFallThrough()473 if (BasicBlock *SinglePred = DestBB->getSinglePredecessor()) { in eliminateMostlyEmptyBlock() local474 if (SinglePred != DestBB) { in eliminateMostlyEmptyBlock()477 bool isEntry = SinglePred == &SinglePred->getParent()->getEntryBlock(); in eliminateMostlyEmptyBlock()