MLIR 22.0.0git
mlir::tblgen::TypeInterface Struct Reference

#include "mlir/TableGen/Interfaces.h"

Inheritance diagram for mlir::tblgen::TypeInterface:

Public Member Functions

 Interface (const llvm::Record *def)
 Interface (const Interface &rhs)
Public Member Functions inherited from mlir::tblgen::Interface
 Interface (const llvm::Record *def)
 Interface (const Interface &rhs)
StringRef getName () const
std::string getFullyQualifiedName () const
StringRef getCppNamespace () const
ArrayRef< InterfaceMethodgetMethods () 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

Static Public Member Functions

static bool classof (const Interface *interface)

Detailed Description

Definition at line 155 of file Interfaces.h.

Member Function Documentation

◆ classof()

bool TypeInterface::classof ( const Interface * interface)
static

Definition at line 208 of file Interfaces.cpp.

References mlir::tblgen::Interface::getDef(), and Interface().

◆ Interface() [1/2]

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

Definition at line 83 of file Interfaces.h.

◆ Interface() [2/2]

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

Referenced by classof().


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