summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/gallivm/lp_bld_init.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-10-15 11:55:21 -0600
committerBrian Paul <brianp@vmware.com>2010-10-15 15:40:33 -0600
commitfb8f3d7711557d34d8a171304c589891d5bda047 (patch)
tree3300149a39c5a21ab3077dbea271b7dfefcc19d4 /src/gallium/auxiliary/gallivm/lp_bld_init.h
parent991f0c27638c4bc03a0c609244bf755a0820d46f (diff)
gallivm: added lp_build_load_volatile()
There's no LLVM C LLVMBuildLoadVolatile() function so roll our own. Not used anywhere at this time but can come in handy during debugging.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_init.h')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_init.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init.h b/src/gallium/auxiliary/gallivm/lp_bld_init.h
index f26fdac466..0b4b1ca7d1 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_init.h
+++ b/src/gallium/auxiliary/gallivm/lp_bld_init.h
@@ -47,4 +47,10 @@ lp_build_init(void);
extern void
lp_func_delete_body(LLVMValueRef func);
+
+extern LLVMValueRef
+lp_build_load_volatile(LLVMBuilderRef B, LLVMValueRef PointerVal,
+ const char *Name);
+
+
#endif /* !LP_BLD_INIT_H */