LLVM 20.0.0git
|
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. | |
LLVMUseRef | LLVMGetOperandUse (LLVMValueRef Val, unsigned Index) |
Obtain the use of an operand at a specific index in a llvm::User value. | |
void | LLVMSetOperand (LLVMValueRef User, unsigned Index, LLVMValueRef Val) |
Set an operand at a specific index in a llvm::User value. | |
int | LLVMGetNumOperands (LLVMValueRef Val) |
Obtain the number of operands in a llvm::User value. | |
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 1229 of file Core.cpp.
References LLVMGetMDNodeNumOperands(), and unwrap().
LLVMValueRef LLVMGetOperand | ( | LLVMValueRef | Val, |
unsigned | Index | ||
) |
Obtain an operand at a specific index in a llvm::User value.
Definition at line 1206 of file Core.cpp.
References assert(), getMDNodeOperandImpl(), 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 1220 of file Core.cpp.
References 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 1225 of file Core.cpp.
References unwrap().