|
LLVM 23.0.0git
|
The Instrumentor pass. More...
#include "llvm/Transforms/IPO/Instrumentor.h"
Public Member Functions | |
| InstrumentorPass (InstrumentationConfig *IC=nullptr, InstrumentorIRBuilderTy *IIRB=nullptr) | |
Construct an instrumentor pass that will use the instrumentation configuration IC and the IR builder IIRB. | |
| PreservedAnalyses | run (Module &M, ModuleAnalysisManager &MAM) |
| Public Member Functions inherited from llvm::PassInfoMixin< InstrumentorPass > | |
| void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
| Static Public Member Functions inherited from llvm::PassInfoMixin< InstrumentorPass > | |
| static bool | isRequired () |
| Static Public Member Functions inherited from llvm::detail::InfoMixin< InstrumentorPass > | |
| static StringRef | name () |
| Gets the name of the pass we are mixed into. | |
The Instrumentor pass.
Definition at line 681 of file Instrumentor.h.
|
inline |
Construct an instrumentor pass that will use the instrumentation configuration IC and the IR builder IIRB.
If an IR builder is not provided, a default builder is used. When the configuration is not provided, it is read from the config file if available and otherwise a default configuration is used.
Definition at line 698 of file Instrumentor.h.
| PreservedAnalyses InstrumentorPass::run | ( | Module & | M, |
| ModuleAnalysisManager & | MAM ) |
Definition at line 274 of file Instrumentor.cpp.
References assert(), llvm::errs(), MAM, and llvm::verifyModule().