[][src]Module llvm_sys::lto

Abstract link time optimization.

This module provides definitions for LTO API version 11.

Enums

LLVMOpaqueLTOCodeGenerator
LLVMOpaqueLTOModule
lto_codegen_diagnostic_severity_t
lto_codegen_model
lto_debug_model
lto_symbol_attributes

Functions

lto_api_version

Returns the runtime API version.

lto_codegen_add_module
lto_codegen_add_must_preserve_symbol
lto_codegen_compile
lto_codegen_compile_optimized

Generates code for the optimized merged module into one native object file.

lto_codegen_compile_to_file
lto_codegen_create
lto_codegen_create_in_local_context
lto_codegen_debug_options
lto_codegen_dispose
lto_codegen_optimize

Runs optimization for the merged module.

lto_codegen_set_assembler_args
lto_codegen_set_assembler_path
lto_codegen_set_cpu
lto_codegen_set_debug_model
lto_codegen_set_diagnostic_handler
lto_codegen_set_module

Sets the object module for code gneeration. This will transfer ownership of the module to the code generator.

lto_codegen_set_pic_model
lto_codegen_set_should_embed_uselists

Set whether to embed uselists in bitcode.

lto_codegen_set_should_internalize

Sets if we should run the itnernalize pass during optimization and code generation.

lto_codegen_write_merged_modules
lto_get_error_message
lto_get_version
lto_initialize_disassembler
lto_module_create
lto_module_create_from_fd
lto_module_create_from_fd_at_offset
lto_module_create_from_memory
lto_module_create_from_memory_with_path
lto_module_create_in_codegen_context
lto_module_create_in_local_context
lto_module_dispose
lto_module_get_linkeropts

Returns the module's linker options.

lto_module_get_num_symbols
lto_module_get_symbol_attribute
lto_module_get_symbol_name
lto_module_get_target_triple
lto_module_is_object_file
lto_module_is_object_file_for_target
lto_module_is_object_file_in_memory
lto_module_is_object_file_in_memory_for_target
lto_module_set_target_triple

Type Definitions

lto_bool_t
lto_code_gen_t
lto_diagnostic_handler_t
lto_module_t