Searched refs:SinglePred (Results 1 – 6 of 6) sorted by relevance
635 if (BasicBlock *SinglePred = BB->getSinglePredecessor()) { in ProcessBlock() local636 if (SinglePred->getTerminator()->getNumSuccessors() == 1 && in ProcessBlock()637 SinglePred != BB && !hasAddressTakenAndUsed(BB)) { in ProcessBlock()639 if (LoopHeaders.erase(SinglePred)) in ProcessBlock()644 bool isEntry = SinglePred == &SinglePred->getParent()->getEntryBlock(); in ProcessBlock()645 LVI->eraseBlock(SinglePred); in ProcessBlock()
294 if (BasicBlock *SinglePred = DestBB->getSinglePredecessor()) { in EliminateMostlyEmptyBlock() local295 if (SinglePred != DestBB) { in EliminateMostlyEmptyBlock()298 bool isEntry = SinglePred == &SinglePred->getParent()->getEntryBlock(); in EliminateMostlyEmptyBlock()
1033 BasicBlock *SinglePred = Succ->getSinglePredecessor(); in SimplifyCode() local1034 if (!SinglePred) continue; // Nothing to do. in SimplifyCode()1035 assert(SinglePred == Pred && "CFG broken"); in SimplifyCode()
714 if (BasicBlock *SinglePred = BB->getSinglePredecessor()) { in ProcessBlock() local715 const TerminatorInst *TI = SinglePred->getTerminator(); in ProcessBlock()717 SinglePred != BB && !hasAddressTakenAndUsed(BB)) { in ProcessBlock()719 if (LoopHeaders.erase(SinglePred)) in ProcessBlock()722 LVI->eraseBlock(SinglePred); in ProcessBlock()
1364 BasicBlock *SinglePred = Succ->getSinglePredecessor(); in SimplifyCode() local1365 if (!SinglePred) continue; // Nothing to do. in SimplifyCode()1366 assert(SinglePred == Pred && "CFG broken"); in SimplifyCode()
343 BasicBlock *SinglePred = BB->getSinglePredecessor(); in eliminateFallThrough() local346 if (!SinglePred || SinglePred == BB || BB->hasAddressTaken()) continue; in eliminateFallThrough()348 BranchInst *Term = dyn_cast<BranchInst>(SinglePred->getTerminator()); in eliminateFallThrough()351 DEBUG(dbgs() << "To merge:\n"<< *SinglePred << "\n\n\n"); in eliminateFallThrough()354 bool isEntry = SinglePred == &SinglePred->getParent()->getEntryBlock(); in eliminateFallThrough()506 if (BasicBlock *SinglePred = DestBB->getSinglePredecessor()) { in eliminateMostlyEmptyBlock() local507 if (SinglePred != DestBB) { in eliminateMostlyEmptyBlock()510 bool isEntry = SinglePred == &SinglePred->getParent()->getEntryBlock(); in eliminateMostlyEmptyBlock()