MLIR  20.0.0git
AMDGPUDialect.h
Go to the documentation of this file.
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 
18 #include "mlir/IR/BuiltinTypes.h"
19 #include "mlir/IR/Dialect.h"
20 #include "mlir/IR/OpDefinition.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_