| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | SpeculativeExecution.cpp | 183 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 D | MergedLoadStoreMotion.cpp | 144 if (!Succ0->getSinglePredecessor()) in isDiamondHead() 146 if (!Succ1->getSinglePredecessor()) in isDiamondHead()
|
| H A D | JumpThreading.cpp | 226 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 D | CallSiteSplitting.cpp | 159 while (To != StopAt && !Visited.count(From->getSinglePredecessor()) && in recordConditions() 160 (From = From->getSinglePredecessor())) { in recordConditions()
|
| H A D | LowerExpectIntrinsic.cpp | 168 BB = BB->getSinglePredecessor(); in handlePhiDef()
|
| H A D | LoopDistribute.cpp | 446 BasicBlock *Pred = OrigPH->getSinglePredecessor(); in cloneLoops() 789 if (!PH->getSinglePredecessor() || &*PH->begin() != PH->getTerminator()) in processLoop()
|
| H A D | GVN.cpp | 1080 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 D | EarlyCSE.cpp | 779 if (!BB->getSinglePredecessor()) in processNode() 788 if (BasicBlock *Pred = BB->getSinglePredecessor()) { in processNode()
|
| H A D | LoopSimplifyCFG.cpp | 576 BasicBlock *Pred = Succ->getSinglePredecessor(); in mergeBlocksIntoPredecessors()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | BasicBlock.h | 222 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 D | FlattenCFG.cpp | 158 BasicBlock *PP = Pred->getSinglePredecessor(); in FlattenParallelAndOr() 254 CurrBlock = CurrBlock->getSinglePredecessor()) { in FlattenParallelAndOr()
|
| H A D | BasicBlockUtils.cpp | 292 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 D | DemoteRegToStack.cpp | 48 if (!II->getNormalDest()->getSinglePredecessor()) { in DemoteRegToStack()
|
| H A D | SimplifyCFG.cpp | 2555 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 D | LoopRotationUtils.cpp | 292 assert(NewHeader->getSinglePredecessor() && in rotateLoop() 602 BasicBlock *LastExit = Latch->getSinglePredecessor(); in simplifyLoopLatch()
|
| H A D | CloneFunction.cpp | 660 I->getSinglePredecessor() == &*I)) { in CloneAndPruneIntoFromInst() 670 if (!Dest->getSinglePredecessor()) { in CloneAndPruneIntoFromInst()
|
| H A D | PredicateInfo.cpp | 383 if (!Succ->getSinglePredecessor()) in processBranch() 450 if (!TargetBlock->getSinglePredecessor()) in processSwitch()
|
| H A D | LibCallsShrinkWrap.cpp | 500 LLVM_DEBUG(dbgs() << *CallBB->getSinglePredecessor() << *CallBB in shrinkWrapCI()
|
| H A D | Local.cpp | 687 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 D | VPlan.cpp | 457 assert(PostDomSucc->getSinglePredecessor() && in updateDominatorTree() 469 assert(InterimSucc->getSinglePredecessor() && in updateDominatorTree()
|
| H A D | VPlan.h | 437 VPBlockBase *getSinglePredecessor() const { in getSinglePredecessor() function 484 return getEnclosingBlockWithPredecessors()->getSinglePredecessor(); in getSingleHierarchicalPredecessor()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | MustExecute.cpp | 113 auto *CondExitBlock = ExitBlock->getSinglePredecessor(); in CanProveNotTakenFirstIteration()
|
| H A D | MemorySSAUpdater.cpp | 52 if (BasicBlock *Pred = BB->getSinglePredecessor()) { in getPreviousDefRecursive() 995 assert(From->getSinglePredecessor() == To && in moveAllAfterMergeBlocks()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Dominators.cpp | 190 if (End->getSinglePredecessor()) in dominates()
|
| H A D | BasicBlock.cpp | 234 const BasicBlock *BasicBlock::getSinglePredecessor() const { in getSinglePredecessor() function in BasicBlock
|