16 using namespace circt;
23 void MooreDialect::initialize() {
31 #include "circt/Dialect/Moore/Moore.cpp.inc"
35 Operation *MooreDialect::materializeConstant(OpBuilder &builder,
36 Attribute value, Type type,
38 if (
auto intType = dyn_cast<IntType>(type))
39 if (
auto intValue = dyn_cast<FVIntegerAttr>(value))
40 return builder.create<ConstantOp>(loc, intType, intValue);
44 #include "circt/Dialect/Moore/MooreDialect.cpp.inc"
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.