1 //===- TestTypes.h - MLIR Test Dialect Types --------------------*- 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 contains types defined by the TestDialect for testing various 10 // features of MLIR. 11 // 12 //===----------------------------------------------------------------------===// 13 14 #ifndef MLIR_TESTATTRIBUTES_H 15 #define MLIR_TESTATTRIBUTES_H 16 17 #include <tuple> 18 19 #include "TestTraits.h" 20 #include "mlir/IR/Attributes.h" 21 #include "mlir/IR/Diagnostics.h" 22 #include "mlir/IR/Dialect.h" 23 #include "mlir/IR/DialectImplementation.h" 24 25 #include "TestAttrInterfaces.h.inc" 26 #include "TestOpEnums.h.inc" 27 28 namespace test { 29 struct TestExternalElementsDataHandle; 30 } // namespace test 31 32 #define GET_ATTRDEF_CLASSES 33 #include "TestAttrDefs.h.inc" 34 35 #endif // MLIR_TESTATTRIBUTES_H 36