Module general

Source
Expand description

Functions in this section work on all ValueRef instances, regardless of their sub-type. They correspond to functions available on C LLVM Value.

Functionsยง

dump_value
Dump a representation of a value to stderr.
get_value_kind
Returns the kind of the given LLVM value (Obtain the enumerated type of the Value instance.).
get_value_name
Obtain the string name of a value.
is_amd_node
Determines whether the specified value instance is an AMD node.
is_amd_string
Determines whether the specified value instance is an AMD string.
is_constant
Determines whether the specified value instance is constant.
is_poison
Determine whether a value instance is poisonous.
is_undef
Determine whether a value instance is undefined.
is_value_as_metadata
Determines whether the specified value instance is a value as metadata.
print_value_to_string
Return a string representation of the value. Use dispose_message to free the string.
replace_all_uses_with
Replace all uses of a value with another one.
set_value_name
Set the string name of a value.
type_of
Obtain the type of the value.