Home
last modified time | relevance | path

Searched refs:SuccBlock (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DGenericUniformityImpl.h536 bool computeJoin(const BlockT &SuccBlock, const BlockT &PushedLabel) { in computeJoin() argument
537 const auto *OldLabel = BlockLabels[&SuccBlock]; in computeJoin()
539 LLVM_DEBUG(dbgs() << "labeling " << Context.print(&SuccBlock) << ":\n" in computeJoin()
548 if (OldLabel != &SuccBlock) { in computeJoin()
549 auto SuccIdx = CyclePOT.getIndex(&SuccBlock); in computeJoin()
559 BlockLabels[&SuccBlock] = &PushedLabel; in computeJoin()
565 LLVM_DEBUG(dbgs() << "\tnew label: " << Context.print(&SuccBlock) << "\n"); in computeJoin()
566 BlockLabels[&SuccBlock] = &SuccBlock; in computeJoin()
585 bool visitEdge(const BlockT &SuccBlock, const BlockT &Label) { in visitEdge() argument
586 if (!computeJoin(SuccBlock, Label)) in visitEdge()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp261 if (CFGBlock *SuccBlock = *I) { in checkForRecursiveFunctionCall() local
262 if (!Visited.insert(SuccBlock).second) in checkForRecursiveFunctionCall()
266 if (ExitID == SuccBlock->getBlockID()) in checkForRecursiveFunctionCall()
270 if (hasRecursiveCallInPath(FD, *SuccBlock)) { in checkForRecursiveFunctionCall()
275 WorkList.push_back(SuccBlock); in checkForRecursiveFunctionCall()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineSink.cpp1289 for (MachineBasicBlock *SuccBlock : in FindSuccToSinkTo()
1292 if (AllUsesDominatedByBlock(Reg, SuccBlock, MBB, in FindSuccToSinkTo()
1294 SuccToSinkTo = SuccBlock; in FindSuccToSinkTo()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp4825 BasicBlock *SuccBlock = BB->getTerminator()->getSuccessor(0); in tryToSimplifyUncondBranchWithICmpInIt() local
4827 if (PHIUse == nullptr || PHIUse != &SuccBlock->front() || in tryToSimplifyUncondBranchWithICmpInIt()
4866 Builder.CreateBr(SuccBlock); in tryToSimplifyUncondBranchWithICmpInIt()
4869 Updates.push_back({DominatorTree::Insert, NewBB, SuccBlock}); in tryToSimplifyUncondBranchWithICmpInIt()