LLVM API Documentation
Functions | |
LLVMValueRef | LLVMGetOperand (LLVMValueRef Val, unsigned Index) |
LLVMUseRef | LLVMGetOperandUse (LLVMValueRef Val, unsigned Index) |
void | LLVMSetOperand (LLVMValueRef User, unsigned Index, LLVMValueRef Val) |
int | LLVMGetNumOperands (LLVMValueRef Val) |
Function in this group pertain to LLVMValueRef instances that descent from llvm::User. This includes constants, instructions, and operators.
int LLVMGetNumOperands | ( | LLVMValueRef | Val | ) |
Obtain the number of operands in a llvm::User value.
Definition at line 617 of file Core.cpp.
References llvm::unwrap().
LLVMValueRef LLVMGetOperand | ( | LLVMValueRef | Val, |
unsigned | Index | ||
) |
Obtain an operand at a specific index in a llvm::User value.
Definition at line 601 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMUseRef LLVMGetOperandUse | ( | LLVMValueRef | Val, |
unsigned | Index | ||
) |
Obtain the use of an operand at a specific index in a llvm::User value.
Definition at line 608 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
void LLVMSetOperand | ( | LLVMValueRef | User, |
unsigned | Index, | ||
LLVMValueRef | Val | ||
) |
Set an operand at a specific index in a llvm::User value.
Definition at line 613 of file Core.cpp.
References llvm::unwrap().