MLIR
24.0.0git
include
mlir
Dialect
XeGPU
IR
XeGPU.h
Go to the documentation of this file.
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/ArithAttributes.h
"
14
#include "
mlir/Dialect/Utils/IndexingUtils.h
"
15
#include "
mlir/Dialect/Vector/IR/VectorOps.h
"
16
#include "
mlir/IR/BuiltinTypes.h
"
17
#include "
mlir/IR/TypeUtilities.h
"
18
#include "
mlir/IR/Value.h
"
19
#include "
mlir/Interfaces/ShapedOpInterfaces.h
"
20
#include "
mlir/Interfaces/SideEffectInterfaces.h
"
21
#include "
mlir/Interfaces/ViewLikeInterface.h
"
22
23
namespace
mlir
{
24
namespace
xegpu
{
25
class
TensorDescType;
26
class
DistributeLayoutAttr;
27
class
LayoutAttr;
28
class
SliceAttr;
29
30
/// Specifies the level of a layout hierarchy for comparison or propagation.
31
enum class
LayoutKind
{
Lane
,
InstData
,
Subgroup
};
32
33
}
// namespace xegpu
34
}
// namespace mlir
35
36
// clang-format off
37
#include <mlir/Dialect/XeGPU/IR/XeGPUEnums.h.inc>
38
#include <mlir/Dialect/XeGPU/IR/XeGPUAttrInterface.h.inc>
39
#include <mlir/Dialect/XeGPU/IR/XeGPUDialect.h.inc>
40
#include <mlir/Dialect/XeGPU/IR/XeGPUOpInterface.h.inc>
41
// clang-format on
42
43
#define GET_ATTRDEF_CLASSES
44
#include <mlir/Dialect/XeGPU/IR/XeGPUAttrs.h.inc>
45
#define GET_TYPEDEF_CLASSES
46
#include <mlir/Dialect/XeGPU/IR/XeGPUTypes.h.inc>
47
#define GET_OP_CLASSES
48
#include <mlir/Dialect/XeGPU/IR/XeGPU.h.inc>
49
50
#endif
// MLIR_DIALECT_XEGPU_IR_XEGPU_H
ArithAttributes.h
BytecodeOpInterface.h
IndexingUtils.h
ShapedOpInterfaces.h
SideEffectInterfaces.h
TypeUtilities.h
Value.h
VectorOps.h
ViewLikeInterface.h
BuiltinTypes.h
mlir::xegpu
Definition
XeGPU.h:24
mlir::xegpu::LayoutKind
LayoutKind
Specifies the level of a layout hierarchy for comparison or propagation.
Definition
XeGPU.h:31
mlir::xegpu::LayoutKind::Lane
@ Lane
Definition
XeGPU.h:31
mlir::xegpu::LayoutKind::Subgroup
@ Subgroup
Definition
XeGPU.h:31
mlir::xegpu::LayoutKind::InstData
@ InstData
Definition
XeGPU.h:31
mlir
Include the generated interface declarations.
Definition
ABIRewriteContext.h:32
Generated on
for MLIR by
1.14.0