MLIR  16.0.0git
ArithmeticToLLVM.h
Go to the documentation of this file.
1 //===- ArithmeticToLLVM.h - Arith 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_ARITHMETICTOLLVM_ARITHMETICTOLLVM_H
10 #define MLIR_CONVERSION_ARITHMETICTOLLVM_ARITHMETICTOLLVM_H
11 
12 #include <memory>
13 
14 namespace mlir {
15 
16 class LLVMTypeConverter;
17 class RewritePatternSet;
18 class Pass;
19 
20 namespace arith {
22  RewritePatternSet &patterns);
23 
24 std::unique_ptr<Pass> createConvertArithmeticToLLVMPass();
25 } // namespace arith
26 } // namespace mlir
27 
28 #endif // MLIR_CONVERSION_ARITHMETICTOLLVM_ARITHMETICTOLLVM_H
Include the generated interface declarations.
void populateArithmeticToLLVMConversionPatterns(LLVMTypeConverter &converter, RewritePatternSet &patterns)
std::unique_ptr< Pass > createConvertArithmeticToLLVMPass()
Conversion from types to the LLVM IR dialect.
Definition: TypeConverter.h:30