MLIR
23.0.0git
lib
Dialect
AMDGPU
IR
AMDGPUTypes.cpp
Go to the documentation of this file.
1
//===- AMDGPUTypes.cpp - MLIR AMDGPU dialect types ------------------------===//
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 types.
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_TYPEDEF_CLASSES
19
#include "mlir/Dialect/AMDGPU/IR/AMDGPUTypes.cpp.inc"
20
21
void
mlir::amdgpu::AMDGPUDialect::registerTypes() {
22
addTypes<
23
#define GET_TYPEDEF_LIST
24
#include "mlir/Dialect/AMDGPU/IR/AMDGPUTypes.cpp.inc"
25
>();
26
}
AMDGPUDialect.h
DialectImplementation.h
Generated on
for MLIR by
1.14.0