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 |
|
Constructors |
|
Unregister this callback from the global TargetPassConfig callback list. |
|
Copy assignment is deleted; each registration owns a unique slot. |