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

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

Public Member Functions

 PyBlockIterator (PyOperationRef operation, MlirBlock next)
PyBlockIteratordunderIter ()
nanobind::typed< nanobind::object, PyBlockdunderNext ()

Static Public Member Functions

static void bind (nanobind::module_ &m)

Detailed Description

Definition at line 1414 of file IRCore.h.

Constructor & Destructor Documentation

◆ PyBlockIterator()

mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyBlockIterator::PyBlockIterator ( PyOperationRef operation,
MlirBlock next )
inline

Definition at line 1416 of file IRCore.h.

Referenced by dunderIter().

Member Function Documentation

◆ bind()

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

Definition at line 262 of file IRCore.cpp.

References dunderIter(), and dunderNext().

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

◆ dunderIter()

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

Definition at line 1419 of file IRCore.h.

References PyBlockIterator().

Referenced by bind().

◆ dunderNext()

nb::typed< nb::object, PyBlock > mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyBlockIterator::dunderNext ( )

Definition at line 249 of file IRCore.cpp.

References mlirBlockGetNextInRegion(), and mlirBlockIsNull().

Referenced by bind().


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