Home
last modified time | relevance | path

Searched refs:PyOperationIterator (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Bindings/Python/
H A DIRCore.cpp356 class PyOperationIterator { class
358 PyOperationIterator(PyOperationRef parentOperation, MlirOperation next) in PyOperationIterator() function in __anon7f4419ab0111::PyOperationIterator
361 PyOperationIterator &dunderIter() { return *this; } in dunderIter()
376 py::class_<PyOperationIterator>(m, "OperationIterator", py::module_local()) in bind()
377 .def("__iter__", &PyOperationIterator::dunderIter) in bind()
378 .def("__next__", &PyOperationIterator::dunderNext); in bind()
395 PyOperationIterator dunderIter() { in dunderIter()
397 return PyOperationIterator(parentOperation, in dunderIter()
2870 return PyOperationIterator(self.getParentOperation(), in populateIRCore()
3188 PyOperationIterator::bind(m); in populateIRCore()