RAII helper that registers a PassConfigCallback in the global registry.

Synopsis

Declared in <llvm/Target/RegisterTargetPassConfigCallback.h>

class RegisterTargetPassConfigCallback;

Description

Constructing an instance adds Callback to the list invoked by invokeGlobalTargetPassConfigCallbacks; destruction removes it.

Member Functions

Name

Description

RegisterTargetPassConfigCallback [constructor]

Constructors

~RegisterTargetPassConfigCallback [destructor]

Unregister this callback from the global TargetPassConfig callback list.

operator= [deleted]

Copy assignment is deleted; each registration owns a unique slot.

Data Members

Name

Description

Callback

The callback invoked when configuring a target pass pipeline.

Created with MrDocs