struct PassRegistrationListener

Declaration

struct PassRegistrationListener { /* full declaration omitted */ };

Description

PassRegistrationListener class - This class is meant to be derived from by clients that are interested in which passes get registered and unregistered at runtime (which can be because of the RegisterPass constructors being run as the program starts up, or may be because a shared object just got loaded).

Declared at: llvm/include/llvm/PassSupport.h:200

Method Overview

Methods

PassRegistrationListener()

Declared at: llvm/include/llvm/PassSupport.h:201

void enumeratePasses()

Description

enumeratePasses - Iterate over the registered passes, calling the passEnumerate callback on each PassInfo object.

Declared at: llvm/include/llvm/PassSupport.h:210

virtual void passEnumerate(const llvm::PassInfo*)

Description

passEnumerate - Callback function invoked when someone calls enumeratePasses on this PassRegistrationListener object.

Declared at: llvm/include/llvm/PassSupport.h:214

Parameters

const llvm::PassInfo*

virtual void passRegistered(const llvm::PassInfo*)

Description

Callback functions - These functions are invoked whenever a pass is loaded or removed from the current executable.

Declared at: llvm/include/llvm/PassSupport.h:206

Parameters

const llvm::PassInfo*

virtual ~PassRegistrationListener()

Declared at: llvm/include/llvm/PassSupport.h:202