Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Bindings/Python/
H A DMainModule.cpp71 auto rawSubclass = PyOpView::createRawSubclass(opClass); in PYBIND11_MODULE()
H A DIRCore.cpp1252 return py::cast(PyOpView(getRef().getObject())); in createOpView()
1271 py::object PyOpView::buildGeneric( in buildGeneric()
1528 PyOpView::PyOpView(const py::object &operationObject) in PyOpView() function in PyOpView
1534 py::object PyOpView::createRawSubclass(const py::object &userClass) { in createRawSubclass()
1562 auto opViewType = py::detail::get_type_handle(typeid(PyOpView), true); in createRawSubclass()
2705 py::class_<PyOpView, PyOperationBase>(m, "OpView", py::module_local()) in populateIRCore()
2707 .def_property_readonly("operation", &PyOpView::getOperationObject) in populateIRCore()
2710 [](PyOpView &self) { in populateIRCore()
2714 .def("__str__", [](PyOpView &self) { in populateIRCore()
2721 &PyOpView::buildGeneric, py::arg("cls"), py::arg("results") = py::none(), in populateIRCore()
H A DIRInterfaces.cpp71 operation = &py::cast<PyOpView &>(obj).getOperation(); in PyConcreteOpInterface()
H A DIRModule.h643 class PyOpView : public PyOperationBase {
645 PyOpView(const pybind11::object &operationObject);