Searched refs:getSinglePredecessor (Results 1 – 20 of 20) sorted by relevance
168 BasicBlock *getSinglePredecessor();169 const BasicBlock *getSinglePredecessor() const {170 return const_cast<BasicBlock*>(this)->getSinglePredecessor();
427 BasicBlock *PredBB = DestBB->getSinglePredecessor(); in MergeBasicBlockIntoOnlyPred()477 if (Succ->getSinglePredecessor()) return true; in CanPropagatePredecessorsForPHIs()566 if (!Succ->getSinglePredecessor()) { in TryToSimplifyUncondBranchFromEmptyBlock()616 if (Succ->getSinglePredecessor()) { in TryToSimplifyUncondBranchFromEmptyBlock()
163 if (Pred2->getSinglePredecessor() == 0) in GetIfCondition()188 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition()189 if (CommonPred == 0 || CommonPred != Pred2->getSinglePredecessor()) in GetIfCondition()1665 if (BB->getSinglePredecessor()) { in SimplifyCondBranchToCondBranch()1955 BasicBlock *Pred = BB->getSinglePredecessor(); in TryToSimplifyUncondBranchWithICmpInIt()2461 if (!BB->getSinglePredecessor()) in FindPHIForConditionForwarding()2531 if (BasicBlock *OnlyPred = BB->getSinglePredecessor()) in SimplifySwitch()2633 if (BasicBlock *OnlyPred = BB->getSinglePredecessor()) in SimplifyCondBranch()2664 if (BI->getSuccessor(0)->getSinglePredecessor() != 0) { in SimplifyCondBranch()2665 if (BI->getSuccessor(1)->getSinglePredecessor() != 0) { in SimplifyCondBranch()[all …]
95 assert(II.getNormalDest()->getSinglePredecessor() && in DemoteRegToStack()
38 BB->getSinglePredecessor() == BB) && "Block is not dead!"); in DeleteDeadBlock()268 if (BasicBlock *SP = Succ->getSinglePredecessor()) { in SplitEdge()
68 BasicBlock *OnlyPred = BB->getSinglePredecessor(); in FoldBlockIntoPredecessor()
518 if (!Dest->getSinglePredecessor() || isa<PHINode>(Dest->begin())) { in CloneAndPruneFunctionInto()
294 if (!ExitingBlock->getSinglePredecessor()) continue; in ProcessLoop()
127 if (!successor->getSinglePredecessor()) { in findSelectorForLandingPad()
177 BasicBlock *BasicBlock::getSinglePredecessor() { in getSinglePredecessor() function in BasicBlock
1443 if (!NormalDest->getSinglePredecessor() && in visitInstruction()
211 assert(NewHeader->getSinglePredecessor() && in rotateLoop()
304 if (BB->getSinglePredecessor() == 0) in INITIALIZE_PASS_DEPENDENCY()
740 if (BasicBlock *Pred = BB->getSinglePredecessor()) { in RemoveBlockIfDead()1013 BasicBlock *SinglePred = Succ->getSinglePredecessor(); in SimplifyCode()
1456 while (TmpBB->getSinglePredecessor()) { in processNonLocalLoad()1458 TmpBB = TmpBB->getSinglePredecessor(); in processNonLocalLoad()1918 if (TrueSucc->getSinglePredecessor()) in processInstruction()1922 if (FalseSucc->getSinglePredecessor()) in processInstruction()
635 if (BasicBlock *SinglePred = BB->getSinglePredecessor()) { in ProcessBlock()820 if (LoadBB->getSinglePredecessor()) in SimplifyPartiallyRedundantLoad()
287 if (BasicBlock *SinglePred = DestBB->getSinglePredecessor()) { in EliminateMostlyEmptyBlock()
405 llvm::BasicBlock *Pred = Entry->getSinglePredecessor(); in SimplifyCleanupEntry()
1579 if (UserIsSuccessor && UserParent->getSinglePredecessor()) in DoOneIteration()
5093 if (BasicBlock *Pred = BB->getSinglePredecessor()) in getPredecessorWithUniqueSuccessorForBB()