55 "Get an instance of AttributeType in given context.",
56 nb::arg(
"context").none() = nb::none());
79 "Get an instance of OperationType in given context.",
80 nb::arg(
"context").none() = nb::none());
102 "Gets an instance of RangeType in the same context as the provided "
104 nb::arg(
"element_type"), nb::arg(
"context").none() = nb::none());
111 "Get the element type.");
134 "Get an instance of TypeType in given context.",
135 nb::arg(
"context").none() = nb::none());
158 "Get an instance of TypeType in given context.",
159 nb::arg(
"context").none() = nb::none());
177 m.doc() =
"MLIR PDL dialect.";
NB_MODULE(_mlirDialectsPDL, m)
ReferrentTy * get() const
Used in function arguments when None should resolve to the current context manager set instance.
nanobind::class_< PDLType, PyType > ClassTy
static void bind(nanobind::module_ &m)
MlirTypeID(*)() GetTypeIDFunctionTy
bool(*)(MlirType) IsAFunctionTy
PyType(PyMlirContextRef contextRef, MlirType type)
MLIR_CAPI_EXPORTED MlirTypeID mlirPDLTypeTypeGetTypeID(void)
MLIR_CAPI_EXPORTED MlirType mlirPDLOperationTypeGet(MlirContext ctx)
MLIR_CAPI_EXPORTED MlirTypeID mlirPDLAttributeTypeGetTypeID(void)
MLIR_CAPI_EXPORTED bool mlirTypeIsAPDLRangeType(MlirType type)
MLIR_CAPI_EXPORTED MlirType mlirPDLAttributeTypeGet(MlirContext ctx)
MLIR_CAPI_EXPORTED MlirStringRef mlirPDLOperationTypeGetName(void)
MLIR_CAPI_EXPORTED MlirType mlirPDLValueTypeGet(MlirContext ctx)
MLIR_CAPI_EXPORTED MlirStringRef mlirPDLValueTypeGetName(void)
MLIR_CAPI_EXPORTED MlirStringRef mlirPDLTypeTypeGetName(void)
MLIR_CAPI_EXPORTED bool mlirTypeIsAPDLAttributeType(MlirType type)
MLIR_CAPI_EXPORTED bool mlirTypeIsAPDLOperationType(MlirType type)
MLIR_CAPI_EXPORTED MlirTypeID mlirPDLOperationTypeGetTypeID(void)
MLIR_CAPI_EXPORTED MlirTypeID mlirPDLValueTypeGetTypeID(void)
MLIR_CAPI_EXPORTED bool mlirTypeIsAPDLType(MlirType type)
MLIR_CAPI_EXPORTED MlirType mlirPDLRangeTypeGetElementType(MlirType type)
MLIR_CAPI_EXPORTED MlirStringRef mlirPDLAttributeTypeGetName(void)
MLIR_CAPI_EXPORTED MlirType mlirPDLTypeTypeGet(MlirContext ctx)
MLIR_CAPI_EXPORTED MlirType mlirPDLRangeTypeGet(MlirType elementType)
MLIR_CAPI_EXPORTED MlirTypeID mlirPDLRangeTypeGetTypeID(void)
MLIR_CAPI_EXPORTED bool mlirTypeIsAPDLValueType(MlirType type)
MLIR_CAPI_EXPORTED MlirStringRef mlirPDLRangeTypeGetName(void)
MLIR_CAPI_EXPORTED bool mlirTypeIsAPDLTypeType(MlirType type)
The OpAsmOpInterface, see OpAsmInterface.td for more details.
static void populateDialectPDLSubmodule(nanobind::module_ &m)
Include the generated interface declarations.
A pointer to a sized fragment of a string, not necessarily null-terminated.
static constexpr GetTypeIDFunctionTy getTypeIdFunction
static void bindDerived(ClassTy &c)
static constexpr const char * pyClassName
static constexpr IsAFunctionTy isaFunction
static const MlirStringRef name
static constexpr const char * pyClassName
static void bindDerived(ClassTy &c)
static constexpr GetTypeIDFunctionTy getTypeIdFunction
static const MlirStringRef name
static constexpr IsAFunctionTy isaFunction
static constexpr const char * pyClassName
static constexpr IsAFunctionTy isaFunction
static void bindDerived(ClassTy &c)
static constexpr const char * pyClassName
static const MlirStringRef name
static void bindDerived(ClassTy &c)
static constexpr IsAFunctionTy isaFunction
static constexpr GetTypeIDFunctionTy getTypeIdFunction
static constexpr IsAFunctionTy isaFunction
static const MlirStringRef name
static constexpr GetTypeIDFunctionTy getTypeIdFunction
static constexpr const char * pyClassName
static void bindDerived(ClassTy &c)
static const MlirStringRef name
static constexpr const char * pyClassName
static void bindDerived(ClassTy &c)
static constexpr GetTypeIDFunctionTy getTypeIdFunction
static constexpr IsAFunctionTy isaFunction