MLIR
24.0.0git
include
mlir
CAPI
Remarks.h
Go to the documentation of this file.
1
//===- Remarks.h - C API Utils for MLIR Remarks -----------------*- 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 declares the conversion between the C API remark type and its C++
10
// counterpart.
11
//
12
//===----------------------------------------------------------------------===//
13
14
#ifndef MLIR_CAPI_REMARKS_H
15
#define MLIR_CAPI_REMARKS_H
16
17
#include "
mlir-c/Remarks.h
"
18
#include "
mlir/CAPI/Wrap.h
"
19
#include "
mlir/IR/Remarks.h
"
20
21
DEFINE_C_API_PTR_METHODS
(
MlirRemark
,
const
mlir::remark::detail::Remark
)
22
23
#endif
// MLIR_CAPI_REMARKS_H
Wrap.h
DEFINE_C_API_PTR_METHODS
#define DEFINE_C_API_PTR_METHODS(name, cpptype)
Definition
Wrap.h:25
mlir::remark::detail::Remark
Definition
Remarks.h:148
Remarks.h
Remarks.h
MlirRemark
An opaque reference to a remark.
Definition
Remarks.h:32
Generated on
for MLIR by
1.14.0