|
MLIR 23.0.0git
|
Casts object <-> MlirValue. More...
#include "mlir/Bindings/Python/NanobindAdaptors.h"
Public Member Functions | |
| NB_TYPE_CASTER (MlirValue, const_name(MAKE_MLIR_PYTHON_QUALNAME("ir.Value"))) bool from_python(handle src | |
Static Public Member Functions | |
| static handle | from_cpp (MlirValue v, rv_policy, cleanup_list *cleanup) noexcept |
Public Attributes | |
| uint8_t | flags |
| uint8_t cleanup_list *cleanup | noexcept |
Casts object <-> MlirValue.
Definition at line 326 of file NanobindAdaptors.h.
|
inlinestaticnoexcept |
Definition at line 335 of file NanobindAdaptors.h.
References MLIR_PYTHON_CAPI_FACTORY_ATTR, MLIR_PYTHON_MAYBE_DOWNCAST_ATTR, and mlirPythonValueToCapsule().
| nanobind::detail::type_caster< MlirValue >::NB_TYPE_CASTER | ( | MlirValue | , |
| const_name(MAKE_MLIR_PYTHON_QUALNAME("ir.Value")) | ) |
| uint8_t nanobind::detail::type_caster< MlirValue >::flags |
Definition at line 328 of file NanobindAdaptors.h.
| uint8_t cleanup_list* cleanup nanobind::detail::type_caster< MlirValue >::noexcept |
Definition at line 328 of file NanobindAdaptors.h.