MLIR-AIE
Dialects.h
Go to the documentation of this file.
1//===- Dialects.h -----------------------------------------------*- C++ -*-===//
2//
3// Copyright (C) 2022, Advanced Micro Devices, Inc. All rights reserved.
4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5//
6//===----------------------------------------------------------------------===//
7
8#ifndef AIE_C_DIALECTS_H
9#define AIE_C_DIALECTS_H
10
11#include "mlir-c/IR.h"
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
20
21//===---------------------------------------------------------------------===//
22// ObjectFifoType
23//===---------------------------------------------------------------------===//
24
25MLIR_CAPI_EXPORTED bool aieTypeIsObjectFifoType(MlirType type);
26MLIR_CAPI_EXPORTED MlirType aieObjectFifoTypeGet(MlirType type);
27
28//===---------------------------------------------------------------------===//
29// ObjectFifoSubviewType
30//===---------------------------------------------------------------------===//
31
32MLIR_CAPI_EXPORTED bool aieTypeIsObjectFifoSubviewType(MlirType type);
33MLIR_CAPI_EXPORTED MlirType aieObjectFifoSubviewTypeGet(MlirType type);
34
35#ifdef __cplusplus
36}
37#endif
38
39#endif // AIE_C_DIALECTS_H
MLIR_CAPI_EXPORTED bool aieTypeIsObjectFifoSubviewType(MlirType type)
Definition Dialects.cpp:43
MLIR_CAPI_EXPORTED MlirType aieObjectFifoSubviewTypeGet(MlirType type)
Definition Dialects.cpp:47
MLIR_CAPI_EXPORTED MlirType aieObjectFifoTypeGet(MlirType type)
Definition Dialects.cpp:34
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(AIE, aie)
MLIR_CAPI_EXPORTED bool aieTypeIsObjectFifoType(MlirType type)