MLIR: mlir::PassRegistration< ConcretePass > Struct Template Reference (original) (raw)

PassRegistration provides a global initializer that registers a Pass allocation routine for a concrete pass instance. More...

template

struct mlir::PassRegistration< ConcretePass >

PassRegistration provides a global initializer that registers a Pass allocation routine for a concrete pass instance.

The argument is optional and provides a callback to construct a pass that does not have a default constructor.

Usage:

/// At namespace scope. static PassRegistration reg;

Definition at line 155 of file PassRegistry.h.