summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c/Core.h
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
commitab6158e2e3f5d789ad0ac73b9e25da7ed2ff60eb (patch)
tree67fa664f84ebbb6536f786361830528a21b36e14 /llvm/include/llvm-c/Core.h
parent2e9affec1567c24d6a46ca8c2a9f5a38f76781fa (diff)
downloadbcm5719-llvm-ab6158e2e3f5d789ad0ac73b9e25da7ed2ff60eb.tar.gz
bcm5719-llvm-ab6158e2e3f5d789ad0ac73b9e25da7ed2ff60eb.zip
ocaml bindings: add getopcode for constant and instruction, and int64_of_const.
llvm-svn: 141990
Diffstat (limited to 'llvm/include/llvm-c/Core.h')
-rw-r--r--llvm/include/llvm-c/Core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h
index 10e9a80bcb5..6a532592455 100644
--- a/llvm/include/llvm-c/Core.h
+++ b/llvm/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 */
OpenPOWER on IntegriCloud