Home
last modified time | relevance | path

Searched refs:scc_iterator (Results 1 – 17 of 17) sorted by relevance

/llvm-project/llvm/include/llvm/ADT/
H A DSCCIterator.h47 class scc_iterator : public iterator_facade_base<
48 scc_iterator<GraphT, GT>, std::forward_iterator_tag,
53 using reference = typename scc_iterator::reference;
97 scc_iterator(NodeRef entryN) : visitNum(0) { in scc_iterator() function
103 scc_iterator() = default;
106 static scc_iterator begin(const GraphT &G) { in begin()
107 return scc_iterator(GT::getEntryNode(G)); in begin()
109 static scc_iterator end(const GraphT &) { return scc_iterator(); } in end()
118 bool operator==(const scc_iterator &x) const {
122 scc_iterator &operator++() {
[all …]
/llvm-project/llvm/lib/Analysis/
H A DCFGSCCPrinter.cpp19 for (scc_iterator<Function *> SCCI = scc_begin(&F); !SCCI.isAtEnd(); ++SCCI) { in run()
H A DCallGraphSCCPass.cpp505 scc_iterator<CallGraph*> CGI = scc_begin(&CG); in runOnModule()
596 // Update the active scc_iterator so that it doesn't contain dangling in ReplaceNode()
598 scc_iterator<CallGraph*> *CGI = (scc_iterator<CallGraph*>*)Context; in ReplaceNode()
H A DCallGraph.cpp317 for (scc_iterator<CallGraph *> SCCI = scc_begin(&CG); !SCCI.isAtEnd(); in run()
H A DGlobalsModRef.cpp480 for (scc_iterator<CallGraph *> I = scc_begin(&CG); !I.isAtEnd(); ++I) { in CollectSCCMembership()
498 for (scc_iterator<CallGraph *> I = scc_begin(&CG); !I.isAtEnd(); ++I) { in AnalyzeCallGraph()
H A DBranchProbabilityInfo.cpp221 for (scc_iterator<const Function *> It = scc_begin(&F); !It.isAtEnd(); in SccInfo()
/llvm-project/llvm/unittests/ADT/
H A DSCCIteratorTest.cpp51 for (scc_iterator<GT> I = scc_begin(G), E = scc_end(G); I != E; ++I) { in TEST()
/llvm-project/mlir/lib/Transforms/Utils/
H A DInliner.cpp259 CallGraphSCC(llvm::scc_iterator<const CallGraph *> &parentIterator) in CallGraphSCC()
279 llvm::scc_iterator<const CallGraph *> &parentIterator;
288 llvm::scc_iterator<const CallGraph *> cgi = llvm::scc_begin(&cg); in runTransformOnCGSCCs()
/llvm-project/clang-tools-extra/clang-tidy/misc/
H A DNoRecursionCheck.cpp262 for (llvm::scc_iterator<CallGraph *> SCCI = llvm::scc_begin(&CG), in check()
/llvm-project/llvm/tools/llvm-profgen/
H A DCSPreInliner.cpp88 scc_iterator<ProfiledCallGraph *> I = scc_begin(&ProfiledCG); in buildTopDownOrder()
/llvm-project/clang-tools-extra/clang-tidy/bugprone/
H A DInfiniteLoopCheck.cpp262 for (llvm::scc_iterator<CallGraph *> SCCI = llvm::scc_begin(&CG), in hasRecursionOverStaticLoopCondVariables()
/llvm-project/llvm/lib/IR/
H A DModuleSummaryIndex.cpp379 for (scc_iterator<ModuleSummaryIndex *> I = in dumpSCCs()
/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp482 for (scc_iterator<ModuleSummaryIndex *> I = scc_begin(&Index); !I.isAtEnd(); in thinLTOPropagateFunctionAttrs()
1274 for (scc_iterator<ArgumentGraph *> I = scc_begin(&AG); !I.isAtEnd(); ++I) { in addNonNullAttrs()
H A DSampleProfile.cpp1932 scc_iterator<ProfiledCallGraph *> CGI = scc_begin(ProfiledCG.get()); in buildFunctionOrder()
H A DAttributorAttributes.cpp3294 // We use scc_iterator which uses Tarjan algorithm to find all the maximal in isImpliedByMustprogressAndReadonly()
3297 for (scc_iterator<Function *> SCCI = scc_begin(&F); !SCCI.isAtEnd(); ++SCCI) in updateImpl()
/llvm-project/llvm/lib/Transforms/Scalar/
H A DStructurizeCFG.cpp438 scc_iterator<SubGraphTraits::NodeRef, SubGraphTraits>::begin( in analyzeLoops()
/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600MachineCFGStructurizer.cpp850 for (scc_iterator<MachineFunction *> It = scc_begin(MF); !It.isAtEnd(); in orderBlocks()