1 //===- XeGPU.h - MLIR dialect for XeGPU -------------------------*- 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 #ifndef MLIR_DIALECT_XEGPU_IR_XEGPU_H 10 #define MLIR_DIALECT_XEGPU_IR_XEGPU_H 11 12 #include "mlir/Bytecode/BytecodeOpInterface.h" 13 #include "mlir/Dialect/Arith/IR/Arith.h" 14 #include "mlir/Dialect/Vector/IR/VectorOps.h" 15 #include "mlir/IR/BuiltinTypes.h" 16 #include "mlir/IR/Dialect.h" 17 #include "mlir/IR/TypeUtilities.h" 18 #include "mlir/Interfaces/ShapedOpInterfaces.h" 19 #include "mlir/Interfaces/SideEffectInterfaces.h" 20 #include "mlir/Interfaces/ViewLikeInterface.h" 21 22 namespace mlir { 23 namespace xegpu { 24 class TensorDescType; 25 } // namespace xegpu 26 } // namespace mlir 27 28 #include <mlir/Dialect/XeGPU/IR/XeGPUDialect.h.inc> 29 #include <mlir/Dialect/XeGPU/IR/XeGPUEnums.h.inc> 30 #define GET_ATTRDEF_CLASSES 31 #include <mlir/Dialect/XeGPU/IR/XeGPUAttrs.h.inc> 32 #define GET_TYPEDEF_CLASSES 33 #include <mlir/Dialect/XeGPU/IR/XeGPUTypes.h.inc> 34 #define GET_OP_CLASSES 35 #include <mlir/Dialect/XeGPU/IR/XeGPU.h.inc> 36 37 #endif // MLIR_DIALECT_XEGPU_IR_XEGPU_H 38