| /src/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SpeculativeExecution.cpp | 184 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 D | MergedLoadStoreMotion.cpp | 146 if (!Succ0->getSinglePredecessor()) in isDiamondHead() 148 if (!Succ1->getSinglePredecessor()) in isDiamondHead()
|
| H A D | JumpThreading.cpp | 177 auto *SinglePredBB = PredBB->getSinglePredecessor(); in updatePredecessorProfileMetadata() 1164 BasicBlock *CurrentPred = BB->getSinglePredecessor(); in processImpliedCondition() 1205 CurrentPred = CurrentBB->getSinglePredecessor(); in processImpliedCondition() 1230 if (LoadBB->getSinglePredecessor()) in simplifyPartiallyRedundantLoad() 1326 SinglePredBB = SinglePredBB->getSinglePredecessor(); in simplifyPartiallyRedundantLoad() 1503 BasicBlock *PredBB = BB->getSinglePredecessor(); in evaluateOnPredecessorEdge() 1890 BasicBlock *SinglePred = BB->getSinglePredecessor(); in maybeMergeBasicBlockIntoOnlyPred() 2143 BasicBlock *PredBB = BB->getSinglePredecessor(); in maybethreadThroughTwoBasicBlocks() 2156 if (PredBB->getSinglePredecessor()) in maybethreadThroughTwoBasicBlocks() 3035 auto *Parent = Pred1->getSinglePredecessor(); in processGuards() [all …]
|
| H A D | CallSiteSplitting.cpp | 157 while (To != StopAt && !Visited.count(From->getSinglePredecessor()) && in recordConditions() 158 (From = From->getSinglePredecessor())) { in recordConditions()
|
| H A D | GVN.cpp | 1218 for (BasicBlock *BB = FromBB; BB; BB = BB->getSinglePredecessor()) in findDominatingValue() 1443 if (!SuccBB->getSinglePredecessor()) in findLoadToHoistIntoPred() 1594 while (TmpBB->getSinglePredecessor()) { in PerformLoadPRE() 1595 TmpBB = TmpBB->getSinglePredecessor(); in PerformLoadPRE() 1743 LoadPtr = Address.translateWithInsertion(Cur, Cur->getSinglePredecessor(), in PerformLoadPRE() 1749 Cur = Cur->getSinglePredecessor(); in PerformLoadPRE() 2417 const BasicBlock *Pred = E.getEnd()->getSinglePredecessor(); in isOnlyReachableViaThisEdge() 3316 if (!DeadRoot->getSinglePredecessor()) in processFoldableCondBr()
|
| H A D | LoopDistribute.cpp | 439 BasicBlock *Pred = OrigPH->getSinglePredecessor(); in cloneLoops() 805 if (!PH->getSinglePredecessor() || &*PH->begin() != PH->getTerminator()) in processLoop()
|
| H A D | LowerExpectIntrinsic.cpp | 201 BB = BB->getSinglePredecessor(); in handlePhiDef()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | MatrixUtils.cpp | 96 ColumnLoop.Header = ColBody->getSinglePredecessor(); in CreateTiledLoops() 97 RowLoop.Header = RowBody->getSinglePredecessor(); in CreateTiledLoops() 98 KLoop.Header = InnerBody->getSinglePredecessor(); in CreateTiledLoops()
|
| H A D | DemoteRegToStack.cpp | 47 if (!II->getNormalDest()->getSinglePredecessor()) { in DemoteRegToStack() 57 if (!Succ->getSinglePredecessor()) { in DemoteRegToStack()
|
| H A D | FlattenCFG.cpp | 155 BasicBlock *PP = Pred->getSinglePredecessor(); in FlattenParallelAndOr() 251 CurrBlock = CurrBlock->getSinglePredecessor()) { in FlattenParallelAndOr()
|
| H A D | SimplifyCFG.cpp | 1607 if (Succ->hasAddressTaken() || !Succ->getSinglePredecessor()) in hoistCommonCodeFromSuccessors() 4103 for (auto &I : *QFB->getSinglePredecessor()) in mergeConditionalStoreToAddress() 4167 BasicBlock *TruePred = QTB ? QTB : QFB->getSinglePredecessor(); in mergeConditionalStoreToAddress() 4177 Value *PCond = cast<BranchInst>(PFB->getSinglePredecessor()->getTerminator()) in mergeConditionalStoreToAddress() 4179 Value *QCond = cast<BranchInst>(QFB->getSinglePredecessor()->getTerminator()) in mergeConditionalStoreToAddress() 4287 return BB->getSinglePredecessor() == P && BB->getSingleSuccessor() == S; in mergeConditionalStores() 4343 !BI->getParent()->getSinglePredecessor()) in tryWidenCondBranchToCondBranch() 4404 if (BB->getSinglePredecessor()) { in SimplifyCondBranchToCondBranch() 4783 BasicBlock *Pred = BB->getSinglePredecessor(); in tryToSimplifyUncondBranchWithICmpInIt() 5259 if (UnwindDest->getSinglePredecessor() != RI->getParent()) in mergeCleanupPad() [all …]
|
| H A D | LoopRotationUtils.cpp | 531 assert(NewHeader->getSinglePredecessor() && in rotateLoop() 1024 BasicBlock *LastExit = Latch->getSinglePredecessor(); in simplifyLoopLatch()
|
| H A D | PredicateInfo.cpp | 463 if (!Succ->getSinglePredecessor()) in processBranch() 491 if (!TargetBlock->getSinglePredecessor()) in processSwitch()
|
| H A D | LibCallsShrinkWrap.cpp | 482 LLVM_DEBUG(dbgs() << *CallBB->getSinglePredecessor() << *CallBB in shrinkWrapCI()
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | HardwareLoops.cpp | 403 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()
|
| /src/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86LowerAMXIntrinsics.cpp | 172 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()
|
| /src/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFAdjustOpt.cpp | 213 BasicBlock *B2 = BB.getSinglePredecessor(); in serializeICMPCrossBB() 217 BasicBlock *B1 = B2->getSinglePredecessor(); in serializeICMPCrossBB()
|
| /src/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | BasicBlock.h | 385 const BasicBlock *getSinglePredecessor() const; 386 BasicBlock *getSinglePredecessor() { in getSinglePredecessor() function 388 static_cast<const BasicBlock *>(this)->getSinglePredecessor()); in getSinglePredecessor()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARC.cpp | 58 if (!DestBB->getSinglePredecessor()) { in insertAfterInvokes()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanHCFGBuilder.cpp | 86 auto *SinglePred = BB->getSinglePredecessor(); in setVPBBPredsFromBB() 342 cast<VPBasicBlock>(TheRegion->getSinglePredecessor()); in buildPlainCFG()
|
| H A D | VPlanVerifier.cpp | 167 IRBB->getSinglePredecessor() != MiddleBB) { in verifyVPBasicBlock()
|
| /src/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVETailPredication.cpp | 166 if (!Preheader->getSinglePredecessor()) in runOnLoop() 168 Setup = FindLoopIterations(Preheader->getSinglePredecessor()); in runOnLoop()
|
| /src/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineBasicBlock.h | 836 const MachineBasicBlock *getSinglePredecessor() const; 837 MachineBasicBlock *getSinglePredecessor() { 839 static_cast<const MachineBasicBlock *>(this)->getSinglePredecessor());
|
| /src/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Dominators.cpp | 211 if (End->getSinglePredecessor()) in dominates()
|
| H A D | BasicBlock.cpp | 457 const BasicBlock *BasicBlock::getSinglePredecessor() const { in getSinglePredecessor() function in BasicBlock 612 assert((!isa<PHINode>(*I) || getSinglePredecessor()) && in splitBasicBlockBefore()
|