summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2011-10-14 20:37:49 +0000
committerTorok Edwin <edwintorok@gmail.com>2011-10-14 20:37:49 +0000
commit6563c879964c3bcf5c77d40da8d4c807adf605aa (patch)
treec3bdf644c693a96ed08acccb73af63dca95f5ddb /include
parent31116410de16f435d8c76c53e3d6b95fa812cd2c (diff)
downloadllvm-6563c879964c3bcf5c77d40da8d4c807adf605aa.tar.gz
llvm-6563c879964c3bcf5c77d40da8d4c807adf605aa.tar.bz2
llvm-6563c879964c3bcf5c77d40da8d4c807adf605aa.tar.xz
ocaml bindings: add getopcode for constant and instruction, and int64_of_const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141990 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm-c/Core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index 10e9a80bcb..6a53259245 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -789,6 +789,7 @@ LLVMBasicBlockRef LLVMGetInstructionParent(LLVMValueRef Inst);
LLVMValueRef LLVMGetNextInstruction(LLVMValueRef Inst);
LLVMValueRef LLVMGetPreviousInstruction(LLVMValueRef Inst);
void LLVMInstructionEraseFromParent(LLVMValueRef Inst);
+LLVMOpcode LLVMGetInstructionOpcode(LLVMValueRef Inst);
LLVMIntPredicate LLVMGetICmpPredicate(LLVMValueRef Inst);
/* Operations on call sites */