Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Bindings/Python/
H A DIRCore.cpp529 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 PyDiagnosticHandler
740 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 …]
H A DIRModule.h30 class PyDiagnosticHandler; variable
328 class PyDiagnosticHandler {
330 PyDiagnosticHandler(MlirContext context, pybind11::object callback);
331 ~PyDiagnosticHandler();