Searched refs:PyDiagnosticHandler (Results 1 – 2 of 2) sorted by relevance
529 PyDiagnosticHandler *pyHandler = in attachDiagnosticHandler()530 new PyDiagnosticHandler(get(), std::move(callback)); in attachDiagnosticHandler()543 auto *pyHandler = static_cast<PyDiagnosticHandler *>(userData); in attachDiagnosticHandler()562 auto *pyHandler = static_cast<PyDiagnosticHandler *>(userData); in attachDiagnosticHandler()736 PyDiagnosticHandler::PyDiagnosticHandler(MlirContext context, in PyDiagnosticHandler() function in PyDiagnosticHandler740 PyDiagnosticHandler::~PyDiagnosticHandler() = default;742 void PyDiagnosticHandler::detach() { in detach()2222 .def("detach", &PyDiagnosticHandler::detach) in populateIRCore()2223 .def_property_readonly("attached", &PyDiagnosticHandler::isAttached) in populateIRCore()2225 .def("__enter__", &PyDiagnosticHandler::contextEnter) in populateIRCore()[all …]
30 class PyDiagnosticHandler; variable328 class PyDiagnosticHandler {330 PyDiagnosticHandler(MlirContext context, pybind11::object callback);331 ~PyDiagnosticHandler();