MLIR 24.0.0git
AMDGPUAttrs.cpp
Go to the documentation of this file.
1//===- AMDGPUAttrs.cpp - MLIR AMDGPU dialect attributes -------------------===//
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 implements the AMDGPU dialect attributes.
10//
11//===----------------------------------------------------------------------===//
12
14
15#define GET_ATTRDEF_CLASSES
16#include "mlir/Dialect/AMDGPU/IR/AMDGPUAttrs.cpp.inc"
17
18void mlir::amdgpu::AMDGPUDialect::registerAttributes() {
19 addAttributes<
20#define GET_ATTRDEF_LIST
21#include "mlir/Dialect/AMDGPU/IR/AMDGPUAttrs.cpp.inc"
22 >();
23}