MLIR  20.0.0git
IRDLInterfaces.h
Go to the documentation of this file.
1 //===- IRDLInterfaces.h - IRDL interfaces definition ------------*- 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 interfaces used by the IRDL dialect.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef MLIR_DIALECT_IRDL_IR_IRDLINTERFACES_H_
14 #define MLIR_DIALECT_IRDL_IR_IRDLINTERFACES_H_
15 
18 #include "mlir/IR/Diagnostics.h"
21 #include "mlir/IR/Types.h"
22 #include <optional>
23 
24 namespace mlir {
25 namespace irdl {
26 class TypeOp;
27 class AttributeOp;
28 } // namespace irdl
29 } // namespace mlir
30 
31 //===----------------------------------------------------------------------===//
32 // IRDL Dialect Interfaces
33 //===----------------------------------------------------------------------===//
34 
35 #include "mlir/Dialect/IRDL/IR/IRDLInterfaces.h.inc"
36 
37 #endif // MLIR_DIALECT_IRDL_IR_IRDLINTERFACES_H_
Include the generated interface declarations.