My Project
ROCDLIR.h
Go to the documentation of this file.
1 //===- ROCDLIR.h - MLIR to LLVM + ROCDL 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 + ROCDL IR
10 // conversion.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef MLIR_TARGET_ROCDLIR_H
15 #define MLIR_TARGET_ROCDLIR_H
16 
17 #include <memory>
18 
19 // Forward-declare LLVM classes.
20 namespace llvm {
21 class Module;
22 } // namespace llvm
23 
24 namespace mlir {
25 class Operation;
26 
32 std::unique_ptr<llvm::Module> translateModuleToROCDLIR(Operation *m);
33 
34 } // namespace mlir
35 
36 #endif // MLIR_TARGET_ROCDLIR_H
Definition: InferTypeOpInterface.cpp:20
Definition: PassRegistry.cpp:413
std::unique_ptr< llvm::Module > translateModuleToROCDLIR(Operation *m)
Definition: ConvertToROCDLIR.cpp:77