MLIR
20.0.0git
include
mlir
Conversion
MathToROCDL
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
11
#include "
mlir/Conversion/LLVMCommon/TypeConverter.h
"
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_
PatternMatch.h
TypeConverter.h
mlir
Include the generated interface declarations.
Definition:
LocalAliasAnalysis.h:20
mlir::patterns
const FrozenRewritePatternSet & patterns
Definition:
GreedyPatternRewriteDriver.h:233
mlir::populateMathToROCDLConversionPatterns
void populateMathToROCDLConversionPatterns(const LLVMTypeConverter &converter, RewritePatternSet &patterns)
Populate the given list with patterns that convert from Math to ROCDL calls.
Definition:
MathToROCDL.cpp:48
Generated on Mon Dec 30 2024 16:31:55 for MLIR by
1.9.1