MLIR
23.0.0git
include
mlir
CAPI
Interfaces.h
Go to the documentation of this file.
1
//===- Interfaces.h - C API Utils for MLIR interfaces -----------*- C++ -*-===//
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 contains declarations of implementation details of the C API for
10
// MLIR interface classes. This file should not be included from C++ code other
11
// than C API implementation nor from C code.
12
//
13
//===----------------------------------------------------------------------===//
14
15
#ifndef MLIR_CAPI_INTERFACES_H
16
#define MLIR_CAPI_INTERFACES_H
17
18
#include "
mlir-c/Interfaces.h
"
19
#include "
mlir/CAPI/Wrap.h
"
20
#include "
mlir/Interfaces/SideEffectInterfaces.h
"
21
22
DEFINE_C_API_PTR_METHODS
(
23
MlirMemoryEffectInstancesList,
24
llvm::SmallVectorImpl<mlir::MemoryEffects::EffectInstance>
)
25
26
#endif
// MLIR_CAPI_INTERFACES_H
SideEffectInterfaces.h
Wrap.h
DEFINE_C_API_PTR_METHODS
#define DEFINE_C_API_PTR_METHODS(name, cpptype)
Definition
Wrap.h:25
llvm::SmallVectorImpl
Definition
LLVM.h:66
Interfaces.h
Generated on
for MLIR by
1.14.0