Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/Scalar/
DSpeculativeExecution.cpp142 if (Succ0.getSinglePredecessor() != nullptr && in runOnBasicBlock()
148 if (Succ1.getSinglePredecessor() != nullptr && in runOnBasicBlock()
155 if (Succ0.getSinglePredecessor() != nullptr && in runOnBasicBlock()
156 Succ1.getSinglePredecessor() != nullptr && in runOnBasicBlock()
DMergedLoadStoreMotion.cpp222 if (!Succ0->getSinglePredecessor() || in isDiamondHead()
225 if (!Succ1->getSinglePredecessor() || in isDiamondHead()
DLoopRotation.cpp200 assert(NewHeader->getSinglePredecessor() && in rotateLoop()
494 BasicBlock *LastExit = Latch->getSinglePredecessor(); in simplifyLoopLatch()
DLoopDistribute.cpp384 BasicBlock *Pred = OrigPH->getSinglePredecessor(); in cloneLoops()
778 if (!PH->getSinglePredecessor() || &*PH->begin() != PH->getTerminator()) in processLoop()
DEarlyCSE.cpp511 if (!BB->getSinglePredecessor()) in processNode()
520 if (BasicBlock *Pred = BB->getSinglePredecessor()) in processNode()
DJumpThreading.cpp718 if (BasicBlock *SinglePred = BB->getSinglePredecessor()) { in ProcessBlock()
895 BasicBlock *CurrentPred = BB->getSinglePredecessor(); in ProcessImpliedCondition()
912 CurrentPred = CurrentBB->getSinglePredecessor(); in ProcessImpliedCondition()
929 if (LoadBB->getSinglePredecessor()) in SimplifyPartiallyRedundantLoad()
DGVN.cpp1524 while (TmpBB->getSinglePredecessor()) { in PerformLoadPRE()
1525 TmpBB = TmpBB->getSinglePredecessor(); in PerformLoadPRE()
2107 const BasicBlock *Pred = E.getEnd()->getSinglePredecessor(); in isOnlyReachableViaThisEdge()
2913 if (!DeadRoot->getSinglePredecessor()) in processFoldableCondBr()
DLoopIdiomRecognize.cpp920 auto *PreCondBB = PH->getSinglePredecessor(); in recognizePopcount()
DLoopUnswitch.cpp1309 BasicBlock *SinglePred = Succ->getSinglePredecessor(); in SimplifyCode()
/external/llvm/include/llvm/IR/
DBasicBlock.h182 BasicBlock *getSinglePredecessor();
183 const BasicBlock *getSinglePredecessor() const {
184 return const_cast<BasicBlock*>(this)->getSinglePredecessor();
/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp39 BB->getSinglePredecessor() == BB) && "Block is not dead!"); in DeleteDeadBlock()
250 if (BasicBlock *SP = Succ->getSinglePredecessor()) { in SplitEdge()
835 if (!Pred2->getSinglePredecessor()) in GetIfCondition()
860 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition()
861 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.cpp2086 if (BasicBlock *PB = BB->getSinglePredecessor()) in FoldBranchToCommonDest()
2500 for (auto &I : *QFB->getSinglePredecessor()) in mergeConditionalStoreToAddress()
2517 Value *PCond = cast<BranchInst>(PFB->getSinglePredecessor()->getTerminator()) in mergeConditionalStoreToAddress()
2519 Value *QCond = cast<BranchInst>(QFB->getSinglePredecessor()->getTerminator()) in mergeConditionalStoreToAddress()
2610 return BB->getSinglePredecessor() == P && in mergeConditionalStores()
2669 if (BB->getSinglePredecessor()) { in SimplifyCondBranchToCondBranch()
2716 BB->getSinglePredecessor()) { in SimplifyCondBranchToCondBranch()
3042 BasicBlock *Pred = BB->getSinglePredecessor(); in TryToSimplifyUncondBranchWithICmpInIt()
3744 if (!BB->getSinglePredecessor()) in FindPHIForConditionForwarding()
4716 if (BasicBlock *OnlyPred = BB->getSinglePredecessor()) in SimplifySwitch()
[all …]
DLocal.cpp563 BasicBlock *PredBB = DestBB->getSinglePredecessor(); in MergeBasicBlockIntoOnlyPred()
617 if (Succ->getSinglePredecessor()) return true; in CanPropagatePredecessorsForPHIs()
827 if (!Succ->getSinglePredecessor()) { in TryToSimplifyUncondBranchFromEmptyBlock()
858 if (Succ->getSinglePredecessor()) { in TryToSimplifyUncondBranchFromEmptyBlock()
DCloneFunction.cpp667 I->getSinglePredecessor() == &*I)) { in CloneAndPruneIntoFromInst()
684 if (!Dest->getSinglePredecessor()) { in CloneAndPruneIntoFromInst()
DLoopUnroll.cpp81 BasicBlock *OnlyPred = BB->getSinglePredecessor(); in FoldBlockIntoPredecessor()
DLoopSimplify.cpp630 if (!ExitingBlock->getSinglePredecessor()) continue; in simplifyOneLoop()
/external/llvm/lib/IR/
DDominators.cpp157 if (End->getSinglePredecessor()) in dominates()
DBasicBlock.cpp211 BasicBlock *BasicBlock::getSinglePredecessor() { in getSinglePredecessor() function in BasicBlock
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCContract.cpp440 BasicBlock *Pred = InstParent->getSinglePredecessor(); in tryToPeepholeInstruction()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2565 assert(Instr->getParent()->getSinglePredecessor() && in scalarizeInstruction()
2567 Cond = createEdgeMask(Instr->getParent()->getSinglePredecessor(), in scalarizeInstruction()
4521 bool isSinglePredecessor = SI->getParent()->getSinglePredecessor(); in blockCanBePredicated()
5758 assert(Instr->getParent()->getSinglePredecessor() && in scalarizeInstruction()
5760 Cond = createEdgeMask(Instr->getParent()->getSinglePredecessor(), in scalarizeInstruction()
/external/clang/lib/CodeGen/
DCGCleanup.cpp465 llvm::BasicBlock *Pred = Entry->getSinglePredecessor(); in SimplifyCleanupEntry()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1994 BasicBlock *PredBB = FreeInstrBB->getSinglePredecessor(); in tryToMoveFreeBeforeNullTest()
2800 if (UserIsSuccessor && UserParent->getSinglePredecessor()) { in run()
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp1546 if (II->getNormalDest()->getSinglePredecessor()) { in visitCallSite()

12