Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Bindings/Python/
H A DIRCore.cpp487 py::object pyRef = py::cast(unownedContextWrapper); in forContext() local
488 assert(pyRef && "cast to py::object failed"); in forContext()
493 py::object pyRef = py::cast(it->second); in forContext() local
494 return PyMlirContextRef(it->second, std::move(pyRef)); in forContext()
888 py::object pyRef = in forModule() local
890 unownedModule->handle = pyRef; in forModule()
893 return PyModuleRef(unownedModule, std::move(pyRef)); in forModule()
898 return PyModuleRef(existing, std::move(pyRef)); in forModule()
942 py::object pyRef = in createInstance() local
944 unownedOperation->handle = pyRef; in createInstance()
[all …]