LLVM  3.7.0
Functions
User value

Function in this group pertain to LLVMValueRef instances that descent from llvm::User. More...

Collaboration diagram for User value:

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...
 

Detailed Description

Function in this group pertain to LLVMValueRef instances that descent from llvm::User.

This includes constants, instructions, and operators.

Function Documentation

int LLVMGetNumOperands ( LLVMValueRef  Val)

Obtain the number of operands in a llvm::User value.

See Also
llvm::User::getNumOperands()

Definition at line 680 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.

See Also
llvm::User::getOperand()

Definition at line 657 of file Core.cpp.

References 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.

See Also
llvm::User::getOperandUse()

Definition at line 671 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.

See Also
llvm::User::setOperand()

Definition at line 676 of file Core.cpp.

References llvm::unwrap().