Searched refs:SinglePred (Results 1 – 4 of 4) sorted by relevance
1610 BasicBlock *SinglePred = Succ->getSinglePredecessor(); in SimplifyCode() local1611 if (!SinglePred) continue; // Nothing to do. in SimplifyCode()1612 assert(SinglePred == Pred && "CFG broken"); in SimplifyCode()
989 if (BasicBlock *SinglePred = BB->getSinglePredecessor()) { in ProcessBlock() local990 const Instruction *TI = SinglePred->getTerminator(); in ProcessBlock()992 SinglePred != BB && !hasAddressTakenAndUsed(BB)) { in ProcessBlock()994 if (LoopHeaders.erase(SinglePred)) in ProcessBlock()997 LVI->eraseBlock(SinglePred); in ProcessBlock()
559 BasicBlock *SinglePred = BB->getSinglePredecessor(); in eliminateFallThrough() local562 if (!SinglePred || SinglePred == BB || BB->hasAddressTaken()) continue; in eliminateFallThrough()564 BranchInst *Term = dyn_cast<BranchInst>(SinglePred->getTerminator()); in eliminateFallThrough()800 if (BasicBlock *SinglePred = DestBB->getSinglePredecessor()) { in eliminateMostlyEmptyBlock() local801 if (SinglePred != DestBB) { in eliminateMostlyEmptyBlock()802 assert(SinglePred == BB && in eliminateMostlyEmptyBlock()808 LLVM_DEBUG(dbgs() << "AFTER:\n" << *SinglePred << "\n\n\n"); in eliminateMostlyEmptyBlock()
1867 MachineBasicBlock *SinglePred = in createIfBlock() local1869 const DebugLoc &DL = SinglePred in createIfBlock()1870 ? SinglePred->findDebugLoc(SinglePred->getFirstTerminator()) in createIfBlock()