LLVM 22.0.0git
|
A CRTP mix-in to automatically provide informational APIs needed for passes. More...
#include "llvm/IR/PassManager.h"
Inherited by llvm::DOTGraphTraitsPrinter< DominatorTreeAnalysis, true >, llvm::DOTGraphTraitsPrinter< DominatorTreeAnalysis, false >, llvm::DOTGraphTraitsPrinter< PostDominatorTreeAnalysis, true >, llvm::DOTGraphTraitsPrinter< PostDominatorTreeAnalysis, false >, llvm::DOTGraphTraitsViewer< DominatorTreeAnalysis, true >, llvm::DOTGraphTraitsViewer< DominatorTreeAnalysis, false >, llvm::DOTGraphTraitsViewer< PostDominatorTreeAnalysis, true >, llvm::DOTGraphTraitsViewer< PostDominatorTreeAnalysis, false >, llvm::PassManager< LazyCallGraph::SCC, CGSCCAnalysisManager, LazyCallGraph &, CGSCCUpdateResult & >, llvm::PassManager< MachineFunction >, llvm::PassManager< Module >, llvm::PassManager< Function >, , llvm::RequireAnalysisPass< AnalysisT, LazyCallGraph::SCC, CGSCCAnalysisManager, LazyCallGraph &, CGSCCUpdateResult & >, , llvm::AnalysisInfoMixin< DerivedT >, llvm::DOTGraphTraitsPrinter< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >, llvm::DOTGraphTraitsViewer< AnalysisT, IsSimple, GraphT, AnalysisGraphTraitsT >, llvm::MachineLICMBasePass< DerivedT, PreRegAlloc >, and llvm::PassManager< IRUnitT, AnalysisManagerT, ExtraArgTs >.
Public Member Functions | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static StringRef | name () |
Gets the name of the pass we are mixed into. |
A CRTP mix-in to automatically provide informational APIs needed for passes.
This provides some boilerplate for types that are passes.
Definition at line 70 of file PassManager.h.
|
inlinestatic |
Gets the name of the pass we are mixed into.
Definition at line 72 of file PassManager.h.
References llvm::getTypeName().
|
inline |
Definition at line 80 of file PassManager.h.
References PassName.
Referenced by llvm::LintPass::printPipeline().