LLVM
8.0.1
|
This class manages callbacks registration, as well as provides a way for PassInstrumentation to pass control to the registered callbacks. More...
#include "llvm/IR/PassInstrumentation.h"
Public Types | |
using | BeforePassFunc = bool(StringRef, Any) |
using | AfterPassFunc = void(StringRef, Any) |
using | AfterPassInvalidatedFunc = void(StringRef) |
using | BeforeAnalysisFunc = void(StringRef, Any) |
using | AfterAnalysisFunc = void(StringRef, Any) |
Public Member Functions | |
PassInstrumentationCallbacks () | |
PassInstrumentationCallbacks (const PassInstrumentationCallbacks &)=delete | |
Copying PassInstrumentationCallbacks is not intended. More... | |
void | operator= (const PassInstrumentationCallbacks &)=delete |
template<typename CallableT > | |
void | registerBeforePassCallback (CallableT C) |
template<typename CallableT > | |
void | registerAfterPassCallback (CallableT C) |
template<typename CallableT > | |
void | registerAfterPassInvalidatedCallback (CallableT C) |
template<typename CallableT > | |
void | registerBeforeAnalysisCallback (CallableT C) |
template<typename CallableT > | |
void | registerAfterAnalysisCallback (CallableT C) |
Friends | |
class | PassInstrumentation |
This class manages callbacks registration, as well as provides a way for PassInstrumentation to pass control to the registered callbacks.
Definition at line 69 of file PassInstrumentation.h.
using llvm::PassInstrumentationCallbacks::AfterAnalysisFunc = void(StringRef, Any) |
Definition at line 83 of file PassInstrumentation.h.
using llvm::PassInstrumentationCallbacks::AfterPassFunc = void(StringRef, Any) |
Definition at line 80 of file PassInstrumentation.h.
Definition at line 81 of file PassInstrumentation.h.
using llvm::PassInstrumentationCallbacks::BeforeAnalysisFunc = void(StringRef, Any) |
Definition at line 82 of file PassInstrumentation.h.
Definition at line 79 of file PassInstrumentation.h.
|
inline |
Definition at line 86 of file PassInstrumentation.h.
References operator=().
|
delete |
Copying PassInstrumentationCallbacks is not intended.
|
delete |
Referenced by PassInstrumentationCallbacks().
|
inline |
Definition at line 111 of file PassInstrumentation.h.
References llvm::SmallVectorImpl< T >::emplace_back().
Referenced by llvm::TimePassesHandler::registerCallbacks().
|
inline |
Definition at line 96 of file PassInstrumentation.h.
References llvm::SmallVectorImpl< T >::emplace_back().
Referenced by llvm::PrintIRInstrumentation::registerCallbacks(), and llvm::TimePassesHandler::registerCallbacks().
|
inline |
Definition at line 101 of file PassInstrumentation.h.
References llvm::SmallVectorImpl< T >::emplace_back().
Referenced by llvm::PrintIRInstrumentation::registerCallbacks(), and llvm::TimePassesHandler::registerCallbacks().
|
inline |
Definition at line 106 of file PassInstrumentation.h.
References llvm::SmallVectorImpl< T >::emplace_back().
Referenced by llvm::TimePassesHandler::registerCallbacks().
|
inline |
Definition at line 92 of file PassInstrumentation.h.
References llvm::SmallVectorImpl< T >::emplace_back().
Referenced by llvm::PrintIRInstrumentation::registerCallbacks(), and llvm::TimePassesHandler::registerCallbacks().
|
friend |
Definition at line 116 of file PassInstrumentation.h.