This class represents an ODS dialect, and contains information on the constructs held within the dialect.
More...
#include "mlir/Tools/PDLL/ODS/Dialect.h"
|
| | ~Dialect () |
| StringRef | getName () const |
| | Return the name of this dialect.
|
| std::pair< Operation *, bool > | insertOperation (StringRef name, StringRef summary, StringRef desc, StringRef nativeClassName, bool supportsResultTypeInferrence, SMLoc loc) |
| | Insert a new operation with the dialect.
|
| Operation * | lookupOperation (StringRef name) const |
| | Lookup an operation registered with the given name, or null if no operation with that name is registered.
|
| const llvm::StringMap< std::unique_ptr< Operation > > & | getOperations () const |
| | Return a map of all of the operations registered to this dialect.
|
|
| class | Context |
| | Allow access to the constructor.
|
This class represents an ODS dialect, and contains information on the constructs held within the dialect.
Definition at line 26 of file Dialect.h.
◆ ~Dialect()
| mlir::pdll::ods::Dialect::~Dialect |
( |
| ) |
|
◆ getName()
| StringRef Dialect::getName |
( |
| ) |
const |
|
inline |
Return the name of this dialect.
Definition at line 31 of file Dialect.h.
◆ getOperations()
| const llvm::StringMap< std::unique_ptr< Operation > > & mlir::pdll::ods::Dialect::getOperations |
( |
| ) |
const |
|
inline |
Return a map of all of the operations registered to this dialect.
Definition at line 46 of file Dialect.h.
◆ insertOperation()
| std::pair< Operation *, bool > Dialect::insertOperation |
( |
StringRef | name, |
|
|
StringRef | summary, |
|
|
StringRef | desc, |
|
|
StringRef | nativeClassName, |
|
|
bool | supportsResultTypeInferrence, |
|
|
SMLoc | loc ) |
◆ lookupOperation()
| Operation * Dialect::lookupOperation |
( |
StringRef | name | ) |
const |
Lookup an operation registered with the given name, or null if no operation with that name is registered.
Definition at line 35 of file Dialect.cpp.
◆ Context
The documentation for this class was generated from the following files: