MLIR
20.0.0git
|
Wrapper around an MlirDialectRegistry. More...
#include "Bindings/Python/IRModule.h"
Public Member Functions | |
PyDialectRegistry () | |
PyDialectRegistry (MlirDialectRegistry registry) | |
~PyDialectRegistry () | |
PyDialectRegistry (PyDialectRegistry &)=delete | |
PyDialectRegistry (PyDialectRegistry &&other) noexcept | |
operator MlirDialectRegistry () const | |
MlirDialectRegistry | get () const |
pybind11::object | getCapsule () |
Static Public Member Functions | |
static PyDialectRegistry | createFromCapsule (pybind11::object capsule) |
Wrapper around an MlirDialectRegistry.
Upon construction, the Python wrapper takes ownership of the underlying MlirDialectRegistry.
Definition at line 491 of file IRModule.h.
|
inline |
Definition at line 493 of file IRModule.h.
Referenced by createFromCapsule().
|
inline |
Definition at line 494 of file IRModule.h.
|
inline |
Definition at line 495 of file IRModule.h.
References mlirDialectRegistryDestroy(), and mlirDialectRegistryIsNull().
|
delete |
|
inlinenoexcept |
Definition at line 500 of file IRModule.h.
|
static |
Definition at line 1031 of file IRCore.cpp.
References mlirDialectRegistryIsNull(), mlirPythonCapsuleToDialectRegistry(), and PyDialectRegistry().
|
inline |
Definition at line 506 of file IRModule.h.
py::object PyDialectRegistry::getCapsule | ( | ) |
Definition at line 1026 of file IRCore.cpp.
References mlirPythonDialectRegistryToCapsule().
|
inline |
Definition at line 505 of file IRModule.h.