Searched refs:pyRef (Results 1 – 1 of 1) sorted by relevance
447 py::object pyRef = py::cast(unownedContextWrapper); in forContext() local448 assert(pyRef && "cast to py::object failed"); in forContext()450 return PyMlirContextRef(unownedContextWrapper, std::move(pyRef)); in forContext()453 py::object pyRef = py::cast(it->second); in forContext() local454 return PyMlirContextRef(it->second, std::move(pyRef)); in forContext()707 py::object pyRef = in forModule() local709 unownedModule->handle = pyRef; in forModule()712 return PyModuleRef(unownedModule, std::move(pyRef)); in forModule()716 py::object pyRef = py::reinterpret_borrow<py::object>(it->second.first); in forModule() local717 return PyModuleRef(existing, std::move(pyRef)); in forModule()[all …]