MLIR  20.0.0git
Public Member Functions | List of all members
mlir::GenRegistration Struct Reference

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)
 

Detailed Description

GenRegistration provides a global initializer that registers a generator function.

Usage:

// At namespace scope. static GenRegistration Print("print", "Print records", [](...){...});

Definition at line 67 of file GenInfo.h.

Constructor & Destructor Documentation

◆ GenRegistration()

GenRegistration::GenRegistration ( StringRef  arg,
StringRef  description,
const GenFunction function 
)

Definition at line 19 of file GenInfo.cpp.

References generatorRegistry.


The documentation for this struct was generated from the following files: