MLIR  22.0.0git
MathToXeVM.h
Go to the documentation of this file.
1 //===- MathToXeVM.h - Utils for converting Math to XeVM -------------------===//
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 #ifndef MLIR_CONVERSION_MATHTOXEVM_MATHTOXEVM_H_
9 #define MLIR_CONVERSION_MATHTOXEVM_MATHTOXEVM_H_
10 
13 #include "mlir/IR/PatternMatch.h"
14 #include <memory>
15 
16 namespace mlir {
17 class Pass;
18 
19 #define GEN_PASS_DECL_CONVERTMATHTOXEVM
20 #include "mlir/Conversion/Passes.h.inc"
21 
22 /// Populate the given list with patterns that convert from Math to XeVM calls.
23 void populateMathToXeVMConversionPatterns(RewritePatternSet &patterns,
24  bool convertArith);
25 } // namespace mlir
26 
27 #endif // MLIR_CONVERSION_MATHTOXEVM_MATHTOXEVM_H_
Include the generated interface declarations.
void populateMathToXeVMConversionPatterns(RewritePatternSet &patterns, bool convertArith)
Populate the given list with patterns that convert from Math to XeVM calls.
Definition: MathToXeVM.cpp:122
const FrozenRewritePatternSet & patterns