|
MLIR 22.0.0git
|
Wrapper around an MlirDialect. More...
#include "Bindings/Python/IRModule.h"
Public Member Functions | |
| PyDialectDescriptor (PyMlirContextRef contextRef, MlirDialect dialect) | |
| MlirDialect | get () |
| Public Member Functions inherited from mlir::python::BaseContextObject | |
| BaseContextObject (PyMlirContextRef ref) | |
| PyMlirContextRef & | getContext () |
| Accesses the context reference. | |
Wrapper around an MlirDialect.
This is exported as DialectDescriptor in order to differentiate it from the Dialect base class which is extended by plugins which extend dialect functionality through extension python code. This should be seen as the "low-level" object and Dialect as the high-level, user facing object.
Definition at line 435 of file IRModule.h.
|
inline |
Definition at line 437 of file IRModule.h.
References mlir::python::BaseContextObject::BaseContextObject().
|
inline |
Definition at line 440 of file IRModule.h.