Lines Matching refs:getSinglePredecessor
2555 if (BasicBlock *PB = BB->getSinglePredecessor()) in FoldBranchToCommonDest()
2973 for (auto &I : *QFB->getSinglePredecessor()) in mergeConditionalStoreToAddress()
2995 BasicBlock *TruePred = QTB ? QTB : QFB->getSinglePredecessor(); in mergeConditionalStoreToAddress()
3005 Value *PCond = cast<BranchInst>(PFB->getSinglePredecessor()->getTerminator()) in mergeConditionalStoreToAddress()
3007 Value *QCond = cast<BranchInst>(QFB->getSinglePredecessor()->getTerminator()) in mergeConditionalStoreToAddress()
3130 return BB->getSinglePredecessor() == P && BB->getSingleSuccessor() == S; in mergeConditionalStores()
3187 if (BB->getSinglePredecessor()) { in SimplifyCondBranchToCondBranch()
3560 BasicBlock *Pred = BB->getSinglePredecessor(); in tryToSimplifyUncondBranchWithICmpInIt()
4023 if (UnwindDest->getSinglePredecessor() != RI->getParent()) in mergeCleanupPad()
4476 if (!BB->getSinglePredecessor()) in FindPHIForConditionForwarding()
5594 if (BasicBlock *OnlyPred = BB->getSinglePredecessor()) in SimplifySwitch()
5807 BasicBlock *PPred = P->getSinglePredecessor(); in allPredecessorsComeFromSameSource()
5826 if (BasicBlock *OnlyPred = BB->getSinglePredecessor()) in SimplifyCondBranch()
5870 if (BI->getSuccessor(0)->getSinglePredecessor()) { in SimplifyCondBranch()
5871 if (BI->getSuccessor(1)->getSinglePredecessor()) { in SimplifyCondBranch()
5883 } else if (BI->getSuccessor(1)->getSinglePredecessor()) { in SimplifyCondBranch()
6005 BB->getSinglePredecessor() == BB) { in simplifyOnce()