summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2012-03-22 03:54:15 +0000
committerChris Lattner <sabre@nondot.org>2012-03-22 03:54:15 +0000
commiteabe3ad57d824c2b07016352fd97ce85777b6f9d (patch)
tree4233cebe895fff93c3ee7b6d87d1eb4691ee95ce /include
parent1fe6bfca593404e261922990f230326934dda4d6 (diff)
downloadllvm-eabe3ad57d824c2b07016352fd97ce85777b6f9d.tar.gz
llvm-eabe3ad57d824c2b07016352fd97ce85777b6f9d.tar.bz2
llvm-eabe3ad57d824c2b07016352fd97ce85777b6f9d.tar.xz
add load/store volatility control to the C API, patch by Yiannis Tsiouris!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153238 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm-c/Core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index 52b8b1c046..77746069a2 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -2398,6 +2398,8 @@ LLVMValueRef LLVMBuildGlobalString(LLVMBuilderRef B, const char *Str,
const char *Name);
LLVMValueRef LLVMBuildGlobalStringPtr(LLVMBuilderRef B, const char *Str,
const char *Name);
+LLVMBool LLVMGetVolatile(LLVMValueRef MemoryAccessInst);
+void LLVMSetVolatile(LLVMValueRef MemoryAccessInst, LLVMBool IsVolatile);
/* Casts */
LLVMValueRef LLVMBuildTrunc(LLVMBuilderRef, LLVMValueRef Val,