Added instruction operands (Seth Warn)

git-svn-id: http://llvm-py.googlecode.com/svn/trunk@66 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
mdevan.foobar 2009-02-23 07:56:23 +00:00
commit 2eeb7630a1
6 changed files with 93 additions and 2 deletions

View file

@ -121,6 +121,12 @@ const char *LLVMInstGetOpcodeName(LLVMValueRef inst);
/* Wraps llvm::Instruction::getOpcode(). */
unsigned LLVMInstGetOpcode(LLVMValueRef inst);
/* Wraps llvm:Instruction::getNumOperands(). */
unsigned LLVMInstGetNumOperands(LLVMValueRef inst);
/* Wraps llvm:Instruction::getOperand(). */
LLVMValueRef LLVMInstGetOperand(LLVMValueRef inst, unsigned idx);
/* Wraps llvm::ParseAssemblyString(). Returns a module reference or NULL (with
* `out' pointing to an error message). Dispose error message after use, via
* LLVMDisposeMessage(). */