LLVM  8.0.1
Public Types | Public Member Functions | Friends | List of all members
llvm::PassInstrumentationCallbacks Class Reference

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
 

Detailed Description

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.

Member Typedef Documentation

◆ AfterAnalysisFunc

Definition at line 83 of file PassInstrumentation.h.

◆ AfterPassFunc

Definition at line 80 of file PassInstrumentation.h.

◆ AfterPassInvalidatedFunc

Definition at line 81 of file PassInstrumentation.h.

◆ BeforeAnalysisFunc

Definition at line 82 of file PassInstrumentation.h.

◆ BeforePassFunc

Definition at line 79 of file PassInstrumentation.h.

Constructor & Destructor Documentation

◆ PassInstrumentationCallbacks() [1/2]

llvm::PassInstrumentationCallbacks::PassInstrumentationCallbacks ( )
inline

Definition at line 86 of file PassInstrumentation.h.

References operator=().

◆ PassInstrumentationCallbacks() [2/2]

llvm::PassInstrumentationCallbacks::PassInstrumentationCallbacks ( const PassInstrumentationCallbacks )
delete

Copying PassInstrumentationCallbacks is not intended.

Member Function Documentation

◆ operator=()

void llvm::PassInstrumentationCallbacks::operator= ( const PassInstrumentationCallbacks )
delete

◆ registerAfterAnalysisCallback()

template<typename CallableT >
void llvm::PassInstrumentationCallbacks::registerAfterAnalysisCallback ( CallableT  C)
inline

◆ registerAfterPassCallback()

template<typename CallableT >
void llvm::PassInstrumentationCallbacks::registerAfterPassCallback ( CallableT  C)
inline

◆ registerAfterPassInvalidatedCallback()

template<typename CallableT >
void llvm::PassInstrumentationCallbacks::registerAfterPassInvalidatedCallback ( CallableT  C)
inline

◆ registerBeforeAnalysisCallback()

template<typename CallableT >
void llvm::PassInstrumentationCallbacks::registerBeforeAnalysisCallback ( CallableT  C)
inline

◆ registerBeforePassCallback()

template<typename CallableT >
void llvm::PassInstrumentationCallbacks::registerBeforePassCallback ( CallableT  C)
inline

Friends And Related Function Documentation

◆ PassInstrumentation

friend class PassInstrumentation
friend

Definition at line 116 of file PassInstrumentation.h.


The documentation for this class was generated from the following file: