MLIR 22.0.0git
AMDGPU.h
Go to the documentation of this file.
1//===-- mlir-c/Dialect/AMDGPU.h - C API for AMDGPU dialect --*- C -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM
4// Exceptions.
5// See https://llvm.org/LICENSE.txt for license information.
6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef MLIR_C_DIALECT_AMDGPU_H
11#define MLIR_C_DIALECT_AMDGPU_H
12
13#include "mlir-c/IR.h"
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
20
21//===---------------------------------------------------------------------===//
22// TDMBaseType
23//===---------------------------------------------------------------------===//
24
26
28
29MLIR_CAPI_EXPORTED MlirType mlirAMDGPUTDMBaseTypeGet(MlirContext ctx,
30 MlirType elementType);
31
33
34//===---------------------------------------------------------------------===//
35// TDMDescriptorType
36//===---------------------------------------------------------------------===//
37
39
41
43
45
46//===---------------------------------------------------------------------===//
47// TDMGatherBaseType
48//===---------------------------------------------------------------------===//
49
51
53
55 MlirType elementType,
56 MlirType indexType);
57
59
60#ifdef __cplusplus
61}
62#endif
63
64#include "mlir/Dialect/AMDGPU/Transforms/Passes.capi.h.inc"
65
66#endif // MLIR_C_DIALECT_AMDGPU_H
MLIR_CAPI_EXPORTED bool mlirTypeIsAAMDGPUTDMGatherBaseType(MlirType type)
Definition AMDGPU.cpp:63
MLIR_CAPI_EXPORTED bool mlirTypeIsAAMDGPUTDMDescriptorType(MlirType type)
Definition AMDGPU.cpp:43
MLIR_CAPI_EXPORTED MlirType mlirAMDGPUTDMGatherBaseTypeGet(MlirContext ctx, MlirType elementType, MlirType indexType)
Definition AMDGPU.cpp:71
MLIR_CAPI_EXPORTED MlirType mlirAMDGPUTDMDescriptorTypeGet(MlirContext ctx)
Definition AMDGPU.cpp:51
MLIR_CAPI_EXPORTED MlirTypeID mlirAMDGPUTDMDescriptorTypeGetTypeID()
Definition AMDGPU.cpp:47
MLIR_CAPI_EXPORTED bool mlirTypeIsAAMDGPUTDMBaseType(MlirType type)
Definition AMDGPU.cpp:23
MLIR_CAPI_EXPORTED MlirStringRef mlirAMDGPUTDMBaseTypeGetName(void)
Definition AMDGPU.cpp:35
MLIR_CAPI_EXPORTED MlirType mlirAMDGPUTDMBaseTypeGet(MlirContext ctx, MlirType elementType)
Definition AMDGPU.cpp:31
MLIR_CAPI_EXPORTED MlirTypeID mlirAMDGPUTDMBaseTypeGetTypeID()
Definition AMDGPU.cpp:27
MLIR_CAPI_EXPORTED MlirTypeID mlirAMDGPUTDMGatherBaseTypeGetTypeID()
Definition AMDGPU.cpp:67
MLIR_CAPI_EXPORTED MlirStringRef mlirAMDGPUTDMDescriptorTypeGetName(void)
Definition AMDGPU.cpp:55
MLIR_CAPI_EXPORTED MlirStringRef mlirAMDGPUTDMGatherBaseTypeGetName(void)
Definition AMDGPU.cpp:77
#define MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Name, Namespace)
Definition IR.h:215
#define MLIR_CAPI_EXPORTED
Definition Support.h:46
A pointer to a sized fragment of a string, not necessarily null-terminated.
Definition Support.h:75