Lines Matching refs:capsule

134 static inline MlirAffineExpr mlirPythonCapsuleToAffineExpr(PyObject *capsule) {  in mlirPythonCapsuleToAffineExpr()  argument
135 void *ptr = PyCapsule_GetPointer(capsule, MLIR_PYTHON_CAPSULE_AFFINE_EXPR); in mlirPythonCapsuleToAffineExpr()
153 static inline MlirAttribute mlirPythonCapsuleToAttribute(PyObject *capsule) { in mlirPythonCapsuleToAttribute() argument
154 void *ptr = PyCapsule_GetPointer(capsule, MLIR_PYTHON_CAPSULE_ATTRIBUTE); in mlirPythonCapsuleToAttribute()
171 static inline MlirContext mlirPythonCapsuleToContext(PyObject *capsule) { in mlirPythonCapsuleToContext() argument
172 void *ptr = PyCapsule_GetPointer(capsule, MLIR_PYTHON_CAPSULE_CONTEXT); in mlirPythonCapsuleToContext()
192 mlirPythonCapsuleToDialectRegistry(PyObject *capsule) { in mlirPythonCapsuleToDialectRegistry() argument
194 PyCapsule_GetPointer(capsule, MLIR_PYTHON_CAPSULE_DIALECT_REGISTRY); in mlirPythonCapsuleToDialectRegistry()
211 static inline MlirLocation mlirPythonCapsuleToLocation(PyObject *capsule) { in mlirPythonCapsuleToLocation() argument
212 void *ptr = PyCapsule_GetPointer(capsule, MLIR_PYTHON_CAPSULE_LOCATION); in mlirPythonCapsuleToLocation()
229 static inline MlirModule mlirPythonCapsuleToModule(PyObject *capsule) { in mlirPythonCapsuleToModule() argument
230 void *ptr = PyCapsule_GetPointer(capsule, MLIR_PYTHON_CAPSULE_MODULE); in mlirPythonCapsuleToModule()
247 mlirPythonCapsuleToPassManager(PyObject *capsule) { in mlirPythonCapsuleToPassManager() argument
248 void *ptr = PyCapsule_GetPointer(capsule, MLIR_PYTHON_CAPSULE_PASS_MANAGER); in mlirPythonCapsuleToPassManager()
265 static inline MlirOperation mlirPythonCapsuleToOperation(PyObject *capsule) { in mlirPythonCapsuleToOperation() argument
266 void *ptr = PyCapsule_GetPointer(capsule, MLIR_PYTHON_CAPSULE_OPERATION); in mlirPythonCapsuleToOperation()
284 static inline MlirType mlirPythonCapsuleToType(PyObject *capsule) { in mlirPythonCapsuleToType() argument
285 void *ptr = PyCapsule_GetPointer(capsule, MLIR_PYTHON_CAPSULE_TYPE); in mlirPythonCapsuleToType()
303 static inline MlirAffineMap mlirPythonCapsuleToAffineMap(PyObject *capsule) { in mlirPythonCapsuleToAffineMap() argument
304 void *ptr = PyCapsule_GetPointer(capsule, MLIR_PYTHON_CAPSULE_AFFINE_MAP); in mlirPythonCapsuleToAffineMap()
322 static inline MlirIntegerSet mlirPythonCapsuleToIntegerSet(PyObject *capsule) { in mlirPythonCapsuleToIntegerSet() argument
323 void *ptr = PyCapsule_GetPointer(capsule, MLIR_PYTHON_CAPSULE_INTEGER_SET); in mlirPythonCapsuleToIntegerSet()
342 mlirPythonCapsuleToExecutionEngine(PyObject *capsule) { in mlirPythonCapsuleToExecutionEngine() argument
344 PyCapsule_GetPointer(capsule, MLIR_PYTHON_CAPSULE_EXECUTION_ENGINE); in mlirPythonCapsuleToExecutionEngine()
362 static inline MlirValue mlirPythonCapsuleToValue(PyObject *capsule) { in mlirPythonCapsuleToValue() argument
363 void *ptr = PyCapsule_GetPointer(capsule, MLIR_PYTHON_CAPSULE_VALUE); in mlirPythonCapsuleToValue()