MLIR  19.0.0git
IRDL.h
Go to the documentation of this file.
1 //===- IRDL.h - IR Definition Language dialect ------------------*- 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 declares the dialect for the IR Definition Language.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef MLIR_DIALECT_IRDL_IR_IRDL_H_
14 #define MLIR_DIALECT_IRDL_IR_IRDL_H_
15 
19 #include "mlir/IR/SymbolTable.h"
22 
23 #include <memory>
24 
25 // Forward declaration.
26 namespace mlir {
27 namespace irdl {
28 class OpDef;
29 class OpDefAttr;
30 } // namespace irdl
31 } // namespace mlir
32 
33 //===----------------------------------------------------------------------===//
34 // IRDL Dialect
35 //===----------------------------------------------------------------------===//
36 
37 #include "mlir/Dialect/IRDL/IR/IRDLDialect.h.inc"
38 
39 #define GET_TYPEDEF_CLASSES
40 #include "mlir/Dialect/IRDL/IR/IRDLTypesGen.h.inc"
41 
42 #include "mlir/Dialect/IRDL/IR/IRDLEnums.h.inc"
43 
44 #define GET_ATTRDEF_CLASSES
45 #include "mlir/Dialect/IRDL/IR/IRDLAttributes.h.inc"
46 
47 #define GET_OP_CLASSES
48 #include "mlir/Dialect/IRDL/IR/IRDLOps.h.inc"
49 
50 #endif // MLIR_DIALECT_IRDL_IR_IRDL_H_
Include the generated interface declarations.