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:
parent
1b4b807884
commit
2eeb7630a1
6 changed files with 93 additions and 2 deletions
|
|
@ -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(). */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue