MLIR  19.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"
23 #include <optional>
24 
25 namespace mlir {
26 namespace irdl {
27 class TypeOp;
28 class AttributeOp;
29 } // namespace irdl
30 } // namespace mlir
31 
32 //===----------------------------------------------------------------------===//
33 // IRDL Dialect Interfaces
34 //===----------------------------------------------------------------------===//
35 
36 #include "mlir/Dialect/IRDL/IR/IRDLInterfaces.h.inc"
37 
38 #endif // MLIR_DIALECT_IRDL_IR_IRDLINTERFACES_H_
Include the generated interface declarations.