MLIR 23.0.0git
mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyRegionIterator Class Reference

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

Public Member Functions

 PyRegionIterator (PyOperationRef operation, int nextIndex)
PyRegionIteratordunderIter ()
nanobind::typed< nanobind::object, PyRegiondunderNext ()

Static Public Member Functions

static void bind (nanobind::module_ &m)

Detailed Description

Definition at line 1371 of file IRCore.h.

Constructor & Destructor Documentation

◆ PyRegionIterator()

mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyRegionIterator::PyRegionIterator ( PyOperationRef operation,
int nextIndex )
inline

Definition at line 1373 of file IRCore.h.

Referenced by dunderIter().

Member Function Documentation

◆ bind()

void mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyRegionIterator::bind ( nanobind::module_ & m)
static

Definition at line 208 of file IRCore.cpp.

References dunderIter(), and dunderNext().

Referenced by mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::populateIRCore().

◆ dunderIter()

PyRegionIterator & mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyRegionIterator::dunderIter ( )
inline

Definition at line 1376 of file IRCore.h.

References PyRegionIterator().

Referenced by bind().

◆ dunderNext()

nb::typed< nb::object, PyRegion > mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyRegionIterator::dunderNext ( )

Definition at line 197 of file IRCore.cpp.

References mlirOperationGetNumRegions(), and mlirOperationGetRegion().

Referenced by bind().


The documentation for this class was generated from the following files: