MLIR  21.0.0git
SCFToEmitC.h
Go to the documentation of this file.
1 //===- SCFToEmitC.h - SCF to EmitC Pass entrypoint --------------*- C++ -*-===//
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_SCFTOEMITC_SCFTOEMITC_H
10 #define MLIR_CONVERSION_SCFTOEMITC_SCFTOEMITC_H
11 
13 #include <memory>
14 
15 namespace mlir {
16 class Pass;
17 class RewritePatternSet;
18 
19 #define GEN_PASS_DECL_SCFTOEMITC
20 #include "mlir/Conversion/Passes.h.inc"
21 
22 /// Collect a set of patterns to convert SCF operations to the EmitC dialect.
23 void populateSCFToEmitCConversionPatterns(RewritePatternSet &patterns,
24  TypeConverter &typeConverter);
25 } // namespace mlir
26 
27 #endif // MLIR_CONVERSION_SCFTOEMITC_SCFTOEMITC_H
Include the generated interface declarations.
void populateSCFToEmitCConversionPatterns(RewritePatternSet &patterns, TypeConverter &typeConverter)
Collect a set of patterns to convert SCF operations to the EmitC dialect.
Definition: SCFToEmitC.cpp:312
const FrozenRewritePatternSet & patterns