Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/IR/
DBasicBlock.h193 BasicBlock *getSinglePredecessor();
194 const BasicBlock *getSinglePredecessor() const {
195 return const_cast<BasicBlock*>(this)->getSinglePredecessor();
/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp39 BB->getSinglePredecessor() == BB) && "Block is not dead!"); in DeleteDeadBlock()
246 if (BasicBlock *SP = Succ->getSinglePredecessor()) { in SplitEdge()
829 if (!Pred2->getSinglePredecessor()) in GetIfCondition()
854 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition()
855 if (CommonPred == nullptr || CommonPred != Pred2->getSinglePredecessor()) in GetIfCondition()
DFlattenCFG.cpp147 BasicBlock *PP = Pred->getSinglePredecessor(); in FlattenParallelAndOr()
242 CurrBlock = CurrBlock->getSinglePredecessor()) { in FlattenParallelAndOr()
DDemoteRegToStack.cpp46 if (!II->getNormalDest()->getSinglePredecessor()) { in DemoteRegToStack()
DLocal.cpp508 BasicBlock *PredBB = DestBB->getSinglePredecessor(); in MergeBasicBlockIntoOnlyPred()
562 if (Succ->getSinglePredecessor()) return true; in CanPropagatePredecessorsForPHIs()
772 if (!Succ->getSinglePredecessor()) { in TryToSimplifyUncondBranchFromEmptyBlock()
803 if (Succ->getSinglePredecessor()) { in TryToSimplifyUncondBranchFromEmptyBlock()
DCloneFunction.cpp651 I->getSinglePredecessor() == I)) { in CloneAndPruneIntoFromInst()
668 if (!Dest->getSinglePredecessor()) { in CloneAndPruneIntoFromInst()
DSimplifyCFG.cpp2063 if (BasicBlock *PB = BB->getSinglePredecessor()) in FoldBranchToCommonDest()
2360 if (BB->getSinglePredecessor()) { in SimplifyCondBranchToCondBranch()
2716 BasicBlock *Pred = BB->getSinglePredecessor(); in TryToSimplifyUncondBranchWithICmpInIt()
3303 if (!BB->getSinglePredecessor()) in FindPHIForConditionForwarding()
4275 if (BasicBlock *OnlyPred = BB->getSinglePredecessor()) in SimplifySwitch()
4479 if (BasicBlock *OnlyPred = BB->getSinglePredecessor()) in SimplifyCondBranch()
4516 if (BI->getSuccessor(0)->getSinglePredecessor()) { in SimplifyCondBranch()
4517 if (BI->getSuccessor(1)->getSinglePredecessor()) { in SimplifyCondBranch()
4529 } else if (BI->getSuccessor(1)->getSinglePredecessor()) { in SimplifyCondBranch()
4634 BB->getSinglePredecessor() == BB) { in run()
DLoopUnroll.cpp81 BasicBlock *OnlyPred = BB->getSinglePredecessor(); in FoldBlockIntoPredecessor()
DLoopSimplify.cpp648 if (!ExitingBlock->getSinglePredecessor()) continue; in simplifyOneLoop()
/external/llvm/lib/Transforms/Scalar/
DLoopRotation.cpp285 BasicBlock *LastExit = Latch->getSinglePredecessor(); in simplifyLoopLatch()
403 assert(NewHeader->getSinglePredecessor() && in rotateLoop()
DMergedLoadStoreMotion.cpp219 if (!Succ0->getSinglePredecessor() || in isDiamondHead()
222 if (!Succ1->getSinglePredecessor() || in isDiamondHead()
DGVN.cpp1535 while (TmpBB->getSinglePredecessor()) { in PerformLoadPRE()
1536 TmpBB = TmpBB->getSinglePredecessor(); in PerformLoadPRE()
2063 const BasicBlock *Pred = E.getEnd()->getSinglePredecessor(); in isOnlyReachableViaThisEdge()
2834 if (!DeadRoot->getSinglePredecessor()) in processFoldableCondBr()
DEarlyCSE.cpp461 if (!BB->getSinglePredecessor()) in processNode()
DJumpThreading.cpp671 if (BasicBlock *SinglePred = BB->getSinglePredecessor()) { in ProcessBlock()
873 if (LoadBB->getSinglePredecessor()) in SimplifyPartiallyRedundantLoad()
DLoopIdiomRecognize.cpp262 if (BasicBlock *BB = PreHead->getSinglePredecessor()) { in getPrecondBb()
DLoopUnswitch.cpp1122 BasicBlock *SinglePred = Succ->getSinglePredecessor(); in SimplifyCode()
/external/llvm/lib/IR/
DDominators.cpp160 if (End->getSinglePredecessor()) in dominates()
DBasicBlock.cpp214 BasicBlock *BasicBlock::getSinglePredecessor() { in getSinglePredecessor() function in BasicBlock
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCContract.cpp440 BasicBlock *Pred = InstParent->getSinglePredecessor(); in tryToPeepholeInstruction()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1952 assert(Instr->getParent()->getSinglePredecessor() && in scalarizeInstruction()
1954 Cond = createEdgeMask(Instr->getParent()->getSinglePredecessor(), in scalarizeInstruction()
4424 bool isSinglePredecessor = SI->getParent()->getSinglePredecessor(); in blockCanBePredicated()
5295 assert(Instr->getParent()->getSinglePredecessor() && in scalarizeInstruction()
5297 Cond = createEdgeMask(Instr->getParent()->getSinglePredecessor(), in scalarizeInstruction()
/external/clang/lib/CodeGen/
DCGCleanup.cpp438 llvm::BasicBlock *Pred = Entry->getSinglePredecessor(); in SimplifyCleanupEntry()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1929 BasicBlock *PredBB = FreeInstrBB->getSinglePredecessor(); in tryToMoveFreeBeforeNullTest()
2697 if (UserIsSuccessor && UserParent->getSinglePredecessor()) { in run()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp321 BasicBlock *SinglePred = BB->getSinglePredecessor(); in EliminateFallThrough()
468 if (BasicBlock *SinglePred = DestBB->getSinglePredecessor()) { in EliminateMostlyEmptyBlock()
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp1530 if (II->getNormalDest()->getSinglePredecessor()) { in visitCallSite()
/external/llvm/lib/Analysis/
DValueTracking.cpp443 if (Inv->getParent() == Q.CxtI->getParent()->getSinglePredecessor()) { in isValidAssumeForContext()

12