My Project
|
#include <GenInfo.h>
Public Member Functions | |
GenInfo (StringRef arg, StringRef description, GenFunction generator) | |
bool | invoke (const llvm::RecordKeeper &recordKeeper, raw_ostream &os) const |
Invokes the generator and returns whether the generator failed. More... | |
StringRef | getGenArgument () const |
StringRef | getGenDescription () const |
Returns a description for the generator. More... | |
Structure to group information about a generator (argument to invoke via mlir-tblgen, description, and generator function).
|
inline |
GenInfo constructor should not be invoked directly, instead use GenRegistration or registerGen.
|
inline |
Returns the command line option that may be passed to 'mlir-tblgen' to invoke this generator.
|
inline |
Returns a description for the generator.
|
inline |
Invokes the generator and returns whether the generator failed.