Home
last modified time | relevance | path

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

1234

/external/llvm/lib/Transforms/Scalar/
DSpeculativeExecution.cpp178 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()
DMergedLoadStoreMotion.cpp178 if (!Succ0->getSinglePredecessor()) in isDiamondHead()
180 if (!Succ1->getSinglePredecessor()) in isDiamondHead()
220 BasicBlock *Head = BB0->getSinglePredecessor(); in canHoistFromBlock()
DLoopSimplifyCFG.cpp52 BasicBlock *Pred = Succ->getSinglePredecessor(); in simplifyLoopCFG()
DLoopRotation.cpp267 assert(NewHeader->getSinglePredecessor() && in rotateLoop()
562 BasicBlock *LastExit = Latch->getSinglePredecessor(); in simplifyLoopLatch()
DLoopDistribute.cpp398 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/
DSpeculativeExecution.cpp183 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()
DMergedLoadStoreMotion.cpp150 if (!Succ0->getSinglePredecessor()) in isDiamondHead()
152 if (!Succ1->getSinglePredecessor()) in isDiamondHead()
DJumpThreading.cpp234 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()
DCallSiteSplitting.cpp160 while (To != StopAt && !Visited.count(From->getSinglePredecessor()) && in recordConditions()
161 (From = From->getSinglePredecessor())) { in recordConditions()
/external/llvm/include/llvm/IR/
DBasicBlock.h190 BasicBlock *getSinglePredecessor();
191 const BasicBlock *getSinglePredecessor() const {
192 return const_cast<BasicBlock*>(this)->getSinglePredecessor();
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DBasicBlock.h191 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/
DBasicBlock.h226 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/
DHardwareLoops.cpp343 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/
DBasicBlockUtils.cpp37 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()
DFlattenCFG.cpp145 BasicBlock *PP = Pred->getSinglePredecessor(); in FlattenParallelAndOr()
241 CurrBlock = CurrBlock->getSinglePredecessor()) { in FlattenParallelAndOr()
DDemoteRegToStack.cpp46 if (!II->getNormalDest()->getSinglePredecessor()) { in DemoteRegToStack()
DSimplifyCFG.cpp2199 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 …]
DCloneFunction.cpp570 I->getSinglePredecessor() == &*I)) { in CloneAndPruneIntoFromInst()
587 if (!Dest->getSinglePredecessor()) { in CloneAndPruneIntoFromInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp157 BasicBlock *PP = Pred->getSinglePredecessor(); in FlattenParallelAndOr()
253 CurrBlock = CurrBlock->getSinglePredecessor()) { in FlattenParallelAndOr()
DBasicBlockUtils.cpp487 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()
DDemoteRegToStack.cpp47 if (!II->getNormalDest()->getSinglePredecessor()) { in DemoteRegToStack()
DSimplifyCFG.cpp2599 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 …]
DLoopRotationUtils.cpp298 assert(NewHeader->getSinglePredecessor() && in rotateLoop()
613 BasicBlock *LastExit = Latch->getSinglePredecessor(); in simplifyLoopLatch()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DMVETailPredication.cpp165 if (!Preheader->getSinglePredecessor()) in runOnLoop()
167 Setup = FindLoopIterations(Preheader->getSinglePredecessor()); in runOnLoop()
/external/llvm/lib/IR/
DDominators.cpp155 if (End->getSinglePredecessor()) in dominates()

1234