MLIR  22.0.0git
ComplexToROCDLLibraryCalls.h
Go to the documentation of this file.
1 //===- ComplexToROCDLLibraryCalls.h - convert from Complex to ROCDL calls -===//
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_COMPLEXTOROCDLLIBRARYCALLS_COMPLEXTOROCDLLIBRARYCALLS_H_
10 #define MLIR_CONVERSION_COMPLEXTOROCDLLIBRARYCALLS_COMPLEXTOROCDLLIBRARYCALLS_H_
11 
12 #include "mlir/IR/PatternMatch.h"
13 #include "mlir/Pass/Pass.h"
14 
15 namespace mlir {
16 class RewritePatternSet;
17 
18 #define GEN_PASS_DECL_CONVERTCOMPLEXTOROCDLLIBRARYCALLS
19 #include "mlir/Conversion/Passes.h.inc"
20 
21 /// Populate the given list with patterns that convert from Complex to ROCDL
22 /// calls.
24  RewritePatternSet &patterns);
25 } // namespace mlir
26 
27 #endif // MLIR_CONVERSION_COMPLEXTOROCDLLIBRARYCALLS_COMPLEXTOROCDLLIBRARYCALLS_H_
Include the generated interface declarations.
void populateComplexToROCDLLibraryCallsConversionPatterns(RewritePatternSet &patterns)
Populate the given list with patterns that convert from Complex to ROCDL calls.
const FrozenRewritePatternSet & patterns