MLIR  21.0.0git
FuncToEmitC.h
Go to the documentation of this file.
1 //===- FuncToEmitC.h - Func to EmitC Patterns -------------------*- 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_FUNCTOEMITC_FUNCTOEMITC_H
10 #define MLIR_CONVERSION_FUNCTOEMITC_FUNCTOEMITC_H
11 
12 namespace mlir {
13 class DialectRegistry;
14 class RewritePatternSet;
15 class TypeConverter;
16 
17 void populateFuncToEmitCPatterns(const TypeConverter &typeConverter,
18  RewritePatternSet &patterns);
19 
20 void registerConvertFuncToEmitCInterface(DialectRegistry &registry);
21 } // namespace mlir
22 
23 #endif // MLIR_CONVERSION_FUNCTOEMITC_FUNCTOEMITC_H
Include the generated interface declarations.
void registerConvertFuncToEmitCInterface(DialectRegistry &registry)
Definition: FuncToEmitC.cpp:39
const FrozenRewritePatternSet & patterns
void populateFuncToEmitCPatterns(const TypeConverter &typeConverter, RewritePatternSet &patterns)