diff options
author | Francisco Jerez <[email protected]> | 2016-05-17 16:03:00 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2016-07-11 20:34:33 -0700 |
commit | 8195637363c9a5d979831405390157b11ecfc170 (patch) | |
tree | 88b8bf52a8c81ef37dc285bceec09744f45a688b /src/gallium/state_trackers/clover/llvm/codegen.hpp | |
parent | 71ac9820d6c612a3a0cd8fcea87f7f2bde82d640 (diff) |
clover/llvm: Split bitcode codegen into separate file.
Reviewed-by: Serge Martin <[email protected]>
Tested-by: Jan Vesely <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/clover/llvm/codegen.hpp')
-rw-r--r-- | src/gallium/state_trackers/clover/llvm/codegen.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/clover/llvm/codegen.hpp b/src/gallium/state_trackers/clover/llvm/codegen.hpp index 23f3b17e112..929bbda004f 100644 --- a/src/gallium/state_trackers/clover/llvm/codegen.hpp +++ b/src/gallium/state_trackers/clover/llvm/codegen.hpp @@ -38,6 +38,13 @@ namespace clover { namespace llvm { module + build_module_bitcode(const ::llvm::Module &mod, + const clang::CompilerInstance &c); + + std::string + print_module_bitcode(const ::llvm::Module &mod); + + module build_module_common(const ::llvm::Module &mod, const std::vector<char> &code, const std::map<std::string, unsigned> &offsets, |