MLIR 23.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
16#include "llvm/ADT/TypeSwitch.h"
17
18#define GET_ATTRDEF_CLASSES
19#include "mlir/Dialect/AMDGPU/IR/AMDGPUAttrs.cpp.inc"
20
21void mlir::amdgpu::AMDGPUDialect::registerAttributes() {
22 addAttributes<
23#define GET_ATTRDEF_LIST
24#include "mlir/Dialect/AMDGPU/IR/AMDGPUAttrs.cpp.inc"
25 >();
26}