MLIR  19.0.0git
DestinationStyleOpInterface.h
Go to the documentation of this file.
1 //===- DestinationStyleOpInterface.h ----------------------------*- 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_INTERFACES_DESTINATIONSTYLEOPINTERFACE_H_
10 #define MLIR_INTERFACES_DESTINATIONSTYLEOPINTERFACE_H_
11 
12 #include "mlir/IR/Builders.h"
13 #include "mlir/IR/BuiltinTypes.h"
14 #include "mlir/IR/IRMapping.h"
15 #include "mlir/IR/OpDefinition.h"
16 #include "mlir/IR/Value.h"
17 #include "llvm/ADT/SmallVector.h"
18 
19 namespace mlir {
20 namespace detail {
21 /// Verify that `op` conforms to the invariants of DestinationStyleOpInterface
22 LogicalResult verifyDestinationStyleOpInterface(Operation *op);
23 } // namespace detail
24 } // namespace mlir
25 
26 /// Include the generated interface declarations.
27 #include "mlir/Interfaces/DestinationStyleOpInterface.h.inc"
28 
29 #endif // MLIR_INTERFACES_DESTINATIONSTYLEOPINTERFACE_H_
LogicalResult verifyDestinationStyleOpInterface(Operation *op)
Verify that op conforms to the invariants of DestinationStyleOpInterface.
Include the generated interface declarations.