summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c/Core.h
diff options
context:
space:
mode:
authorErick Tryzelaar <idadesub@users.sourceforge.net>2010-02-28 09:46:13 +0000
committerErick Tryzelaar <idadesub@users.sourceforge.net>2010-02-28 09:46:13 +0000
commit06894b38247303f9827529204cd1009af9705781 (patch)
treea71d8ab028a312594da8a38bf4590381fe17cba8 /llvm/include/llvm-c/Core.h
parent0fb26ef01f923bfea371c9c263295c80118db822 (diff)
downloadbcm5719-llvm-06894b38247303f9827529204cd1009af9705781.tar.gz
bcm5719-llvm-06894b38247303f9827529204cd1009af9705781.zip
Add support for global variables in an address space for llvm-c and ocaml.
llvm-svn: 97377
Diffstat (limited to 'llvm/include/llvm-c/Core.h')
-rw-r--r--llvm/include/llvm-c/Core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h
index 17bd99dacce..bdbf3f21f67 100644
--- a/llvm/include/llvm-c/Core.h
+++ b/llvm/include/llvm-c/Core.h
@@ -671,6 +671,9 @@ void LLVMSetAlignment(LLVMValueRef Global, unsigned Bytes);
/* Operations on global variables */
LLVMValueRef LLVMAddGlobal(LLVMModuleRef M, LLVMTypeRef Ty, const char *Name);
+LLVMValueRef LLVMAddGlobalInAddressSpace(LLVMModuleRef M, LLVMTypeRef Ty,
+ const char *Name,
+ unsigned AddressSpace);
LLVMValueRef LLVMGetNamedGlobal(LLVMModuleRef M, const char *Name);
LLVMValueRef LLVMGetFirstGlobal(LLVMModuleRef M);
LLVMValueRef LLVMGetLastGlobal(LLVMModuleRef M);
OpenPOWER on IntegriCloud