/external/llvm/lib/Transforms/Scalar/ |
D | SpeculativeExecution.cpp | 178 if (Succ0.getSinglePredecessor() != nullptr && in runOnBasicBlock() 184 if (Succ1.getSinglePredecessor() != nullptr && in runOnBasicBlock() 191 if (Succ0.getSinglePredecessor() != nullptr && in runOnBasicBlock() 192 Succ1.getSinglePredecessor() != nullptr && in runOnBasicBlock()
|
D | LoopSimplifyCFG.cpp | 52 BasicBlock *Pred = Succ->getSinglePredecessor(); in simplifyLoopCFG()
|
D | MergedLoadStoreMotion.cpp | 178 if (!Succ0->getSinglePredecessor()) in isDiamondHead() 180 if (!Succ1->getSinglePredecessor()) in isDiamondHead() 220 BasicBlock *Head = BB0->getSinglePredecessor(); in canHoistFromBlock()
|
D | LoopRotation.cpp | 267 assert(NewHeader->getSinglePredecessor() && in rotateLoop() 562 BasicBlock *LastExit = Latch->getSinglePredecessor(); in simplifyLoopLatch()
|
D | LoopDistribute.cpp | 398 BasicBlock *Pred = OrigPH->getSinglePredecessor(); in cloneLoops() 710 if (!PH->getSinglePredecessor() || &*PH->begin() != PH->getTerminator()) in processLoop()
|
D | EarlyCSE.cpp | 503 if (!BB->getSinglePredecessor()) in processNode() 512 if (BasicBlock *Pred = BB->getSinglePredecessor()) in processNode()
|
D | JumpThreading.cpp | 714 if (BasicBlock *SinglePred = BB->getSinglePredecessor()) { in ProcessBlock() 894 BasicBlock *CurrentPred = BB->getSinglePredecessor(); in ProcessImpliedCondition() 916 CurrentPred = CurrentBB->getSinglePredecessor(); in ProcessImpliedCondition() 933 if (LoadBB->getSinglePredecessor()) in SimplifyPartiallyRedundantLoad()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | BasicBlock.h | 177 BasicBlock *getSinglePredecessor(); 178 const BasicBlock *getSinglePredecessor() const { 179 return const_cast<BasicBlock*>(this)->getSinglePredecessor();
|
/external/llvm/include/llvm/IR/ |
D | BasicBlock.h | 190 BasicBlock *getSinglePredecessor(); 191 const BasicBlock *getSinglePredecessor() const { 192 return const_cast<BasicBlock*>(this)->getSinglePredecessor();
|
/external/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 37 BB->getSinglePredecessor() == BB) && "Block is not dead!"); in DeleteDeadBlock() 222 if (BasicBlock *SP = Succ->getSinglePredecessor()) { in SplitEdge() 726 if (!Pred2->getSinglePredecessor()) in GetIfCondition() 751 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition() 752 if (CommonPred == nullptr || CommonPred != Pred2->getSinglePredecessor()) in GetIfCondition()
|
D | FlattenCFG.cpp | 145 BasicBlock *PP = Pred->getSinglePredecessor(); in FlattenParallelAndOr() 241 CurrBlock = CurrBlock->getSinglePredecessor()) { in FlattenParallelAndOr()
|
D | DemoteRegToStack.cpp | 46 if (!II->getNormalDest()->getSinglePredecessor()) { in DemoteRegToStack()
|
D | SimplifyCFG.cpp | 2199 if (BasicBlock *PB = BB->getSinglePredecessor()) in FoldBranchToCommonDest() 2605 for (auto &I : *QFB->getSinglePredecessor()) in mergeConditionalStoreToAddress() 2622 Value *PCond = cast<BranchInst>(PFB->getSinglePredecessor()->getTerminator()) in mergeConditionalStoreToAddress() 2624 Value *QCond = cast<BranchInst>(QFB->getSinglePredecessor()->getTerminator()) in mergeConditionalStoreToAddress() 2715 return BB->getSinglePredecessor() == P && BB->getSingleSuccessor() == S; in mergeConditionalStores() 2773 if (BB->getSinglePredecessor()) { in SimplifyCondBranchToCondBranch() 3158 BasicBlock *Pred = BB->getSinglePredecessor(); in TryToSimplifyUncondBranchWithICmpInIt() 3622 if (UnwindDest->getSinglePredecessor() != RI->getParent()) in mergeCleanupPad() 4079 if (!BB->getSinglePredecessor()) in FindPHIForConditionForwarding() 5047 if (BasicBlock *OnlyPred = BB->getSinglePredecessor()) in SimplifySwitch() [all …]
|
D | CloneFunction.cpp | 570 I->getSinglePredecessor() == &*I)) { in CloneAndPruneIntoFromInst() 587 if (!Dest->getSinglePredecessor()) { in CloneAndPruneIntoFromInst()
|
D | Local.cpp | 578 BasicBlock *PredBB = DestBB->getSinglePredecessor(); in MergeBasicBlockIntoOnlyPred() 632 if (Succ->getSinglePredecessor()) return true; in CanPropagatePredecessorsForPHIs() 842 if (!Succ->getSinglePredecessor()) { in TryToSimplifyUncondBranchFromEmptyBlock() 873 if (Succ->getSinglePredecessor()) { in TryToSimplifyUncondBranchFromEmptyBlock()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | Local.cpp | 436 BasicBlock *PredBB = DestBB->getSinglePredecessor(); in MergeBasicBlockIntoOnlyPred() 486 if (Succ->getSinglePredecessor()) return true; in CanPropagatePredecessorsForPHIs() 575 if (!Succ->getSinglePredecessor()) { in TryToSimplifyUncondBranchFromEmptyBlock() 625 if (Succ->getSinglePredecessor()) { in TryToSimplifyUncondBranchFromEmptyBlock()
|
D | SimplifyCFG.cpp | 164 if (Pred2->getSinglePredecessor() == 0) in GetIfCondition() 189 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition() 190 if (CommonPred == 0 || CommonPred != Pred2->getSinglePredecessor()) in GetIfCondition() 1666 if (BB->getSinglePredecessor()) { in SimplifyCondBranchToCondBranch() 1956 BasicBlock *Pred = BB->getSinglePredecessor(); in TryToSimplifyUncondBranchWithICmpInIt() 2524 if (!BB->getSinglePredecessor()) in FindPHIForConditionForwarding() 2594 if (BasicBlock *OnlyPred = BB->getSinglePredecessor()) in SimplifySwitch() 2696 if (BasicBlock *OnlyPred = BB->getSinglePredecessor()) in SimplifyCondBranch() 2727 if (BI->getSuccessor(0)->getSinglePredecessor() != 0) { in SimplifyCondBranch() 2728 if (BI->getSuccessor(1)->getSinglePredecessor() != 0) { in SimplifyCondBranch() [all …]
|
D | DemoteRegToStack.cpp | 95 assert(II.getNormalDest()->getSinglePredecessor() && in DemoteRegToStack()
|
D | BasicBlockUtils.cpp | 38 BB->getSinglePredecessor() == BB) && "Block is not dead!"); in DeleteDeadBlock() 268 if (BasicBlock *SP = Succ->getSinglePredecessor()) { in SplitEdge()
|
D | LoopUnroll.cpp | 68 BasicBlock *OnlyPred = BB->getSinglePredecessor(); in FoldBlockIntoPredecessor()
|
/external/llvm/lib/IR/ |
D | Dominators.cpp | 155 if (End->getSinglePredecessor()) in dominates()
|
D | BasicBlock.cpp | 226 BasicBlock *BasicBlock::getSinglePredecessor() { in getSinglePredecessor() function in BasicBlock
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | BasicBlock.cpp | 183 BasicBlock *BasicBlock::getSinglePredecessor() { in getSinglePredecessor() function in BasicBlock
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopRotation.cpp | 211 assert(NewHeader->getSinglePredecessor() && in rotateLoop()
|
D | EarlyCSE.cpp | 304 if (BB->getSinglePredecessor() == 0) in INITIALIZE_PASS_DEPENDENCY()
|