My Project
NVVMIR.h
Go to the documentation of this file.
1 //===- NVVMIR.h - MLIR to LLVM + NVVM IR conversion -------------*- C++ -*-===//
2 //
3 // Part of the MLIR 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 // This file declares the entry point for the MLIR to LLVM + NVVM IR conversion.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef MLIR_TARGET_NVVMIR_H
14 #define MLIR_TARGET_NVVMIR_H
15 
16 #include <memory>
17 
18 // Forward-declare LLVM classes.
19 namespace llvm {
20 class Module;
21 } // namespace llvm
22 
23 namespace mlir {
24 class Operation;
25 
31 std::unique_ptr<llvm::Module> translateModuleToNVVMIR(Operation *m);
32 
33 } // namespace mlir
34 
35 #endif // MLIR_TARGET_NVVMIR_H
Definition: InferTypeOpInterface.cpp:20
Definition: PassRegistry.cpp:413
std::unique_ptr< llvm::Module > translateModuleToNVVMIR(Operation *m)
Definition: ConvertToNVVMIR.cpp:68