Home
last modified time | relevance | path

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

123

/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()
DLoopSimplifyCFG.cpp52 BasicBlock *Pred = Succ->getSinglePredecessor(); in simplifyLoopCFG()
DMergedLoadStoreMotion.cpp178 if (!Succ0->getSinglePredecessor()) in isDiamondHead()
180 if (!Succ1->getSinglePredecessor()) in isDiamondHead()
220 BasicBlock *Head = BB0->getSinglePredecessor(); in canHoistFromBlock()
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()
DEarlyCSE.cpp503 if (!BB->getSinglePredecessor()) in processNode()
512 if (BasicBlock *Pred = BB->getSinglePredecessor()) in processNode()
DJumpThreading.cpp714 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/
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/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()
DLocal.cpp578 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/
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()
DDemoteRegToStack.cpp95 assert(II.getNormalDest()->getSinglePredecessor() && in DemoteRegToStack()
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 …]
DBasicBlockUtils.cpp38 BB->getSinglePredecessor() == BB) && "Block is not dead!"); in DeleteDeadBlock()
268 if (BasicBlock *SP = Succ->getSinglePredecessor()) { in SplitEdge()
/external/llvm/lib/IR/
DDominators.cpp155 if (End->getSinglePredecessor()) in dominates()
DBasicBlock.cpp226 BasicBlock *BasicBlock::getSinglePredecessor() { in getSinglePredecessor() function in BasicBlock
/external/swiftshader/third_party/LLVM/lib/VMCore/
DBasicBlock.cpp183 BasicBlock *BasicBlock::getSinglePredecessor() { in getSinglePredecessor() function in BasicBlock
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopRotation.cpp211 assert(NewHeader->getSinglePredecessor() && in rotateLoop()
DEarlyCSE.cpp304 if (BB->getSinglePredecessor() == 0) in INITIALIZE_PASS_DEPENDENCY()

123