Module llvm

Source

Modules§

archive_ro 🔒
A wrapper around LLVM’s archive (.a) code
diagnostic 🔒
LLVM diagnostic reports.
enzyme_ffi 🔒
ffi 🔒
Bindings to the LLVM-C API (LLVM*), and to our own extern "C" wrapper functions around the unstable LLVM C++ API (LLVMRust*).

Structs§

OperandBundleOwned 🔒
Owns an OperandBundle, and will dispose of it when dropped.

Enums§

AttributePlace 🔒
CodeGenOptSize 🔒

Functions§

AddCallSiteAttributes 🔒
AddFunctionAttributes 🔒
CreateAlignmentAttr 🔒
CreateAllocKindAttr 🔒
CreateAllocSizeAttr 🔒
CreateAttrString 🔒
CreateAttrStringValue 🔒
CreateByValAttr 🔒
CreateDereferenceableAttr 🔒
CreateDereferenceableOrNullAttr 🔒
CreateRangeAttr 🔒
CreateStructRetAttr 🔒
CreateUWTableAttr 🔒
SetFunctionCallConv 🔒
SetInstructionCallConv 🔒
SetUniqueComdat 🔒
SetUnnamedAddress 🔒
add_global 🔒
add_module_flag_str 🔒
add_module_flag_u32 🔒
build_byte_buffer 🔒
build_string 🔒
get_linkage 🔒
get_param 🔒
Safe wrapper around LLVMGetParam, because segfaults are no fun.
get_value_name 🔒
Safe wrapper for LLVMGetValueName2 into a byte slice
get_visibility 🔒
is_declaration 🔒
last_error 🔒
set_alignment 🔒
set_comdat 🔒
Get the named comdat from llmod and assign it to llglobal.
set_dllimport_storage_class 🔒
set_dso_local 🔒
set_global_constant 🔒
set_initializer 🔒
set_linkage 🔒
set_section 🔒
set_thread_local_mode 🔒
set_value_name 🔒
Safe wrapper for LLVMSetValueName2 from a byte slice
set_visibility 🔒
twine_to_string 🔒