13 #include "mlir/Bindings/Python/PybindAdaptors.h"
15 #include <pybind11/pybind11.h>
16 #include <pybind11/pytypes.h>
17 #include <pybind11/stl.h>
20 using namespace circt;
21 using namespace mlir::python::adaptors;
24 void circt::python::populateDialectRTGTestSubmodule(py::module &m) {
25 m.doc() =
"RTGTest dialect Python native extension";
30 [](py::object cls, MlirContext
ctxt) {
33 py::arg(
"self"), py::arg(
"ctxt") =
nullptr);
MLIR_CAPI_EXPORTED MlirType rtgtestCPUTypeGet(MlirContext ctxt)
Creates an RTGTest CPU type in the context.
MLIR_CAPI_EXPORTED bool rtgtestTypeIsACPU(MlirType type)
If the type is an RTGTest CPUType.
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.