1 //===- BufferizationToMemRef.h - Bufferization to MemRef conversion -------===// 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_CONVERSION_BUFFERIZATIONTOMEMREF_BUFFERIZATIONTOMEMREF_H 10 #define MLIR_CONVERSION_BUFFERIZATIONTOMEMREF_BUFFERIZATIONTOMEMREF_H 11 12 #include "mlir/Pass/Pass.h" 13 #include <memory> 14 15 namespace mlir { 16 class ModuleOp; 17 18 #define GEN_PASS_DECL_CONVERTBUFFERIZATIONTOMEMREF 19 #include "mlir/Conversion/Passes.h.inc" 20 21 std::unique_ptr<Pass> createBufferizationToMemRefPass(); 22 } // namespace mlir 23 24 #endif // MLIR_CONVERSION_BUFFERIZATIONTOMEMREF_BUFFERIZATIONTOMEMREF_H 25