CIRCT  20.0.0git
OMDialect.cpp
Go to the documentation of this file.
1 //===- OMDialect.cpp - Object Model dialect definition --------------------===//
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 // This file contains the Object Model dialect definition.
10 //
11 //===----------------------------------------------------------------------===//
12 
15 #include "circt/Dialect/OM/OMOps.h"
16 
17 #include "circt/Dialect/OM/OMDialect.cpp.inc"
18 
19 void circt::om::OMDialect::initialize() {
20  addOperations<
21 #define GET_OP_LIST
22 #include "circt/Dialect/OM/OM.cpp.inc"
23  >();
24 
25  registerTypes();
26  registerAttributes();
27 }
28 
29 // Provide implementations for the enums we use.
30 #include "circt/Dialect/OM/OMEnums.cpp.inc"