summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/auxiliary/gallivm/lp_bld_misc.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-11-22 02:46:45 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-11-22 02:46:45 +0000
commit3e40341f9dcd7c1bbc9afb8ddb812304820396cf (patch)
tree274b3f522afe1da16ab2b5347758c908bc23fac4 /lib/mesa/src/gallium/auxiliary/gallivm/lp_bld_misc.h
parent7b644ad52b574bec410d557155d666ac17fdf51a (diff)
import Mesa 11.0.6
Diffstat (limited to 'lib/mesa/src/gallium/auxiliary/gallivm/lp_bld_misc.h')
-rw-r--r--lib/mesa/src/gallium/auxiliary/gallivm/lp_bld_misc.h26
1 files changed, 4 insertions, 22 deletions
diff --git a/lib/mesa/src/gallium/auxiliary/gallivm/lp_bld_misc.h b/lib/mesa/src/gallium/auxiliary/gallivm/lp_bld_misc.h
index dafb4cfe0..86d2f86ac 100644
--- a/lib/mesa/src/gallium/auxiliary/gallivm/lp_bld_misc.h
+++ b/lib/mesa/src/gallium/auxiliary/gallivm/lp_bld_misc.h
@@ -32,7 +32,6 @@
#include "lp_bld.h"
#include <llvm-c/ExecutionEngine.h>
-#include <llvm-c/Target.h>
#ifdef __cplusplus
@@ -45,16 +44,14 @@ struct lp_generated_code;
extern void
gallivm_init_llvm_targets(void);
-extern LLVMTargetLibraryInfoRef
-gallivm_create_target_library_info(const char *triple);
-
-extern void
-gallivm_dispose_target_library_info(LLVMTargetLibraryInfoRef library_info);
-
extern void
lp_set_target_options(void);
+extern LLVMValueRef
+lp_build_load_volatile(LLVMBuilderRef B, LLVMValueRef PointerVal,
+ const char *Name);
+
extern int
lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
struct lp_generated_code **OutCode,
@@ -73,21 +70,6 @@ lp_get_default_memory_manager();
extern void
lp_free_memory_manager(LLVMMCJITMemoryManagerRef memorymgr);
-extern LLVMValueRef
-lp_get_called_value(LLVMValueRef call);
-
-extern bool
-lp_is_function(LLVMValueRef v);
-
-enum lp_float_mode {
- LP_FLOAT_MODE_DEFAULT,
- LP_FLOAT_MODE_NO_SIGNED_ZEROS_FP_MATH,
- LP_FLOAT_MODE_UNSAFE_FP_MATH,
-};
-
-extern LLVMBuilderRef
-lp_create_builder(LLVMContextRef ctx, enum lp_float_mode float_mode);
-
#ifdef __cplusplus
}
#endif