summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/llvm_wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/r600/llvm_wrapper.h')
-rw-r--r--src/gallium/drivers/r600/llvm_wrapper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/llvm_wrapper.h b/src/gallium/drivers/r600/llvm_wrapper.h
index 3a696455cdf..4b9b93f23c6 100644
--- a/src/gallium/drivers/r600/llvm_wrapper.h
+++ b/src/gallium/drivers/r600/llvm_wrapper.h
@@ -8,6 +8,10 @@ extern "C" {
#endif
LLVMModuleRef llvm_parse_bitcode(const unsigned char * bitcode, unsigned bitcode_len);
+void llvm_strip_unused_kernels(LLVMModuleRef mod, const char *kernel_name);
+unsigned llvm_get_num_kernels(const unsigned char *bitcode, unsigned bitcode_len);
+LLVMModuleRef llvm_get_kernel_module(unsigned index,
+ const unsigned char *bitcode, unsigned bitcode_len);
#ifdef __cplusplus
}