MLIR
20.0.0git
|
GenRegistration provides a global initializer that registers a generator function. More...
#include "mlir/TableGen/GenInfo.h"
Public Member Functions | |
GenRegistration (StringRef arg, StringRef description, const GenFunction &function) | |
GenRegistration provides a global initializer that registers a generator function.
Usage:
// At namespace scope. static GenRegistration Print("print", "Print records", [](...){...});
GenRegistration::GenRegistration | ( | StringRef | arg, |
StringRef | description, | ||
const GenFunction & | function | ||
) |
Definition at line 19 of file GenInfo.cpp.
References generatorRegistry.