MLIR  21.0.0git
ConvertOpenACCToSCF.h
Go to the documentation of this file.
1 //===- ConvertOpenACCToSCF.h - OpenACC conversion pass entrypoint ---------===//
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_OPENACCTOSCF_CONVERTOPENACCTOSCF_H
9 #define MLIR_CONVERSION_OPENACCTOSCF_CONVERTOPENACCTOSCF_H
10 
11 #include "mlir/Pass/Pass.h"
12 #include <memory>
13 
14 namespace mlir {
15 class ModuleOp;
16 template <typename T>
17 class OperationPass;
18 class RewritePatternSet;
19 
20 #define GEN_PASS_DECL_CONVERTOPENACCTOSCFPASS
21 #include "mlir/Conversion/Passes.h.inc"
22 
23 /// Collect the patterns to convert from the OpenACC dialect to OpenACC with
24 /// SCF dialect.
25 void populateOpenACCToSCFConversionPatterns(RewritePatternSet &patterns);
26 
27 } // namespace mlir
28 
29 #endif // MLIR_CONVERSION_OPENACCTOSCF_CONVERTOPENACCTOSCF_H
Include the generated interface declarations.
void populateOpenACCToSCFConversionPatterns(RewritePatternSet &patterns)
Collect the patterns to convert from the OpenACC dialect to OpenACC with SCF dialect.
const FrozenRewritePatternSet & patterns