Home
last modified time | relevance | path

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

12345

/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()
/external/swiftshader/third_party/llvm-7.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.cpp144 if (!Succ0->getSinglePredecessor()) in isDiamondHead()
146 if (!Succ1->getSinglePredecessor()) in isDiamondHead()
DLoopSimplifyCFG.cpp55 BasicBlock *Pred = Succ->getSinglePredecessor(); in simplifyLoopCFG()
DJumpThreading.cpp224 auto *SinglePredBB = PredBB->getSinglePredecessor(); in updatePredecessorProfileMetadata()
985 if (BasicBlock *SinglePred = BB->getSinglePredecessor()) { in ProcessBlock()
1222 BasicBlock *CurrentPred = BB->getSinglePredecessor(); in ProcessImpliedCondition()
1247 CurrentPred = CurrentBB->getSinglePredecessor(); in ProcessImpliedCondition()
1272 if (LoadBB->getSinglePredecessor()) in SimplifyPartiallyRedundantLoad()
1359 SinglePredBB = SinglePredBB->getSinglePredecessor(); in SimplifyPartiallyRedundantLoad()
2600 auto *Parent = Pred1->getSinglePredecessor(); in ProcessGuards()
2601 if (!Parent || Parent != Pred2->getSinglePredecessor()) in ProcessGuards()
DCallSiteSplitting.cpp159 while (!Visited.count(From->getSinglePredecessor()) && in recordConditions()
160 (From = From->getSinglePredecessor())) { in recordConditions()
/external/swiftshader/third_party/LLVM/include/llvm/
DBasicBlock.h177 BasicBlock *getSinglePredecessor();
178 const BasicBlock *getSinglePredecessor() const {
179 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/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-7.0/llvm/include/llvm/IR/
DBasicBlock.h223 const BasicBlock *getSinglePredecessor() const;
224 BasicBlock *getSinglePredecessor() { in getSinglePredecessor() function
226 static_cast<const BasicBlock *>(this)->getSinglePredecessor()); in getSinglePredecessor()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp51 BB->getSinglePredecessor() == BB) && "Block is not dead!"); in DeleteDeadBlock()
275 if (BasicBlock *SP = Succ->getSinglePredecessor()) { in SplitEdge()
795 if (!Pred2->getSinglePredecessor()) in GetIfCondition()
820 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition()
821 if (CommonPred == nullptr || CommonPred != Pred2->getSinglePredecessor()) in GetIfCondition()
DFlattenCFG.cpp158 BasicBlock *PP = Pred->getSinglePredecessor(); in FlattenParallelAndOr()
254 CurrBlock = CurrBlock->getSinglePredecessor()) { in FlattenParallelAndOr()
DSimplifyCFG.cpp2552 if (BasicBlock *PB = BB->getSinglePredecessor()) in FoldBranchToCommonDest()
2965 for (auto &I : *QFB->getSinglePredecessor()) in mergeConditionalStoreToAddress()
2987 BasicBlock *TruePred = QTB ? QTB : QFB->getSinglePredecessor(); in mergeConditionalStoreToAddress()
2997 Value *PCond = cast<BranchInst>(PFB->getSinglePredecessor()->getTerminator()) in mergeConditionalStoreToAddress()
2999 Value *QCond = cast<BranchInst>(QFB->getSinglePredecessor()->getTerminator()) in mergeConditionalStoreToAddress()
3122 return BB->getSinglePredecessor() == P && BB->getSingleSuccessor() == S; in mergeConditionalStores()
3179 if (BB->getSinglePredecessor()) { in SimplifyCondBranchToCondBranch()
3553 BasicBlock *Pred = BB->getSinglePredecessor(); in tryToSimplifyUncondBranchWithICmpInIt()
4016 if (UnwindDest->getSinglePredecessor() != RI->getParent()) in mergeCleanupPad()
4469 if (!BB->getSinglePredecessor()) in FindPHIForConditionForwarding()
[all …]
DDemoteRegToStack.cpp48 if (!II->getNormalDest()->getSinglePredecessor()) { in DemoteRegToStack()
DLoopRotationUtils.cpp285 assert(NewHeader->getSinglePredecessor() && in rotateLoop()
573 BasicBlock *LastExit = Latch->getSinglePredecessor(); in simplifyLoopLatch()
/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 …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLocal.cpp436 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()
DSimplifyCFG.cpp164 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 …]
DDemoteRegToStack.cpp95 assert(II.getNormalDest()->getSinglePredecessor() && in DemoteRegToStack()

12345