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