1 //===- MLProgramDialect.cpp - MLProgram dialect implementation ------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #include "mlir/Dialect/MLProgram/IR/MLProgram.h"
10 
11 using namespace mlir;
12 using namespace mlir::ml_program;
13 
14 #include "mlir/Dialect/MLProgram/IR/MLProgramOpsDialect.cpp.inc"
15 
16 void ml_program::MLProgramDialect::initialize() {
17   addOperations<
18 #define GET_OP_LIST
19 #include "mlir/Dialect/MLProgram/IR/MLProgramOps.cpp.inc"
20       >();
21 }
22