MLIR  17.0.0git
MathToLLVM.h
Go to the documentation of this file.
1 //===- MathToLLVM.h - Math 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_MATHTOLLVM_MATHTOLLVM_H
10 #define MLIR_CONVERSION_MATHTOLLVM_MATHTOLLVM_H
11 
12 #include <memory>
13 
14 namespace mlir {
15 
16 class LLVMTypeConverter;
17 class RewritePatternSet;
18 class Pass;
19 
20 #define GEN_PASS_DECL_CONVERTMATHTOLLVM
21 #include "mlir/Conversion/Passes.h.inc"
22 
23 void populateMathToLLVMConversionPatterns(LLVMTypeConverter &converter,
24  RewritePatternSet &patterns);
25 
26 std::unique_ptr<Pass> createConvertMathToLLVMPass();
27 } // namespace mlir
28 
29 #endif // MLIR_CONVERSION_MATHTOLLVM_MATHTOLLVM_H
Include the generated interface declarations.
void populateMathToLLVMConversionPatterns(LLVMTypeConverter &converter, RewritePatternSet &patterns)
Definition: MathToLLVM.cpp:303
std::unique_ptr< Pass > createConvertMathToLLVMPass()
Definition: MathToLLVM.cpp:336