Module global_values

Source

Structs§

ValueMetadataEntry
Wrapper for LLVMValueMetadataEntry

Functions§

dispose_value_metadata_entries
Destroys value metadata entries.
get_alignment
Obtain the preferred alignment of the value.
get_dll_storage_class
Get the DLL storage class of a global value.
get_global_parent
Get the module that contains the global value.
get_linkage
Get the linkage of the global value.
get_section
Get the section of the global value.
get_unnamed_address
Get the unnamed address of a global value.
get_value_type
Returns the “value type” of a global value. This differs from the formal type of a global value, which is always a pointer type.
get_visibility
Get the visibility of the global value.
global_clear_metadata
Removes all metadata attachments from this value.
global_copy_all_metadata
Retrieves an array of metadata entries representing the metadata attached to this value.
global_erase_metadata
Erases a metadata attachment of the given kind if it exists.
global_set_metadata
Sets a metadata attachment, erasing the existing metadata attachment if it already exists for the given kind.
is_declaration
Determine if the global value is a declaration.
set_alignment
Set the preferred alignment of the value.
set_dll_storage_class
Set the DLL storage class of a global value.
set_linkage
Set the linkage of the global value.
set_section
Set the section of the global value.
set_unnamed_address
Set the unnamed address of a global value.
set_visibility
Set the visibility of the global value.
value_metadata_entries_get_kind
Returns the kind of a value metadata entry at a specific index.
value_metadata_entries_get_metadata
Returns the underlying metadata node of a value metadata entry at a specific index.