xref: /llvm-project/mlir/include/mlir/CAPI/AffineExpr.h (revision 448f25c86b79aebae90718938b6a2cb4c782e57d)
1 //===- AffineExpr.h - C API Utils for Affine Expressions --------*- 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 Affine Expression. 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_AFFINEEXPR_H
16 #define MLIR_CAPI_AFFINEEXPR_H
17 
18 #include "mlir-c/AffineExpr.h"
19 #include "mlir/CAPI/Wrap.h"
20 #include "mlir/IR/AffineExpr.h"
21 
22 DEFINE_C_API_METHODS(MlirAffineExpr, mlir::AffineExpr)
23 
24 #endif // MLIR_CAPI_AFFINEEXPR_H
25