MLIR 24.0.0git
mlir::tblgen::Interface Class Reference

#include "mlir/TableGen/Interfaces.h"

Inheritance diagram for mlir::tblgen::Interface:

Public Member Functions

 Interface (const llvm::Record *def)
 Interface (const Interface &rhs)
StringRef getName () const
std::string getFullyQualifiedName () const
StringRef getCppNamespace () const
std::vector< StringRef > getCppIncludes () const
ArrayRef< InterfaceMethod > getMethods () const
std::optional< StringRef > getDescription () const
std::optional< StringRef > getExtraClassDeclaration () const
std::optional< StringRef > getExtraTraitClassDeclaration () const
std::optional< StringRef > getExtraSharedClassDeclaration () const
std::optional< StringRef > getExtraClassOf () const
std::optional< StringRef > getVerify () const
auto getBaseInterfaces () const
bool verifyWithRegions () const
const llvm::Record & getDef () const

Detailed Description

Definition at line 88 of file Interfaces.h.

Constructor & Destructor Documentation

◆ Interface() [1/2]

mlir::tblgen::Interface::Interface ( const llvm::Record * def)
explicit

Referenced by Interface().

◆ Interface() [2/2]

mlir::tblgen::Interface::Interface ( const Interface & rhs)
inline

Definition at line 91 of file Interfaces.h.

References Interface().

Member Function Documentation

◆ getBaseInterfaces()

auto mlir::tblgen::Interface::getBaseInterfaces ( ) const
inline

Definition at line 131 of file Interfaces.h.

◆ getCppIncludes()

std::vector< StringRef > Interface::getCppIncludes ( ) const

Definition at line 163 of file Interfaces.cpp.

◆ getCppNamespace()

StringRef Interface::getCppNamespace ( ) const

Definition at line 158 of file Interfaces.cpp.

Referenced by getFullyQualifiedName().

◆ getDef()

const llvm::Record & mlir::tblgen::Interface::getDef ( ) const
inline

◆ getDescription()

std::optional< StringRef > Interface::getDescription ( ) const

Definition at line 171 of file Interfaces.cpp.

◆ getExtraClassDeclaration()

std::optional< StringRef > Interface::getExtraClassDeclaration ( ) const

Definition at line 177 of file Interfaces.cpp.

◆ getExtraClassOf()

std::optional< StringRef > Interface::getExtraClassOf ( ) const

Definition at line 194 of file Interfaces.cpp.

◆ getExtraSharedClassDeclaration()

std::optional< StringRef > Interface::getExtraSharedClassDeclaration ( ) const

Definition at line 189 of file Interfaces.cpp.

◆ getExtraTraitClassDeclaration()

std::optional< StringRef > Interface::getExtraTraitClassDeclaration ( ) const

Definition at line 183 of file Interfaces.cpp.

◆ getFullyQualifiedName()

std::string Interface::getFullyQualifiedName ( ) const

Definition at line 149 of file Interfaces.cpp.

References getCppNamespace(), and getName().

◆ getMethods()

ArrayRef< InterfaceMethod > Interface::getMethods ( ) const

Definition at line 168 of file Interfaces.cpp.

◆ getName()

StringRef Interface::getName ( ) const

Definition at line 144 of file Interfaces.cpp.

Referenced by getFullyQualifiedName().

◆ getVerify()

std::optional< StringRef > Interface::getVerify ( ) const

Definition at line 200 of file Interfaces.cpp.

◆ verifyWithRegions()

bool Interface::verifyWithRegions ( ) const

Definition at line 208 of file Interfaces.cpp.


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