| 1 | //===- Dominance.h - C API wrap/unwrap for Dominance -------------*- 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 | #ifndef MLIR_CAPI_DOMINANCE_H |
| 10 | #define MLIR_CAPI_DOMINANCE_H |
| 11 | |
| 12 | #include "mlir-c/Dominance.h" |
| 13 | #include "mlir/CAPI/Wrap.h" |
| 14 | #include "mlir/IR/Dominance.h" |
| 15 | |
| 16 | DEFINE_C_API_PTR_METHODS(MlirDominanceInfo, mlir::DominanceInfo) |
| 17 | DEFINE_C_API_PTR_METHODS(MlirPostDominanceInfo, mlir::PostDominanceInfo) |
| 18 | |
| 19 | #endif // MLIR_CAPI_DOMINANCE_H |
| 20 |