| 1 | //===- ArithToEmitC.h - Arith 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_ARITHTOEMITC_ARITHTOEMITC_H |
| 10 | #define MLIR_CONVERSION_ARITHTOEMITC_ARITHTOEMITC_H |
| 11 | |
| 12 | namespace mlir { |
| 13 | class DialectRegistry; |
| 14 | class RewritePatternSet; |
| 15 | class TypeConverter; |
| 16 | |
| 17 | void populateArithToEmitCPatterns(TypeConverter &typeConverter, |
| 18 | RewritePatternSet &patterns); |
| 19 | |
| 20 | void registerConvertArithToEmitCInterface(DialectRegistry ®istry); |
| 21 | } // namespace mlir |
| 22 | |
| 23 | #endif // MLIR_CONVERSION_ARITHTOEMITC_ARITHTOEMITC_H |
| 24 |