MLIR
20.0.0git
|
Unstructured extra class declarations and definitions, from TableGen definitions. More...
#include "mlir/TableGen/Class.h"
Public Member Functions | |
ExtraClassDeclaration (StringRef extraClassDeclaration, std::string extraClassDefinition="") | |
Create an extra class declaration. More... | |
ExtraClassDeclaration (std::string extraClassDeclaration, std::string extraClassDefinition="") | |
void | writeDeclTo (raw_indented_ostream &os) const override |
Write the extra class declarations. More... | |
void | writeDefTo (raw_indented_ostream &os, StringRef namePrefix) const override |
Write the extra class definitions. More... | |
Public Member Functions inherited from mlir::tblgen::ClassDeclarationBase< ClassDeclaration::ExtraClassDeclaration > | |
ClassDeclarationBase () | |
Public Member Functions inherited from mlir::tblgen::ClassDeclaration | |
virtual | ~ClassDeclaration ()=default |
ClassDeclaration (Kind kind) | |
Create a class declaration with a given kind. More... | |
Kind | getKind () const |
Get the class declaration kind. More... | |
Additional Inherited Members | |
Public Types inherited from mlir::tblgen::ClassDeclarationBase< ClassDeclaration::ExtraClassDeclaration > | |
using | Base = ClassDeclarationBase< DeclKind > |
Public Types inherited from mlir::tblgen::ClassDeclaration | |
enum | Kind { Method , UsingDeclaration , VisibilityDeclaration , Field , ExtraClassDeclaration } |
Kinds for LLVM-style RTTI. More... | |
Static Public Member Functions inherited from mlir::tblgen::ClassDeclarationBase< ClassDeclaration::ExtraClassDeclaration > | |
static bool | classof (const ClassDeclaration *other) |
Unstructured extra class declarations and definitions, from TableGen definitions.
The default visibility of extra class declarations is up to the owning class.
|
inline |
|
inline |
|
overridevirtual |
Write the extra class declarations.
Implements mlir::tblgen::ClassDeclaration.
|
overridevirtual |
Write the extra class definitions.
Reimplemented from mlir::tblgen::ClassDeclaration.