1 | //===- ParallelCombiningOpInterface.h - Parallel combining op interface ---===// |
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 implements the operation interface for ops that parallel combining |
10 | // operations. |
11 | // |
12 | //===----------------------------------------------------------------------===// |
13 | |
14 | #ifndef MLIR_INTERFACES_PARALLELCOMBININGOPINTERFACE_H_ |
15 | #define MLIR_INTERFACES_PARALLELCOMBININGOPINTERFACE_H_ |
16 | |
17 | #include "mlir/IR/OpDefinition.h" |
18 | |
19 | namespace mlir { |
20 | namespace detail { |
21 | // TODO: Single region single block interface on interfaces ? |
22 | LogicalResult verifyParallelCombiningOpInterface(Operation *op); |
23 | } // namespace detail |
24 | } // namespace mlir |
25 | |
26 | /// Include the generated interface declarations. |
27 | #include "mlir/Interfaces/ParallelCombiningOpInterface.h.inc" |
28 | |
29 | #endif // MLIR_INTERFACES_PARALLELCOMBININGOPINTERFACE_H_ |
30 | |