MLIR
21.0.0git
|
#include "mlir/TableGen/Interfaces.h"
Public Member Functions | |
Interface (const llvm::Record *def) | |
Interface (const Interface &rhs) | |
StringRef | getName () const |
std::string | getFullyQualifiedName () const |
StringRef | getCppNamespace () 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 |
Definition at line 73 of file Interfaces.h.
|
explicit |
|
inline |
Definition at line 76 of file Interfaces.h.
|
inline |
Definition at line 113 of file Interfaces.h.
StringRef Interface::getCppNamespace | ( | ) | const |
Definition at line 126 of file Interfaces.cpp.
Referenced by getFullyQualifiedName().
|
inline |
Definition at line 122 of file Interfaces.h.
Referenced by mlir::tblgen::AttrInterface::classof(), mlir::tblgen::OpInterface::classof(), and mlir::tblgen::TypeInterface::classof().
std::optional< StringRef > Interface::getDescription | ( | ) | const |
Definition at line 134 of file Interfaces.cpp.
std::optional< StringRef > Interface::getExtraClassDeclaration | ( | ) | const |
Definition at line 140 of file Interfaces.cpp.
std::optional< StringRef > Interface::getExtraClassOf | ( | ) | const |
Definition at line 157 of file Interfaces.cpp.
std::optional< StringRef > Interface::getExtraSharedClassDeclaration | ( | ) | const |
Definition at line 152 of file Interfaces.cpp.
std::optional< StringRef > Interface::getExtraTraitClassDeclaration | ( | ) | const |
Definition at line 146 of file Interfaces.cpp.
std::string Interface::getFullyQualifiedName | ( | ) | const |
Definition at line 117 of file Interfaces.cpp.
References getCppNamespace(), and getName().
ArrayRef< InterfaceMethod > Interface::getMethods | ( | ) | const |
Definition at line 131 of file Interfaces.cpp.
StringRef Interface::getName | ( | ) | const |
Definition at line 112 of file Interfaces.cpp.
Referenced by getFullyQualifiedName().
std::optional< StringRef > Interface::getVerify | ( | ) | const |
Definition at line 163 of file Interfaces.cpp.
bool Interface::verifyWithRegions | ( | ) | const |
Definition at line 171 of file Interfaces.cpp.