//===- XeGPU.h - MLIR dialect for XeGPU -------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef MLIR_DIALECT_XEGPU_IR_XEGPU_H #define MLIR_DIALECT_XEGPU_IR_XEGPU_H #include "mlir/Bytecode/BytecodeOpInterface.h" #include "mlir/Dialect/Arith/IR/Arith.h" #include "mlir/Dialect/Utils/IndexingUtils.h" #include "mlir/Dialect/Vector/IR/VectorOps.h" #include "mlir/IR/BuiltinTypes.h" #include "mlir/IR/Dialect.h" #include "mlir/IR/TypeUtilities.h" #include "mlir/IR/Value.h" #include "mlir/Interfaces/ShapedOpInterfaces.h" #include "mlir/Interfaces/SideEffectInterfaces.h" #include "mlir/Interfaces/ViewLikeInterface.h" namespace mlir { namespace xegpu { class TensorDescType; class DistributeLayoutAttr; class LayoutAttr; class SliceAttr; /// Specifies the level of a layout hierarchy for comparison or propagation. enum class LayoutKind { Lane, InstData, Subgroup }; } // namespace xegpu } // namespace mlir // clang-format off #include #include #include #include // clang-format on #define GET_ATTRDEF_CLASSES #include #define GET_TYPEDEF_CLASSES #include #define GET_OP_CLASSES #include #endif // MLIR_DIALECT_XEGPU_IR_XEGPU_H