Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSpeculativeExecution.cpp184 if (Succ0.getSinglePredecessor() != nullptr && in runOnBasicBlock()
190 if (Succ1.getSinglePredecessor() != nullptr && in runOnBasicBlock()
197 if (Succ0.getSinglePredecessor() != nullptr && in runOnBasicBlock()
198 Succ1.getSinglePredecessor() != nullptr && in runOnBasicBlock()
H A DMergedLoadStoreMotion.cpp146 if (!Succ0->getSinglePredecessor()) in isDiamondHead()
148 if (!Succ1->getSinglePredecessor()) in isDiamondHead()
H A DJumpThreading.cpp177 auto *SinglePredBB = PredBB->getSinglePredecessor(); in updatePredecessorProfileMetadata()
1177 BasicBlock *CurrentPred = BB->getSinglePredecessor(); in processImpliedCondition()
1218 CurrentPred = CurrentBB->getSinglePredecessor(); in processImpliedCondition()
1243 if (LoadBB->getSinglePredecessor()) in simplifyPartiallyRedundantLoad()
1337 SinglePredBB = SinglePredBB->getSinglePredecessor(); in simplifyPartiallyRedundantLoad()
1516 BasicBlock *PredBB = BB->getSinglePredecessor(); in evaluateOnPredecessorEdge()
1901 BasicBlock *SinglePred = BB->getSinglePredecessor(); in maybeMergeBasicBlockIntoOnlyPred()
2154 BasicBlock *PredBB = BB->getSinglePredecessor(); in maybethreadThroughTwoBasicBlocks()
2167 if (PredBB->getSinglePredecessor()) in maybethreadThroughTwoBasicBlocks()
3042 auto *Parent = Pred1->getSinglePredecessor(); in processGuards()
[all …]
H A DCallSiteSplitting.cpp157 while (To != StopAt && !Visited.count(From->getSinglePredecessor()) && in recordConditions()
158 (From = From->getSinglePredecessor())) { in recordConditions()
H A DGVN.cpp1153 for (BasicBlock *BB = FromBB; BB; BB = BB->getSinglePredecessor()) in findDominatingValue()
1378 if (!SuccBB->getSinglePredecessor()) in findLoadToHoistIntoPred()
1529 while (TmpBB->getSinglePredecessor()) { in PerformLoadPRE()
1530 TmpBB = TmpBB->getSinglePredecessor(); in PerformLoadPRE()
1678 LoadPtr = Address.translateWithInsertion(Cur, Cur->getSinglePredecessor(), in PerformLoadPRE()
1684 Cur = Cur->getSinglePredecessor(); in PerformLoadPRE()
2359 const BasicBlock *Pred = E.getEnd()->getSinglePredecessor(); in isOnlyReachableViaThisEdge()
3256 if (!DeadRoot->getSinglePredecessor()) in processFoldableCondBr()
H A DLoopDistribute.cpp440 BasicBlock *Pred = OrigPH->getSinglePredecessor(); in cloneLoops()
802 if (!PH->getSinglePredecessor() || &*PH->begin() != PH->getTerminator()) in processLoop()
H A DLowerExpectIntrinsic.cpp201 BB = BB->getSinglePredecessor(); in handlePhiDef()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMatrixUtils.cpp96 ColumnLoop.Header = ColBody->getSinglePredecessor(); in CreateTiledLoops()
97 RowLoop.Header = RowBody->getSinglePredecessor(); in CreateTiledLoops()
98 KLoop.Header = InnerBody->getSinglePredecessor(); in CreateTiledLoops()
H A DFlattenCFG.cpp155 BasicBlock *PP = Pred->getSinglePredecessor(); in FlattenParallelAndOr()
251 CurrBlock = CurrBlock->getSinglePredecessor()) { in FlattenParallelAndOr()
H A DDemoteRegToStack.cpp46 if (!II->getNormalDest()->getSinglePredecessor()) { in DemoteRegToStack()
H A DSimplifyCFG.cpp4035 for (auto &I : *QFB->getSinglePredecessor()) in mergeConditionalStoreToAddress()
4275 !BI->getParent()->getSinglePredecessor()) in tryWidenCondBranchToCondBranch()
4336 if (BB->getSinglePredecessor()) { in SimplifyCondBranchToCondBranch()
4714 BasicBlock *Pred = BB->getSinglePredecessor(); in tryToSimplifyUncondBranchWithICmpInIt()
5660 if (!BB->getSinglePredecessor()) in FindPHIForConditionForwarding()
7007 if (BasicBlock *OnlyPred = BB->getSinglePredecessor()) in simplifySwitch()
7252 BasicBlock *PPred = P->getSinglePredecessor(); in allPredecessorsComeFromSameSource()
7276 if (BasicBlock *OnlyPred = BB->getSinglePredecessor()) in simplifyCondBranch()
7322 if (BI->getSuccessor(0)->getSinglePredecessor()) { in simplifyCondBranch()
7323 if (BI->getSuccessor(1)->getSinglePredecessor()) { in simplifyCondBranch()
[all …]
H A DLoopRotationUtils.cpp521 assert(NewHeader->getSinglePredecessor() && in rotateLoop()
995 BasicBlock *LastExit = Latch->getSinglePredecessor(); in simplifyLoopLatch()
H A DPredicateInfo.cpp463 if (!Succ->getSinglePredecessor()) in processBranch()
493 if (!TargetBlock->getSinglePredecessor()) in processSwitch()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp403 if (!Preheader->getSinglePredecessor()) in CanGenerateTest()
406 BasicBlock *Pred = Preheader->getSinglePredecessor(); in CanGenerateTest()
468 if (UseLoopGuard && BB->getSinglePredecessor() && in InitLoopCount()
470 BasicBlock *Predecessor = BB->getSinglePredecessor(); in InitLoopCount()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LowerAMXIntrinsics.cpp172 BasicBlock *ColLoopHeader = ColBody->getSinglePredecessor(); in createTileLoadStoreLoops()
173 BasicBlock *RowLoopHeader = RowBody->getSinglePredecessor(); in createTileLoadStoreLoops()
292 BasicBlock *ColLoopHeader = ColBody->getSinglePredecessor(); in createTileDPLoops()
293 BasicBlock *RowLoopHeader = RowBody->getSinglePredecessor(); in createTileDPLoops()
294 BasicBlock *InnerLoopHeader = InnerBody->getSinglePredecessor(); in createTileDPLoops()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAdjustOpt.cpp213 BasicBlock *B2 = BB.getSinglePredecessor(); in serializeICMPCrossBB()
217 BasicBlock *B1 = B2->getSinglePredecessor(); in serializeICMPCrossBB()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DBasicBlock.h384 const BasicBlock *getSinglePredecessor() const;
385 BasicBlock *getSinglePredecessor() { in getSinglePredecessor() function
387 static_cast<const BasicBlock *>(this)->getSinglePredecessor()); in getSinglePredecessor()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanHCFGBuilder.cpp86 auto *SinglePred = BB->getSinglePredecessor(); in setVPBBPredsFromBB()
343 cast<VPBasicBlock>(TheRegion->getSinglePredecessor()); in buildPlainCFG()
H A DVPlanTransforms.cpp376 dyn_cast_or_null<VPBasicBlock>(VPBB->getSinglePredecessor()); in mergeBlocksIntoPredecessors()
382 VPBasicBlock *PredVPBB = cast<VPBasicBlock>(VPBB->getSinglePredecessor()); in mergeBlocksIntoPredecessors()
1071 auto *VecPreheader = cast<VPBasicBlock>(TopRegion->getSinglePredecessor()); in addVPLaneMaskPhiAndUpdateExitBranch()
H A DVPlan.cpp250 Plan->getVectorLoopRegion()->getSinglePredecessor())]; in get()
961 assert(PostDomSucc->getSinglePredecessor() && in updateDominatorTree()
973 assert(InterimSucc->getSinglePredecessor() && in updateDominatorTree()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.cpp58 if (!DestBB->getSinglePredecessor()) { in insertAfterInvokes()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp166 if (!Preheader->getSinglePredecessor()) in runOnLoop()
168 Setup = FindLoopIterations(Preheader->getSinglePredecessor()); in runOnLoop()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineBasicBlock.h813 const MachineBasicBlock *getSinglePredecessor() const;
814 MachineBasicBlock *getSinglePredecessor() {
816 static_cast<const MachineBasicBlock *>(this)->getSinglePredecessor());
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDominators.cpp211 if (End->getSinglePredecessor()) in dominates()
H A DBasicBlock.cpp489 const BasicBlock *BasicBlock::getSinglePredecessor() const { in getSinglePredecessor() function in BasicBlock
644 assert((!isa<PHINode>(*I) || getSinglePredecessor()) && in splitBasicBlockBefore()

123