diff options
author | Francisco Jerez <[email protected]> | 2016-05-17 16:03:03 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2016-07-11 20:34:34 -0700 |
commit | 1a7d11aa3dc65e89f0d801707951afc32cbaa6ee (patch) | |
tree | 6e4649b8f73d0332a778c70eb6c8cb7bd7700a0d /src/gallium/state_trackers/clover/llvm/codegen.hpp | |
parent | 86100e13abc6182d2dd51eeb491b113d5a070fa1 (diff) |
clover/llvm: Implement library bitcode codegen.
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 c4d4997dfed..e0e990190d2 100644 --- a/src/gallium/state_trackers/clover/llvm/codegen.hpp +++ b/src/gallium/state_trackers/clover/llvm/codegen.hpp @@ -46,6 +46,13 @@ namespace clover { print_module_bitcode(const ::llvm::Module &mod); module + build_module_library(const ::llvm::Module &mod); + + std::unique_ptr<::llvm::Module> + parse_module_library(const module &m, ::llvm::LLVMContext &ctx, + std::string &r_log); + + module build_module_native(::llvm::Module &mod, const target &target, const clang::CompilerInstance &c, std::string &r_log); |