MLIR  19.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 
12 #include <memory>
13 
14 namespace mlir {
15 class Pass;
16 class RewritePatternSet;
17 
18 #define GEN_PASS_DECL_SCFTOEMITC
19 #include "mlir/Conversion/Passes.h.inc"
20 
21 /// Collect a set of patterns to convert SCF operations to the EmitC dialect.
22 void populateSCFToEmitCConversionPatterns(RewritePatternSet &patterns);
23 } // namespace mlir
24 
25 #endif // MLIR_CONVERSION_SCFTOEMITC_SCFTOEMITC_H
Include the generated interface declarations.
void populateSCFToEmitCConversionPatterns(RewritePatternSet &patterns)
Collect a set of patterns to convert SCF operations to the EmitC dialect.
Definition: SCFToEmitC.cpp:185