diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-23 02:47:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-23 02:47:22 +0000 |
commit | 5400570097a25f05694d451afed7f949281b789e (patch) | |
tree | 50ee8812e81014733fcc07c6fc443c5cf654b856 /include/llvm-c | |
parent | 79b967bd9fed0a3147d704ce269af6cc26aff391 (diff) |
add a 'LLVMConstIntOfArbitraryPrecision' api to the C api,
patch by Greg Pfeil!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119989 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r-- | include/llvm-c/Core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index d0fe536d5c..433958323f 100644 --- a/include/llvm-c/Core.h +++ b/include/llvm-c/Core.h @@ -547,6 +547,9 @@ LLVMValueRef LLVMMDNode(LLVMValueRef *Vals, unsigned Count); /* Operations on scalar constants */ LLVMValueRef LLVMConstInt(LLVMTypeRef IntTy, unsigned long long N, LLVMBool SignExtend); +LLVMValueRef LLVMConstIntOfArbitraryPrecision(LLVMTypeRef IntTy, + unsigned NumWords, + const uint64_t Words[]); LLVMValueRef LLVMConstIntOfString(LLVMTypeRef IntTy, const char *Text, uint8_t Radix); LLVMValueRef LLVMConstIntOfStringAndSize(LLVMTypeRef IntTy, const char *Text, |