Searched refs:forContext (Results 1 – 2 of 2) sorted by relevance
431 return forContext(rawContext).releaseObject(); in createFromCapsule()440 PyMlirContextRef PyMlirContext::forContext(MlirContext context) { in forContext() function in PyMlirContext653 return PyLocation(PyMlirContext::forContext(mlirLocationGetContext(rawLoc)), in createFromCapsule()696 PyMlirContextRef contextRef = PyMlirContext::forContext(context); in forModule()1128 PyMlirContext::forContext(mlirAttributeGetContext(rawAttr)), rawAttr); in createFromCapsule()1156 return PyType(PyMlirContext::forContext(mlirTypeGetContext(rawType)), in createFromCapsule()1686 PyMlirContext::forContext(mlirTypeGetContext(shapedType)); in getSplat()2564 PyMlirContextRef ref = PyMlirContext::forContext(self.get()); in populateIRSubmodule()3083 auto contextRef = PyMlirContext::forContext( in populateIRSubmodule()
167 static PyMlirContextRef forContext(MlirContext context);