Home
last modified time | relevance | path

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

/llvm-project/mlir/lib/Bindings/Python/
H A DRewrite.cpp97 .def_prop_ro(MLIR_PYTHON_CAPI_PTR_ATTR, in populateRewriteSubmodule()
H A DExecutionEngineModule.cpp99 .def_prop_ro(MLIR_PYTHON_CAPI_PTR_ATTR, &PyExecutionEngine::getCapsule) in PYBIND11_MODULE()
H A DPass.cpp72 .def_prop_ro(MLIR_PYTHON_CAPI_PTR_ATTR, &PyPassManager::getCapsule) in populatePassManagerSubmodule()
H A DIRCore.cpp2756 .def_prop_ro(MLIR_PYTHON_CAPI_PTR_ATTR, &PyMlirContext::getCapsule) in populateIRCore()
2885 .def_prop_ro(MLIR_PYTHON_CAPI_PTR_ATTR, &PyDialectRegistry::getCapsule) in populateIRCore()
2893 .def_prop_ro(MLIR_PYTHON_CAPI_PTR_ATTR, &PyLocation::getCapsule) in populateIRCore()
3024 .def_prop_ro(MLIR_PYTHON_CAPI_PTR_ATTR, &PyModule::getCapsule) in populateIRCore()
3098 .def_prop_ro(MLIR_PYTHON_CAPI_PTR_ATTR, in populateIRCore()
3289 .def_prop_ro(MLIR_PYTHON_CAPI_PTR_ATTR, &PyOperation::getCapsule) in populateIRCore()
3429 .def_prop_ro(MLIR_PYTHON_CAPI_PTR_ATTR, &PyBlock::getCapsule) in populateIRCore()
3616 .def_prop_ro(MLIR_PYTHON_CAPI_PTR_ATTR, &PyAttribute::getCapsule) in populateIRCore()
3734 .def_prop_ro(MLIR_PYTHON_CAPI_PTR_ATTR, &PyType::getCapsule) in populateIRCore()
3808 .def_prop_ro(MLIR_PYTHON_CAPI_PTR_ATTR,
[all...]
H A DIRAffine.cpp517 .def_prop_ro(MLIR_PYTHON_CAPI_PTR_ATTR, &PyAffineExpr::getCapsule)
656 .def_prop_ro(MLIR_PYTHON_CAPI_PTR_ATTR, &PyAffineMap::getCapsule) in populateIRAffine()
839 .def_prop_ro(MLIR_PYTHON_CAPI_PTR_ATTR, &PyIntegerSet::getCapsule) in populateIRAffine()
/llvm-project/mlir/include/mlir-c/Bindings/Python/
H A DInterop.h97 #define MLIR_PYTHON_CAPI_PTR_ATTR "_CAPIPtr" macro
/llvm-project/mlir/include/mlir/Bindings/Python/
H A DPybindAdaptors.h43 /// directly via Python) or indirectly by querying the MLIR_PYTHON_CAPI_PTR_ATTR
53 if (!py::hasattr(apiObject, MLIR_PYTHON_CAPI_PTR_ATTR)) { in mlirApiObjectToCapsule()
58 return apiObject.attr(MLIR_PYTHON_CAPI_PTR_ATTR); in mlirApiObjectToCapsule()