MLIR  20.0.0git
Public Member Functions | List of all members
mlir::tblgen::ExtraClassDeclaration Class Reference

Unstructured extra class declarations and definitions, from TableGen definitions. More...

#include "mlir/TableGen/Class.h"

+ Inheritance diagram for mlir::tblgen::ExtraClassDeclaration:

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)
 

Detailed Description

Unstructured extra class declarations and definitions, from TableGen definitions.

The default visibility of extra class declarations is up to the owning class.

Definition at line 614 of file Class.h.

Constructor & Destructor Documentation

◆ ExtraClassDeclaration() [1/2]

mlir::tblgen::ExtraClassDeclaration::ExtraClassDeclaration ( StringRef  extraClassDeclaration,
std::string  extraClassDefinition = "" 
)
inline

Create an extra class declaration.

Definition at line 618 of file Class.h.

◆ ExtraClassDeclaration() [2/2]

mlir::tblgen::ExtraClassDeclaration::ExtraClassDeclaration ( std::string  extraClassDeclaration,
std::string  extraClassDefinition = "" 
)
inline

Definition at line 623 of file Class.h.

Member Function Documentation

◆ writeDeclTo()

void mlir::tblgen::ExtraClassDeclaration::writeDeclTo ( raw_indented_ostream os) const
overridevirtual

Write the extra class declarations.

Implements mlir::tblgen::ClassDeclaration.

◆ writeDefTo()

void mlir::tblgen::ExtraClassDeclaration::writeDefTo ( raw_indented_ostream os,
StringRef  namePrefix 
) const
overridevirtual

Write the extra class definitions.

Reimplemented from mlir::tblgen::ClassDeclaration.


The documentation for this class was generated from the following file: