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 DialectRegistry;
17 class Pass;
18 class RewritePatternSet;
19 
20 #define GEN_PASS_DECL_SCFTOEMITC
21 #include "mlir/Conversion/Passes.h.inc"
22 
23 /// Collect a set of patterns to convert SCF operations to the EmitC dialect.
24 void populateSCFToEmitCConversionPatterns(RewritePatternSet &patterns,
25  TypeConverter &typeConverter);
26 
27 void registerConvertSCFToEmitCInterface(DialectRegistry &registry);
28 } // namespace mlir
29 
30 #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:336
const FrozenRewritePatternSet & patterns
void registerConvertSCFToEmitCInterface(DialectRegistry &registry)
Definition: SCFToEmitC.cpp:53