pub fn get_user(u: &UseRef) -> ValueRefExpand description
Obtain the user value for a user.
The returned value corresponds to a UserRef type.
§Details
Obtains the value that is using another value in LLVM IR.
This function wraps the LLVMGetUser function from the LLVM core library. It retrieves the user value
associated with the provided UseRef. In LLVM IR, a “user” is an entity (typically an instruction or another
value) that makes use of a particular value. This function returns the value that corresponds to the user.
§Parameters
u: A reference to theUseReffor which to obtain the user value.
§Returns
Returns an instance of ValueRef, which represents the user value associated with the provided UseRef.