#include "mlir/Dialect/MLProgram/IR/MLProgram.h"
#include "mlir/IR/DialectImplementation.h"
#include "mlir/Transforms/InliningUtils.h"
#include "llvm/ADT/TypeSwitch.h"
usingnamespacemlir;
usingnamespacemlir::ml_program;
#include "mlir/Dialect/MLProgram/IR/MLProgramOpsDialect.cpp.inc"
#define GET_ATTRDEF_CLASSES
#include "mlir/Dialect/MLProgram/IR/MLProgramAttributes.cpp.inc"
#define GET_TYPEDEF_CLASSES
#include "mlir/Dialect/MLProgram/IR/MLProgramTypes.cpp.inc"
namespace {
struct MLProgramInlinerInterface : public DialectInlinerInterface { … };
struct MLProgramOpAsmDialectInterface : public OpAsmDialectInterface { … };
}
void ml_program::MLProgramDialect::initialize() { … }