MLIR  16.0.0git
MemRefToLLVM.h
Go to the documentation of this file.
1 //===- MemRefToLLVM.h - MemRef to LLVM dialect conversion -------*- 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_CONVERSION_MEMREFTOLLVM_MEMREFTOLLVM_H
10 #define MLIR_CONVERSION_MEMREFTOLLVM_MEMREFTOLLVM_H
11 
12 #include <memory>
13 
14 namespace mlir {
15 class Pass;
16 class LLVMTypeConverter;
17 class RewritePatternSet;
18 
19 #define GEN_PASS_DECL_MEMREFTOLLVMCONVERSIONPASS
20 #include "mlir/Conversion/Passes.h.inc"
21 
22 /// Collect a set of patterns to convert memory-related operations from the
23 /// MemRef dialect to the LLVM dialect.
24 void populateMemRefToLLVMConversionPatterns(LLVMTypeConverter &converter,
25  RewritePatternSet &patterns);
26 } // namespace mlir
27 
28 #endif // MLIR_CONVERSION_MEMREFTOLLVM_MEMREFTOLLVM_H
Include the generated interface declarations.
void populateMemRefToLLVMConversionPatterns(LLVMTypeConverter &converter, RewritePatternSet &patterns)
Collect a set of patterns to convert memory-related operations from the MemRef dialect to the LLVM di...