LLVM API Documentation
![]() |
Functions | |
LLVMValueRef | LLVMGetOperand (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 548 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 537 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 544 of file Core.cpp.
References llvm::unwrap().