MLIR 22.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
15namespace mlir {
16class DialectRegistry;
17class Pass;
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.
25 TypeConverter &typeConverter);
26
27void registerConvertSCFToEmitCInterface(DialectRegistry &registry);
28} // namespace mlir
29
30#endif // MLIR_CONVERSION_SCFTOEMITC_SCFTOEMITC_H
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
The abstract base pass class.
Definition Pass.h:51
Include the generated interface declarations.
void populateSCFToEmitCConversionPatterns(RewritePatternSet &patterns, TypeConverter &typeConverter)
Collect a set of patterns to convert SCF operations to the EmitC dialect.
const FrozenRewritePatternSet & patterns
void registerConvertSCFToEmitCInterface(DialectRegistry &registry)