MLIR  20.0.0git
MathToROCDL.h
Go to the documentation of this file.
1 //===- MathToROCDL.h - Utils to convert from the complex dialect --------===//
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_MATHTOROCDL_MATHTOROCDL_H_
9 #define MLIR_CONVERSION_MATHTOROCDL_MATHTOROCDL_H_
10 
12 #include "mlir/IR/PatternMatch.h"
13 #include <memory>
14 
15 namespace mlir {
16 class Pass;
17 
18 #define GEN_PASS_DECL_CONVERTMATHTOROCDL
19 #include "mlir/Conversion/Passes.h.inc"
20 
21 /// Populate the given list with patterns that convert from Math to ROCDL calls.
22 void populateMathToROCDLConversionPatterns(const LLVMTypeConverter &converter,
23  RewritePatternSet &patterns);
24 } // namespace mlir
25 
26 #endif // MLIR_CONVERSION_MATHTOROCDL_MATHTOROCDL_H_
Include the generated interface declarations.
void populateMathToROCDLConversionPatterns(const LLVMTypeConverter &converter, RewritePatternSet &patterns)
Populate the given list with patterns that convert from Math to ROCDL calls.
Definition: MathToROCDL.cpp:48