/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 | MergedLoadStoreMotion.cpp | 178 if (!Succ0->getSinglePredecessor()) in isDiamondHead() 180 if (!Succ1->getSinglePredecessor()) in isDiamondHead() 220 BasicBlock *Head = BB0->getSinglePredecessor(); in canHoistFromBlock()
|
D | LoopSimplifyCFG.cpp | 52 BasicBlock *Pred = Succ->getSinglePredecessor(); in simplifyLoopCFG()
|
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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SpeculativeExecution.cpp | 183 if (Succ0.getSinglePredecessor() != nullptr && in runOnBasicBlock() 189 if (Succ1.getSinglePredecessor() != nullptr && in runOnBasicBlock() 196 if (Succ0.getSinglePredecessor() != nullptr && in runOnBasicBlock() 197 Succ1.getSinglePredecessor() != nullptr && in runOnBasicBlock()
|
D | MergedLoadStoreMotion.cpp | 150 if (!Succ0->getSinglePredecessor()) in isDiamondHead() 152 if (!Succ1->getSinglePredecessor()) in isDiamondHead()
|
D | JumpThreading.cpp | 234 auto *SinglePredBB = PredBB->getSinglePredecessor(); in updatePredecessorProfileMetadata() 1208 BasicBlock *CurrentPred = BB->getSinglePredecessor(); in ProcessImpliedCondition() 1234 CurrentPred = CurrentBB->getSinglePredecessor(); in ProcessImpliedCondition() 1259 if (LoadBB->getSinglePredecessor()) in SimplifyPartiallyRedundantLoad() 1346 SinglePredBB = SinglePredBB->getSinglePredecessor(); in SimplifyPartiallyRedundantLoad() 1884 BasicBlock *SinglePred = BB->getSinglePredecessor(); in MaybeMergeBasicBlockIntoOnlyPred() 2676 auto *Parent = Pred1->getSinglePredecessor(); in ProcessGuards() 2677 if (!Parent || Parent != Pred2->getSinglePredecessor()) in ProcessGuards()
|
D | CallSiteSplitting.cpp | 160 while (To != StopAt && !Visited.count(From->getSinglePredecessor()) && in recordConditions() 161 (From = From->getSinglePredecessor())) { in recordConditions()
|
/external/llvm/include/llvm/IR/ |
D | BasicBlock.h | 190 BasicBlock *getSinglePredecessor(); 191 const BasicBlock *getSinglePredecessor() const { 192 return const_cast<BasicBlock*>(this)->getSinglePredecessor();
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | BasicBlock.h | 191 BasicBlock *getSinglePredecessor(); 192 const BasicBlock *getSinglePredecessor() const { in getSinglePredecessor() function 193 return const_cast<BasicBlock*>(this)->getSinglePredecessor(); in getSinglePredecessor()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | BasicBlock.h | 226 const BasicBlock *getSinglePredecessor() const; 227 BasicBlock *getSinglePredecessor() { in getSinglePredecessor() function 229 static_cast<const BasicBlock *>(this)->getSinglePredecessor()); in getSinglePredecessor()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | HardwareLoops.cpp | 343 if (!Preheader->getSinglePredecessor()) in CanGenerateTest() 346 BasicBlock *Pred = Preheader->getSinglePredecessor(); in CanGenerateTest() 401 if (UseLoopGuard && BB->getSinglePredecessor() && in InitLoopCount() 403 BB = BB->getSinglePredecessor(); in InitLoopCount()
|
/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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | FlattenCFG.cpp | 157 BasicBlock *PP = Pred->getSinglePredecessor(); in FlattenParallelAndOr() 253 CurrBlock = CurrBlock->getSinglePredecessor()) { in FlattenParallelAndOr()
|
D | BasicBlockUtils.cpp | 487 if (BasicBlock *SP = Succ->getSinglePredecessor()) { in SplitEdge() 1045 if (!Pred2->getSinglePredecessor()) in GetIfCondition() 1070 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition() 1071 if (CommonPred == nullptr || CommonPred != Pred2->getSinglePredecessor()) in GetIfCondition()
|
D | DemoteRegToStack.cpp | 47 if (!II->getNormalDest()->getSinglePredecessor()) { in DemoteRegToStack()
|
D | SimplifyCFG.cpp | 2599 if (BasicBlock *PB = BB->getSinglePredecessor()) in FoldBranchToCommonDest() 2988 for (auto &I : *QFB->getSinglePredecessor()) in mergeConditionalStoreToAddress() 3050 BasicBlock *TruePred = QTB ? QTB : QFB->getSinglePredecessor(); in mergeConditionalStoreToAddress() 3060 Value *PCond = cast<BranchInst>(PFB->getSinglePredecessor()->getTerminator()) in mergeConditionalStoreToAddress() 3062 Value *QCond = cast<BranchInst>(QFB->getSinglePredecessor()->getTerminator()) in mergeConditionalStoreToAddress() 3186 return BB->getSinglePredecessor() == P && BB->getSingleSuccessor() == S; in mergeConditionalStores() 3241 IfTrueBB != BI->getParent() || !BI->getParent()->getSinglePredecessor()) in tryWidenCondBranchToCondBranch() 3285 if (BB->getSinglePredecessor()) { in SimplifyCondBranchToCondBranch() 3664 BasicBlock *Pred = BB->getSinglePredecessor(); in tryToSimplifyUncondBranchWithICmpInIt() 4128 if (UnwindDest->getSinglePredecessor() != RI->getParent()) in mergeCleanupPad() [all …]
|
D | LoopRotationUtils.cpp | 298 assert(NewHeader->getSinglePredecessor() && in rotateLoop() 613 BasicBlock *LastExit = Latch->getSinglePredecessor(); in simplifyLoopLatch()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | MVETailPredication.cpp | 165 if (!Preheader->getSinglePredecessor()) in runOnLoop() 167 Setup = FindLoopIterations(Preheader->getSinglePredecessor()); in runOnLoop()
|
/external/llvm/lib/IR/ |
D | Dominators.cpp | 155 if (End->getSinglePredecessor()) in dominates()
|