[#llvm-CallGraphAnalysis] = xref:llvm.adoc[llvm]::CallGraphAnalysis :relfileprefix: ../ :mrdocs: An analysis pass to compute the `CallGraph` for a `Module.` == Synopsis Declared in `<llvm/Analysis/CallGraph.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class CallGraphAnalysis : public xref:llvm/AnalysisInfoMixin-0b9.adoc[AnalysisInfoMixin<CallGraphAnalysis>] ---- == Description This class implements the concept of an analysis pass used by the `ModuleAnalysisManager` to run an analysis over a module and cache the resulting data. == Base Classes [cols="1,4"] |=== | Name| Description | `xref:llvm/AnalysisInfoMixin-0b9.adoc[AnalysisInfoMixin<CallGraphAnalysis>]` | A CRTP mix‐in that provides informational APIs needed for analysis passes. |=== == Type Aliases [cols="1,4"] |=== | Name| Description | xref:llvm/CallGraphAnalysis/Result.adoc[`Result`] | A formulaic type to inform clients of the result type. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/CallGraphAnalysis/run.adoc[`run`] | Compute the `CallGraph` for the module `M.` |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/CallGraphAnalysis/ID.adoc[`ID`] | Returns an opaque, unique ID for this analysis type. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:llvm/AnalysisInfoMixin-0b9.adoc[llvm::AnalysisInfoMixin]` | A CRTP mix‐in that provides informational APIs needed for analysis passes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#