Pass mixin that writes an analysis graph for a function to a DOT file.
Declared in <llvm/Analysis/DOTGraphTraitsPass.h>
template<
typename AnalysisT,
bool IsSimple,
typename GraphT = AnalysisT::Result*,
typename AnalysisGraphTraitsT = DefaultAnalysisGraphTraits<AnalysisT::Result&, GraphT>>
struct DOTGraphTraitsPrinter
: RequiredPassInfoMixin<DOTGraphTraitsPrinter<AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT>>
| Name | Description |
|---|---|
RequiredPassInfoMixin<DOTGraphTraitsPrinter<AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT>> | A CRTP mix-in for passes that should not be skipped. |
| Name | Description |
|---|---|
DOTGraphTraitsPrinter [constructor] | Construct a printer pass with the given graph name. |
printPipeline | Print this pass as a single name in a textual pipeline. |
processFunction [virtual] | Return true if this function should be processed. |
run | Write the analysis graph for F to a DOT file. |
| Name | Description |
|---|---|
isRequired | Return true; required passes cannot be skipped. |
| Name | Description |
|---|---|
~DOTGraphTraitsPrinter [destructor] | Avoid compiler warning "has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]" in derived classes. |
| Name | Description |
|---|---|
DomOnlyPrinter | Pass that writes a function dominator tree to a DOT file without block bodies. |
DomPrinter | Pass that writes a function dominator tree to a DOT file. |
PostDomOnlyPrinter | Pass that writes a function post-dominator tree without block bodies. |
PostDomPrinter | Pass that writes a function post-dominator tree to a DOT file. |