MLIR  21.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
nanobind::detail::type_caster< MlirFrozenRewritePatternSet > Struct Reference

Casts object <-> MlirFrozenRewritePatternSet. More...

#include "mlir/Bindings/Python/NanobindAdaptors.h"

Public Member Functions

 NB_TYPE_CASTER (MlirFrozenRewritePatternSet, const_name("MlirFrozenRewritePatternSet")) bool from_python(handle src
 

Static Public Member Functions

static handle from_cpp (MlirFrozenRewritePatternSet v, rv_policy, handle)
 

Public Attributes

uint8_t flags
 
uint8_t cleanup_list * cleanup
 
 value = mlirPythonCapsuleToFrozenRewritePatternSet(capsule.ptr())
 
return value ptr = nullptr
 

Detailed Description

Casts object <-> MlirFrozenRewritePatternSet.

Definition at line 209 of file NanobindAdaptors.h.

Member Function Documentation

◆ from_cpp()

static handle nanobind::detail::type_caster< MlirFrozenRewritePatternSet >::from_cpp ( MlirFrozenRewritePatternSet  v,
rv_policy  ,
handle   
)
inlinestatic

◆ NB_TYPE_CASTER()

nanobind::detail::type_caster< MlirFrozenRewritePatternSet >::NB_TYPE_CASTER ( MlirFrozenRewritePatternSet  ,
const_name("MlirFrozenRewritePatternSet")   
)

Member Data Documentation

◆ cleanup

uint8_t cleanup_list* nanobind::detail::type_caster< MlirFrozenRewritePatternSet >::cleanup
Initial value:
{
nanobind::object capsule = mlirApiObjectToCapsule(src)
static nanobind::object mlirApiObjectToCapsule(nanobind::handle apiObject)
Helper to convert a presumed MLIR API object to a capsule, accepting either an explicit Capsule (whic...

Definition at line 212 of file NanobindAdaptors.h.

◆ flags

uint8_t nanobind::detail::type_caster< MlirFrozenRewritePatternSet >::flags

Definition at line 212 of file NanobindAdaptors.h.

◆ ptr

return value nanobind::detail::type_caster< MlirFrozenRewritePatternSet >::ptr = nullptr

Definition at line 215 of file NanobindAdaptors.h.

◆ value

nanobind::detail::type_caster< MlirFrozenRewritePatternSet >::value = mlirPythonCapsuleToFrozenRewritePatternSet(capsule.ptr())

Definition at line 214 of file NanobindAdaptors.h.


The documentation for this struct was generated from the following file: