1 | //===- SparseTensorPasses.cpp - C API for SparseTensor Dialect Passes -----===// |
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 | #include "mlir/CAPI/Pass.h" |
10 | #include "mlir/Dialect/SparseTensor/Transforms/Passes.h" |
11 | #include "mlir/Pass/Pass.h" |
12 | |
13 | // Must include the declarations as they carry important visibility attributes. |
14 | #include "mlir/Dialect/SparseTensor/Transforms/Passes.capi.h.inc" |
15 | |
16 | using namespace mlir; |
17 | |
18 | #ifdef __cplusplus |
19 | extern "C" { |
20 | #endif |
21 | |
22 | #include "mlir/Dialect/SparseTensor/Transforms/Passes.capi.cpp.inc" |
23 | |
24 | #ifdef __cplusplus |
25 | } |
26 | #endif |
27 | |