[#llvm-CFGViewerPass] = xref:llvm.adoc[llvm]::CFGViewerPass :relfileprefix: ../ :mrdocs: Pass that displays a function CFG in a Graphviz viewer. == Synopsis Declared in `<llvm/Analysis/CFGPrinter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class CFGViewerPass : public xref:llvm/RequiredPassInfoMixin-047.adoc[RequiredPassInfoMixin<CFGViewerPass>] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:llvm/RequiredPassInfoMixin-047.adoc[RequiredPassInfoMixin<CFGViewerPass>]` | A CRTP mix‐in for passes that should not be skipped. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/CFGViewerPass/run.adoc[`run`] | Display the function CFG in a viewer, including basic‐block contents. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/CFGViewerPass/isRequired.adoc[`isRequired`] | Return true; required passes cannot be skipped. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#