LLVM
8.0.1
|
Function in this group pertain to LLVMValueRef instances that descent from llvm::User. More...
Functions | |
LLVMValueRef | LLVMGetOperand (LLVMValueRef Val, unsigned Index) |
Obtain an operand at a specific index in a llvm::User value. More... | |
LLVMUseRef | LLVMGetOperandUse (LLVMValueRef Val, unsigned Index) |
Obtain the use of an operand at a specific index in a llvm::User value. More... | |
void | LLVMSetOperand (LLVMValueRef User, unsigned Index, LLVMValueRef Val) |
Set an operand at a specific index in a llvm::User value. More... | |
int | LLVMGetNumOperands (LLVMValueRef Val) |
Obtain the number of operands in a llvm::User value. More... | |
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 998 of file Core.cpp.
References LLVMGetMDNodeNumOperands(), and llvm::unwrap().
LLVMValueRef LLVMGetOperand | ( | LLVMValueRef | Val, |
unsigned | Index | ||
) |
Obtain an operand at a specific index in a llvm::User value.
Definition at line 975 of file Core.cpp.
References assert(), llvm::Value::getContext(), getMDNodeOperandImpl(), 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 989 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 994 of file Core.cpp.
References llvm::unwrap().