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 16 #include "mlir/Dialect/IRDL/IRDLVerifiers.h" 17 #include "mlir/IR/BuiltinAttributes.h" 18 #include "mlir/IR/Diagnostics.h" 19 #include "mlir/IR/ExtensibleDialect.h" 20 #include "mlir/IR/OpImplementation.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_ 38