summaryrefslogtreecommitdiff
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.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/llvm_wrapper.h b/src/gallium/drivers/r600/llvm_wrapper.h
new file mode 100644
index 00000000000..3a696455cdf
--- /dev/null
+++ b/src/gallium/drivers/r600/llvm_wrapper.h
@@ -0,0 +1,16 @@
+#ifndef LLVM_WRAPPER_H
+#define LLVM_WRAPPER_H
+
+#include <llvm-c/Core.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+LLVMModuleRef llvm_parse_bitcode(const unsigned char * bitcode, unsigned bitcode_len);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif