|
MLIR 22.0.0git
|
Wrapper around an MlirDialectRegistry. More...
#include "mlir/Bindings/Python/IRCore.h"
Public Member Functions | |
| PyDialectRegistry () | |
| PyDialectRegistry (MlirDialectRegistry registry) | |
| ~PyDialectRegistry () | |
| PyDialectRegistry (PyDialectRegistry &)=delete | |
| PyDialectRegistry (PyDialectRegistry &&other) noexcept | |
| operator MlirDialectRegistry () const | |
| MlirDialectRegistry | get () const |
| nanobind::object | getCapsule () |
Static Public Member Functions | |
| static PyDialectRegistry | createFromCapsule (nanobind::object capsule) |
Wrapper around an MlirDialectRegistry.
Upon construction, the Python wrapper takes ownership of the underlying MlirDialectRegistry.
|
inline |
Definition at line 501 of file IRCore.h.
References mlirDialectRegistryCreate().
Referenced by PyDialectRegistry(), and PyDialectRegistry().
|
inline |
|
inline |
Definition at line 503 of file IRCore.h.
References mlirDialectRegistryDestroy(), and mlirDialectRegistryIsNull().
|
delete |
References PyDialectRegistry().
|
inlinenoexcept |
Definition at line 508 of file IRCore.h.
References PyDialectRegistry().
|
static |
Definition at line 828 of file IRCore.cpp.
References mlirPythonDialectRegistryToCapsule().
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRCore().
|
inline |
| nb::object mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDialectRegistry::getCapsule | ( | ) |
Definition at line 824 of file IRCore.cpp.
Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRCore().
|
inline |