summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/llvm_wrapper.h
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-09-13 14:59:50 +0000
committerTom Stellard <[email protected]>2012-09-25 14:36:46 +0000
commitb57eba365496307c35373f5c303996731b994f25 (patch)
tree949e648c7e6b5eeeb8815689de1ca9910a513189 /src/gallium/drivers/r600/llvm_wrapper.h
parente59505e34bdea772bb439cb42f2ef20ec495de03 (diff)
r600g: Handle multiple kernels in the same program v2
v2: - Use pc parameter of launch_grid
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
}