15 #include "mlir/IR/Builders.h"
16 #include "mlir/IR/BuiltinTypes.h"
17 #include "mlir/IR/DialectImplementation.h"
19 using namespace circt;
30 struct CalyxOpAsmDialectInterface :
public OpAsmDialectInterface {
31 using OpAsmDialectInterface::OpAsmDialectInterface;
40 void CalyxDialect::initialize() {
44 #include "circt/Dialect/Calyx/Calyx.cpp.inc"
48 addInterfaces<CalyxOpAsmDialectInterface>();
52 #include "circt/Dialect/Calyx/CalyxDialect.cpp.inc"
53 #include "circt/Dialect/Calyx/CalyxEnums.cpp.inc"
void getAsmResultNames(OpAsmSetValueNameFn setNameFn, StringRef instanceName, ArrayAttr resultNames, ValueRange results)
Suggest a name for each result value based on the saved result names attribute.
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
function_ref< void(Value, StringRef)> OpAsmSetValueNameFn