Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A 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()
H A DMergedLoadStoreMotion.cpp144 if (!Succ0->getSinglePredecessor()) in isDiamondHead()
146 if (!Succ1->getSinglePredecessor()) in isDiamondHead()
H A DJumpThreading.cpp226 auto *SinglePredBB = PredBB->getSinglePredecessor(); in updatePredecessorProfileMetadata()
989 if (BasicBlock *SinglePred = BB->getSinglePredecessor()) { in ProcessBlock()
1229 BasicBlock *CurrentPred = BB->getSinglePredecessor(); in ProcessImpliedCondition()
1254 CurrentPred = CurrentBB->getSinglePredecessor(); in ProcessImpliedCondition()
1279 if (LoadBB->getSinglePredecessor()) in SimplifyPartiallyRedundantLoad()
1366 SinglePredBB = SinglePredBB->getSinglePredecessor(); in SimplifyPartiallyRedundantLoad()
2646 auto *Parent = Pred1->getSinglePredecessor(); in ProcessGuards()
2647 if (!Parent || Parent != Pred2->getSinglePredecessor()) in ProcessGuards()
H A DCallSiteSplitting.cpp159 while (To != StopAt && !Visited.count(From->getSinglePredecessor()) && in recordConditions()
160 (From = From->getSinglePredecessor())) { in recordConditions()
H A DLowerExpectIntrinsic.cpp168 BB = BB->getSinglePredecessor(); in handlePhiDef()
H A DLoopDistribute.cpp446 BasicBlock *Pred = OrigPH->getSinglePredecessor(); in cloneLoops()
789 if (!PH->getSinglePredecessor() || &*PH->begin() != PH->getTerminator()) in processLoop()
H A DGVN.cpp1080 while (TmpBB->getSinglePredecessor()) { in PerformLoadPRE()
1081 TmpBB = TmpBB->getSinglePredecessor(); in PerformLoadPRE()
1641 const BasicBlock *Pred = E.getEnd()->getSinglePredecessor(); in isOnlyReachableViaThisEdge()
2521 if (!DeadRoot->getSinglePredecessor()) in processFoldableCondBr()
H A DEarlyCSE.cpp779 if (!BB->getSinglePredecessor()) in processNode()
788 if (BasicBlock *Pred = BB->getSinglePredecessor()) { in processNode()
H A DLoopSimplifyCFG.cpp576 BasicBlock *Pred = Succ->getSinglePredecessor(); in mergeBlocksIntoPredecessors()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DBasicBlock.h222 const BasicBlock *getSinglePredecessor() const;
223 BasicBlock *getSinglePredecessor() { in getSinglePredecessor() function
225 static_cast<const BasicBlock *>(this)->getSinglePredecessor()); in getSinglePredecessor()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DFlattenCFG.cpp158 BasicBlock *PP = Pred->getSinglePredecessor(); in FlattenParallelAndOr()
254 CurrBlock = CurrBlock->getSinglePredecessor()) { in FlattenParallelAndOr()
H A DBasicBlockUtils.cpp292 if (BasicBlock *SP = Succ->getSinglePredecessor()) { in SplitEdge()
831 if (!Pred2->getSinglePredecessor()) in GetIfCondition()
856 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition()
857 if (CommonPred == nullptr || CommonPred != Pred2->getSinglePredecessor()) in GetIfCondition()
H A DDemoteRegToStack.cpp48 if (!II->getNormalDest()->getSinglePredecessor()) { in DemoteRegToStack()
H A DSimplifyCFG.cpp2555 if (BasicBlock *PB = BB->getSinglePredecessor()) in FoldBranchToCommonDest()
2973 for (auto &I : *QFB->getSinglePredecessor()) in mergeConditionalStoreToAddress()
3187 if (BB->getSinglePredecessor()) { in SimplifyCondBranchToCondBranch()
3560 BasicBlock *Pred = BB->getSinglePredecessor(); in tryToSimplifyUncondBranchWithICmpInIt()
4476 if (!BB->getSinglePredecessor()) in FindPHIForConditionForwarding()
5594 if (BasicBlock *OnlyPred = BB->getSinglePredecessor()) in SimplifySwitch()
5807 BasicBlock *PPred = P->getSinglePredecessor(); in allPredecessorsComeFromSameSource()
5826 if (BasicBlock *OnlyPred = BB->getSinglePredecessor()) in SimplifyCondBranch()
5870 if (BI->getSuccessor(0)->getSinglePredecessor()) { in SimplifyCondBranch()
5871 if (BI->getSuccessor(1)->getSinglePredecessor()) { in SimplifyCondBranch()
[all …]
H A DLoopRotationUtils.cpp292 assert(NewHeader->getSinglePredecessor() && in rotateLoop()
602 BasicBlock *LastExit = Latch->getSinglePredecessor(); in simplifyLoopLatch()
H A DCloneFunction.cpp660 I->getSinglePredecessor() == &*I)) { in CloneAndPruneIntoFromInst()
670 if (!Dest->getSinglePredecessor()) { in CloneAndPruneIntoFromInst()
H A DPredicateInfo.cpp383 if (!Succ->getSinglePredecessor()) in processBranch()
450 if (!TargetBlock->getSinglePredecessor()) in processSwitch()
H A DLibCallsShrinkWrap.cpp500 LLVM_DEBUG(dbgs() << *CallBB->getSinglePredecessor() << *CallBB in shrinkWrapCI()
H A DLocal.cpp687 BasicBlock *PredBB = DestBB->getSinglePredecessor(); in MergeBasicBlockIntoOnlyPred()
772 if (Succ->getSinglePredecessor()) return true; in CanPropagatePredecessorsForPHIs()
985 if (!Succ->getSinglePredecessor()) { in TryToSimplifyUncondBranchFromEmptyBlock()
1028 if (Succ->getSinglePredecessor()) { in TryToSimplifyUncondBranchFromEmptyBlock()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DVPlan.cpp457 assert(PostDomSucc->getSinglePredecessor() && in updateDominatorTree()
469 assert(InterimSucc->getSinglePredecessor() && in updateDominatorTree()
H A DVPlan.h437 VPBlockBase *getSinglePredecessor() const { in getSinglePredecessor() function
484 return getEnclosingBlockWithPredecessors()->getSinglePredecessor(); in getSingleHierarchicalPredecessor()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DMustExecute.cpp113 auto *CondExitBlock = ExitBlock->getSinglePredecessor(); in CanProveNotTakenFirstIteration()
H A DMemorySSAUpdater.cpp52 if (BasicBlock *Pred = BB->getSinglePredecessor()) { in getPreviousDefRecursive()
995 assert(From->getSinglePredecessor() == To && in moveAllAfterMergeBlocks()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DDominators.cpp190 if (End->getSinglePredecessor()) in dominates()
H A DBasicBlock.cpp234 const BasicBlock *BasicBlock::getSinglePredecessor() const { in getSinglePredecessor() function in BasicBlock

12