Lines Matching defs:PyBlockIterator
395 class PyBlockIterator {
397 PyBlockIterator(PyOperationRef operation, MlirBlock next)
400 PyBlockIterator &dunderIter() { return *this; }
414 nb::class_<PyBlockIterator>(m, "BlockIterator")
415 .def("__iter__", &PyBlockIterator::dunderIter)
416 .def("__next__", &PyBlockIterator::dunderNext);
432 PyBlockIterator dunderIter() {
434 return PyBlockIterator(operation, mlirRegionGetFirstBlock(region));
3416 return PyBlockIterator(self.getParentOperation(), firstBlock);
3993 PyBlockIterator::bind(m);