1//===- ArithToLLVM.h - Arith to LLVM dialect conversion ----*- 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_ARITHTOLLVM_ARITHTOLLVM_H
10#define MLIR_CONVERSION_ARITHTOLLVM_ARITHTOLLVM_H
11
12#include <memory>
13
14namespace mlir {
15
16class DialectRegistry;
17class LLVMTypeConverter;
18class RewritePatternSet;
19class Pass;
20
21#define GEN_PASS_DECL_ARITHTOLLVMCONVERSIONPASS
22#include "mlir/Conversion/Passes.h.inc"
23
24namespace arith {
25void populateArithToLLVMConversionPatterns(LLVMTypeConverter &converter,
26 RewritePatternSet &patterns);
27
28void registerConvertArithToLLVMInterface(DialectRegistry &registry);
29} // namespace arith
30} // namespace mlir
31
32#endif // MLIR_CONVERSION_ARITHTOLLVM_ARITHTOLLVM_H
33

source code of mlir/include/mlir/Conversion/ArithToLLVM/ArithToLLVM.h