MLIR 22.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 ()
PyBlock dunderNext ()

Static Public Member Functions

static void bind (nanobind::module_ &m)

Detailed Description

Definition at line 1413 of file IRCore.h.

Constructor & Destructor Documentation

◆ PyBlockIterator()

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

Definition at line 1415 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 258 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 1418 of file IRCore.h.

References PyBlockIterator().

Referenced by bind().

◆ dunderNext()

PyBlock mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyBlockIterator::dunderNext ( )

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