CIRCT  20.0.0git
CHIRRTLDialect.h
Go to the documentation of this file.
1 //===- CHIRRTLDialect.h - CHIRRTL dialect declaration ----------*- C++ --*-===//
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 defines an MLIR dialect for the CHIRRTL IR.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef CIRCT_DIALECT_FIRRTL_CHIRRTLDIALECT_H
14 #define CIRCT_DIALECT_FIRRTL_CHIRRTLDIALECT_H
15 
20 #include "circt/Support/LLVM.h"
21 #include "mlir/IR/BuiltinAttributes.h"
22 #include "mlir/IR/Dialect.h"
23 #include "mlir/IR/OpImplementation.h"
24 #include "mlir/Interfaces/InferTypeOpInterface.h"
25 #include "mlir/Interfaces/SideEffectInterfaces.h"
26 
27 // Pull in the dialect definition.
28 #include "circt/Dialect/FIRRTL/CHIRRTLDialect.h.inc"
29 
30 // Include generated types.
31 #define GET_TYPEDEF_CLASSES
32 #include "circt/Dialect/FIRRTL/CHIRRTLTypes.h.inc"
33 
34 // Include generated ops.
35 #define GET_OP_CLASSES
36 #include "circt/Dialect/FIRRTL/CHIRRTL.h.inc"
37 
38 #endif // CIRCT_DIALECT_FIRRTL_CHIRRTLDIALECT_H