1//===- AMDGPUDialect.h - MLIR Dialect for AMDGPU ---------*- 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 a dialect for MLIR wrappers around AMDGPU-specific
10// intrinssics and for other AMD GPU-specific functionality.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef MLIR_DIALECT_AMDGPU_IR_AMDGPUDIALECT_H_
15#define MLIR_DIALECT_AMDGPU_IR_AMDGPUDIALECT_H_
16
17#include "mlir/Bytecode/BytecodeOpInterface.h"
18#include "mlir/IR/BuiltinTypes.h"
19#include "mlir/IR/Dialect.h"
20#include "mlir/IR/OpDefinition.h"
21#include "mlir/Interfaces/SideEffectInterfaces.h"
22
23#include "mlir/Dialect/AMDGPU/IR/AMDGPUDialect.h.inc"
24
25#include "mlir/Dialect/AMDGPU/IR/AMDGPUEnums.h.inc"
26
27#define GET_ATTRDEF_CLASSES
28#include "mlir/Dialect/AMDGPU/IR/AMDGPUAttributes.h.inc"
29
30#define GET_OP_CLASSES
31#include "mlir/Dialect/AMDGPU/IR/AMDGPU.h.inc"
32
33#endif // MLIR_DIALECT_AMDGPU_IR_AMDGPUDIALECT_H_
34

source code of mlir/include/mlir/Dialect/AMDGPU/IR/AMDGPUDialect.h