| //===- LinalgInterfaceImpl.h - Linalg Impl. of BufferizableOpInterface ----===// |
| // |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| // See https://llvm.org/LICENSE.txt for license information. |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| // |
| //===----------------------------------------------------------------------===// |
| |
| #ifndef MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_TENSOR_INTERFACE_IMPL_H |
| #define MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_TENSOR_INTERFACE_IMPL_H |
| |
| #include "mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.h" |
| |
| namespace mlir { |
| |
| class DialectRegistry; |
| |
| namespace linalg { |
| namespace comprehensive_bufferize { |
| namespace tensor_ext { |
| |
| struct InplaceInsertSliceOpAnalysis : public PostAnalysisStep { |
| LogicalResult run(FuncOp funcOp, BufferizationState &state, |
| SmallVector<Operation *> &newOps) override; |
| }; |
| |
| void registerBufferizableOpInterfaceExternalModels(DialectRegistry ®istry); |
| |
| } // namespace tensor_ext |
| } // namespace comprehensive_bufferize |
| } // namespace linalg |
| } // namespace mlir |
| |
| #endif // MLIR_DIALECT_LINALG_COMPREHENSIVEBUFFERIZE_TENSOR_INTERFACE_IMPL_H |