12#include "mlir/Bindings/Python/NanobindAdaptors.h"
15#include "mlir-c/Support.h"
16#include <nanobind/nanobind.h>
21using namespace mlir::python::nanobind_adaptors;
25 m.doc() =
"Seq dialect Python native extension";
30 [](nb::object cls, MlirContext ctx) {
33 nb::arg(
"cls"), nb::arg(
"context") = nb::none());
36 .def_classmethod(
"get",
37 [](nb::object cls, MlirType innerType) {
40 .def_property_readonly(
"inner_type", [](MlirType self) {
MLIR_CAPI_EXPORTED bool seqTypeIsAClock(MlirType type)
If the type is an clock type.
MLIR_CAPI_EXPORTED MlirType seqImmutableTypeGetInnerType(MlirType type)
Creates a seq immutable type.
MLIR_CAPI_EXPORTED MlirType seqImmutableTypeGet(MlirType type)
Creates a seq immutable type.
MLIR_CAPI_EXPORTED bool seqTypeIsAImmutable(MlirType type)
If the type is an immutable type.
MLIR_CAPI_EXPORTED MlirType seqClockTypeGet(MlirContext ctx)
Creates an seq clock type.
void populateDialectSeqSubmodule(nanobind::module_ &m)
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.