MLIR  19.0.0git
IndexToLLVM.h
Go to the documentation of this file.
1 //===- IndexToLLVM.h - Index 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_INDEXTOLLVM_INDEXTOLLVM_H
10 #define MLIR_CONVERSION_INDEXTOLLVM_INDEXTOLLVM_H
11 
12 #include <memory>
13 
14 namespace mlir {
15 class DialectRegistry;
16 class LLVMTypeConverter;
17 class RewritePatternSet;
18 class Pass;
19 
20 #define GEN_PASS_DECL_CONVERTINDEXTOLLVMPASS
21 #include "mlir/Conversion/Passes.h.inc"
22 
23 namespace index {
25  RewritePatternSet &patterns);
26 
28 
29 } // namespace index
30 } // namespace mlir
31 
32 #endif // MLIR_CONVERSION_INDEXTOLLVM_INDEXTOLLVM_H
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
Conversion from types to the LLVM IR dialect.
Definition: TypeConverter.h:34
void populateIndexToLLVMConversionPatterns(LLVMTypeConverter &converter, RewritePatternSet &patterns)
void registerConvertIndexToLLVMInterface(DialectRegistry &registry)
Include the generated interface declarations.