My Project
|
#include <PassRegistry.h>
Public Member Functions | |
PassRegistration (StringRef arg, StringRef description, const PassAllocatorFunction &constructor) | |
PassRegistration (StringRef arg, StringRef description) | |
PassRegistration provides a global initializer that registers a Pass allocation routine for a concrete pass instance. The third argument is optional and provides a callback to construct a pass that does not have a default constructor.
Usage:
/// At namespace scope. static PassRegistration<MyPass> reg("my-pass", "My Pass Description.");
|
inline |
|
inline |