|
LLVM 24.0.0git
|
A CRTP mix-in to automatically provide informational APIs needed for passes. More...
#include "llvm/IR/PassManager.h"
Inherits llvm::detail::InfoMixin< DerivedT >.
Inherited by llvm::OptionalPassInfoMixin< DerivedT >, and llvm::RequiredPassInfoMixin< DerivedT >.
Public Member Functions | |
| void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
| static bool | isRequired () |
| Static Public Member Functions inherited from llvm::detail::InfoMixin< DerivedT > | |
| 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.
Actual passes should inherit from RequiredPassInfoMixin or OptionalPassInfoMixin.
Definition at line 81 of file PassManager.h.
|
inlinestatic |
Definition at line 90 of file PassManager.h.
|
inline |
Definition at line 82 of file PassManager.h.
References PassName.