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
14#include <memory>
15
16namespace mlir {
17class 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.
24 bool convertArith);
25} // namespace mlir
26
27#endif // MLIR_CONVERSION_MATHTOXEVM_MATHTOXEVM_H_
The abstract base pass class.
Definition Pass.h:51
Include the generated interface declarations.
void populateMathToXeVMConversionPatterns(RewritePatternSet &patterns, bool convertArith)
Populate the given list with patterns that convert from Math to XeVM calls.
const FrozenRewritePatternSet & patterns