Home
last modified time | relevance | path

Searched refs:getSinglePredecessor (Results 1 – 20 of 20) sorted by relevance

/external/llvm/include/llvm/
DBasicBlock.h168 BasicBlock *getSinglePredecessor();
169 const BasicBlock *getSinglePredecessor() const {
170 return const_cast<BasicBlock*>(this)->getSinglePredecessor();
/external/llvm/lib/Transforms/Utils/
DLocal.cpp427 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()
DSimplifyCFG.cpp163 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 …]
DDemoteRegToStack.cpp95 assert(II.getNormalDest()->getSinglePredecessor() && in DemoteRegToStack()
DBasicBlockUtils.cpp38 BB->getSinglePredecessor() == BB) && "Block is not dead!"); in DeleteDeadBlock()
268 if (BasicBlock *SP = Succ->getSinglePredecessor()) { in SplitEdge()
DLoopUnroll.cpp68 BasicBlock *OnlyPred = BB->getSinglePredecessor(); in FoldBlockIntoPredecessor()
DCloneFunction.cpp518 if (!Dest->getSinglePredecessor() || isa<PHINode>(Dest->begin())) { in CloneAndPruneFunctionInto()
DLoopSimplify.cpp294 if (!ExitingBlock->getSinglePredecessor()) continue; in ProcessLoop()
DInlineFunction.cpp127 if (!successor->getSinglePredecessor()) { in findSelectorForLandingPad()
/external/llvm/lib/VMCore/
DBasicBlock.cpp177 BasicBlock *BasicBlock::getSinglePredecessor() { in getSinglePredecessor() function in BasicBlock
DVerifier.cpp1443 if (!NormalDest->getSinglePredecessor() && in visitInstruction()
/external/llvm/lib/Transforms/Scalar/
DLoopRotation.cpp211 assert(NewHeader->getSinglePredecessor() && in rotateLoop()
DEarlyCSE.cpp304 if (BB->getSinglePredecessor() == 0) in INITIALIZE_PASS_DEPENDENCY()
DLoopUnswitch.cpp740 if (BasicBlock *Pred = BB->getSinglePredecessor()) { in RemoveBlockIfDead()
1013 BasicBlock *SinglePred = Succ->getSinglePredecessor(); in SimplifyCode()
DGVN.cpp1456 while (TmpBB->getSinglePredecessor()) { in processNonLocalLoad()
1458 TmpBB = TmpBB->getSinglePredecessor(); in processNonLocalLoad()
1918 if (TrueSucc->getSinglePredecessor()) in processInstruction()
1922 if (FalseSucc->getSinglePredecessor()) in processInstruction()
DJumpThreading.cpp635 if (BasicBlock *SinglePred = BB->getSinglePredecessor()) { in ProcessBlock()
820 if (LoadBB->getSinglePredecessor()) in SimplifyPartiallyRedundantLoad()
DCodeGenPrepare.cpp287 if (BasicBlock *SinglePred = DestBB->getSinglePredecessor()) { in EliminateMostlyEmptyBlock()
/external/clang/lib/CodeGen/
DCGCleanup.cpp405 llvm::BasicBlock *Pred = Entry->getSinglePredecessor(); in SimplifyCleanupEntry()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1579 if (UserIsSuccessor && UserParent->getSinglePredecessor()) in DoOneIteration()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp5093 if (BasicBlock *Pred = BB->getSinglePredecessor()) in getPredecessorWithUniqueSuccessorForBB()