/external/llvm/include/llvm/IR/ |
D | BasicBlock.h | 193 BasicBlock *getSinglePredecessor(); 194 const BasicBlock *getSinglePredecessor() const { 195 return const_cast<BasicBlock*>(this)->getSinglePredecessor();
|
/external/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 39 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()
|
D | FlattenCFG.cpp | 147 BasicBlock *PP = Pred->getSinglePredecessor(); in FlattenParallelAndOr() 242 CurrBlock = CurrBlock->getSinglePredecessor()) { in FlattenParallelAndOr()
|
D | DemoteRegToStack.cpp | 46 if (!II->getNormalDest()->getSinglePredecessor()) { in DemoteRegToStack()
|
D | Local.cpp | 508 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()
|
D | CloneFunction.cpp | 651 I->getSinglePredecessor() == I)) { in CloneAndPruneIntoFromInst() 668 if (!Dest->getSinglePredecessor()) { in CloneAndPruneIntoFromInst()
|
D | SimplifyCFG.cpp | 2063 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()
|
D | LoopUnroll.cpp | 81 BasicBlock *OnlyPred = BB->getSinglePredecessor(); in FoldBlockIntoPredecessor()
|
D | LoopSimplify.cpp | 648 if (!ExitingBlock->getSinglePredecessor()) continue; in simplifyOneLoop()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopRotation.cpp | 285 BasicBlock *LastExit = Latch->getSinglePredecessor(); in simplifyLoopLatch() 403 assert(NewHeader->getSinglePredecessor() && in rotateLoop()
|
D | MergedLoadStoreMotion.cpp | 219 if (!Succ0->getSinglePredecessor() || in isDiamondHead() 222 if (!Succ1->getSinglePredecessor() || in isDiamondHead()
|
D | GVN.cpp | 1535 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()
|
D | EarlyCSE.cpp | 461 if (!BB->getSinglePredecessor()) in processNode()
|
D | JumpThreading.cpp | 671 if (BasicBlock *SinglePred = BB->getSinglePredecessor()) { in ProcessBlock() 873 if (LoadBB->getSinglePredecessor()) in SimplifyPartiallyRedundantLoad()
|
D | LoopIdiomRecognize.cpp | 262 if (BasicBlock *BB = PreHead->getSinglePredecessor()) { in getPrecondBb()
|
D | LoopUnswitch.cpp | 1122 BasicBlock *SinglePred = Succ->getSinglePredecessor(); in SimplifyCode()
|
/external/llvm/lib/IR/ |
D | Dominators.cpp | 160 if (End->getSinglePredecessor()) in dominates()
|
D | BasicBlock.cpp | 214 BasicBlock *BasicBlock::getSinglePredecessor() { in getSinglePredecessor() function in BasicBlock
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCContract.cpp | 440 BasicBlock *Pred = InstParent->getSinglePredecessor(); in tryToPeepholeInstruction()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 1952 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/ |
D | CGCleanup.cpp | 438 llvm::BasicBlock *Pred = Entry->getSinglePredecessor(); in SimplifyCleanupEntry()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1929 BasicBlock *PredBB = FreeInstrBB->getSinglePredecessor(); in tryToMoveFreeBeforeNullTest() 2697 if (UserIsSuccessor && UserParent->getSinglePredecessor()) { in run()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 321 BasicBlock *SinglePred = BB->getSinglePredecessor(); in EliminateFallThrough() 468 if (BasicBlock *SinglePred = DestBB->getSinglePredecessor()) { in EliminateMostlyEmptyBlock()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 1530 if (II->getNormalDest()->getSinglePredecessor()) { in visitCallSite()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 443 if (Inv->getParent() == Q.CxtI->getParent()->getSinglePredecessor()) { in isValidAssumeForContext()
|