12 #include "mlir/Bindings/Python/PybindAdaptors.h"
15 #include "mlir-c/Support.h"
16 #include <pybind11/pybind11.h>
17 #include <pybind11/pytypes.h>
18 #include <pybind11/stl.h>
22 using namespace circt;
23 using namespace mlir::python::adaptors;
27 m.doc() =
"Seq dialect Python native extension";
32 [](py::object cls, MlirContext ctx) {
35 py::arg(
"cls"), py::arg(
"context") = py::none());
38 .def_classmethod(
"get",
42 .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.
mlir::Type innerType(mlir::Type type)
void populateDialectSeqSubmodule(pybind11::module &m)
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.