1 | //===- NVVMTOLLVMPass.h - Convert NVVM to LLVM dialect --------*- 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 | #ifndef MLIR_CONVERSION_NVVMTOLLVM_NVVMTOLLVMPASS_H_ |
9 | #define MLIR_CONVERSION_NVVMTOLLVM_NVVMTOLLVMPASS_H_ |
10 | |
11 | #include <memory> |
12 | |
13 | namespace mlir { |
14 | class DialectRegistry; |
15 | class LLVMTypeConverter; |
16 | class RewritePatternSet; |
17 | class Pass; |
18 | |
19 | #define GEN_PASS_DECL_CONVERTNVVMTOLLVMPASS |
20 | #include "mlir/Conversion/Passes.h.inc" |
21 | |
22 | void populateNVVMToLLVMConversionPatterns(RewritePatternSet &patterns); |
23 | |
24 | void registerConvertNVVMToLLVMInterface(DialectRegistry ®istry); |
25 | |
26 | } // namespace mlir |
27 | |
28 | #endif // MLIR_CONVERSION_NVVMTOLLVM_NVVMTOLLVMPASS_H_ |
29 | |