edlang/llvm_sys/lto/index.html
2024-07-26 09:42:18 +00:00

17 lines
27 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Abstract link time optimization."><title>llvm_sys::lto - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="llvm_sys" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0 (051478957 2024-07-21)" data-channel="1.80.0" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../llvm_sys/index.html">llvm_sys</a><span class="version">180.0.0</span></h2></div><h2 class="location"><a href="#">Module lto</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#functions">Functions</a></li><li><a href="#types">Type Aliases</a></li></ul></section><h2><a href="../index.html">In crate llvm_sys</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">llvm_sys</a>::<wbr><a class="mod" href="#">lto</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/llvm_sys/lto.rs.html#1-442">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Abstract link time optimization.</p>
<h3 id="thinlto"><a class="doc-anchor" href="#thinlto">§</a>ThinLTO</h3>
<p>ThinLTO is designed to do LTO while requiring fewer resources than regular
LTO. It can run much faster and in less memory (comparable to linking
without LTO) than regular LTO, with essentially no loss in optimization.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.LTOObjectBuffer.html" title="struct llvm_sys::lto::LTOObjectBuffer">LTOObjectBuffer</a></div><div class="desc docblock-short">Type to wrap a single object returned by ThinLTO.</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.LLVMOpaqueLTOCodeGenerator.html" title="enum llvm_sys::lto::LLVMOpaqueLTOCodeGenerator">LLVMOpaqueLTOCodeGenerator</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMOpaqueLTOInput.html" title="enum llvm_sys::lto::LLVMOpaqueLTOInput">LLVMOpaqueLTOInput</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMOpaqueLTOModule.html" title="enum llvm_sys::lto::LLVMOpaqueLTOModule">LLVMOpaqueLTOModule</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMOpaqueThinLTOCodeGenerator.html" title="enum llvm_sys::lto::LLVMOpaqueThinLTOCodeGenerator">LLVMOpaqueThinLTOCodeGenerator</a></div></li><li><div class="item-name"><a class="enum" href="enum.lto_codegen_diagnostic_severity_t.html" title="enum llvm_sys::lto::lto_codegen_diagnostic_severity_t">lto_codegen_diagnostic_severity_t</a></div></li><li><div class="item-name"><a class="enum" href="enum.lto_codegen_model.html" title="enum llvm_sys::lto::lto_codegen_model">lto_codegen_model</a></div></li><li><div class="item-name"><a class="enum" href="enum.lto_debug_model.html" title="enum llvm_sys::lto::lto_debug_model">lto_debug_model</a></div></li><li><div class="item-name"><a class="enum" href="enum.lto_symbol_attributes.html" title="enum llvm_sys::lto::lto_symbol_attributes">lto_symbol_attributes</a></div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.lto_api_version.html" title="fn llvm_sys::lto::lto_api_version">lto_api_version</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Returns the runtime API version.</div></li><li><div class="item-name"><a class="fn" href="fn.lto_codegen_add_module.html" title="fn llvm_sys::lto::lto_codegen_add_module">lto_codegen_add_module</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_codegen_add_must_preserve_symbol.html" title="fn llvm_sys::lto::lto_codegen_add_must_preserve_symbol">lto_codegen_add_must_preserve_symbol</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_codegen_compile.html" title="fn llvm_sys::lto::lto_codegen_compile">lto_codegen_compile</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_codegen_compile_optimized.html" title="fn llvm_sys::lto::lto_codegen_compile_optimized">lto_codegen_compile_optimized</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Generates code for the optimized merged module into one native object file.</div></li><li><div class="item-name"><a class="fn" href="fn.lto_codegen_compile_to_file.html" title="fn llvm_sys::lto::lto_codegen_compile_to_file">lto_codegen_compile_to_file</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_codegen_create.html" title="fn llvm_sys::lto::lto_codegen_create">lto_codegen_create</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_codegen_create_in_local_context.html" title="fn llvm_sys::lto::lto_codegen_create_in_local_context">lto_codegen_create_in_local_context</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_codegen_debug_options.html" title="fn llvm_sys::lto::lto_codegen_debug_options">lto_codegen_debug_options</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_codegen_debug_options_array.html" title="fn llvm_sys::lto::lto_codegen_debug_options_array">lto_codegen_debug_options_array</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_codegen_dispose.html" title="fn llvm_sys::lto::lto_codegen_dispose">lto_codegen_dispose</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_codegen_optimize.html" title="fn llvm_sys::lto::lto_codegen_optimize">lto_codegen_optimize</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Runs optimization for the merged module.</div></li><li><div class="item-name"><a class="fn" href="fn.lto_codegen_set_assembler_args.html" title="fn llvm_sys::lto::lto_codegen_set_assembler_args">lto_codegen_set_assembler_args</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_codegen_set_assembler_path.html" title="fn llvm_sys::lto::lto_codegen_set_assembler_path">lto_codegen_set_assembler_path</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_codegen_set_cpu.html" title="fn llvm_sys::lto::lto_codegen_set_cpu">lto_codegen_set_cpu</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_codegen_set_debug_model.html" title="fn llvm_sys::lto::lto_codegen_set_debug_model">lto_codegen_set_debug_model</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_codegen_set_diagnostic_handler.html" title="fn llvm_sys::lto::lto_codegen_set_diagnostic_handler">lto_codegen_set_diagnostic_handler</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_codegen_set_module.html" title="fn llvm_sys::lto::lto_codegen_set_module">lto_codegen_set_module</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Sets the object module for code gneeration. This will transfer ownership
of the module to the code generator.</div></li><li><div class="item-name"><a class="fn" href="fn.lto_codegen_set_pic_model.html" title="fn llvm_sys::lto::lto_codegen_set_pic_model">lto_codegen_set_pic_model</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_codegen_set_should_embed_uselists.html" title="fn llvm_sys::lto::lto_codegen_set_should_embed_uselists">lto_codegen_set_should_embed_uselists</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Set whether to embed uselists in bitcode.</div></li><li><div class="item-name"><a class="fn" href="fn.lto_codegen_set_should_internalize.html" title="fn llvm_sys::lto::lto_codegen_set_should_internalize">lto_codegen_set_should_internalize</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Sets if we should run the internalize pass during optimization and code generation.</div></li><li><div class="item-name"><a class="fn" href="fn.lto_codegen_write_merged_modules.html" title="fn llvm_sys::lto::lto_codegen_write_merged_modules">lto_codegen_write_merged_modules</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_get_error_message.html" title="fn llvm_sys::lto::lto_get_error_message">lto_get_error_message</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_get_version.html" title="fn llvm_sys::lto::lto_get_version">lto_get_version</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_initialize_disassembler.html" title="fn llvm_sys::lto::lto_initialize_disassembler">lto_initialize_disassembler</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_input_create.html" title="fn llvm_sys::lto::lto_input_create">lto_input_create</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Create an LTO input file from a buffer.</div></li><li><div class="item-name"><a class="fn" href="fn.lto_input_dispose.html" title="fn llvm_sys::lto::lto_input_dispose">lto_input_dispose</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Free all memory allocated by the input file.</div></li><li><div class="item-name"><a class="fn" href="fn.lto_input_get_dependent_library.html" title="fn llvm_sys::lto::lto_input_get_dependent_library">lto_input_get_dependent_library</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Get the <code>i</code>th dependent library specifier for the given input file.</div></li><li><div class="item-name"><a class="fn" href="fn.lto_input_get_num_dependent_libraries.html" title="fn llvm_sys::lto::lto_input_get_num_dependent_libraries">lto_input_get_num_dependent_libraries</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Get the number of dependent library specifiers for the given input.</div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_create.html" title="fn llvm_sys::lto::lto_module_create">lto_module_create</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_create_from_fd.html" title="fn llvm_sys::lto::lto_module_create_from_fd">lto_module_create_from_fd</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_create_from_fd_at_offset.html" title="fn llvm_sys::lto::lto_module_create_from_fd_at_offset">lto_module_create_from_fd_at_offset</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_create_from_memory.html" title="fn llvm_sys::lto::lto_module_create_from_memory">lto_module_create_from_memory</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_create_from_memory_with_path.html" title="fn llvm_sys::lto::lto_module_create_from_memory_with_path">lto_module_create_from_memory_with_path</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_create_in_codegen_context.html" title="fn llvm_sys::lto::lto_module_create_in_codegen_context">lto_module_create_in_codegen_context</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_create_in_local_context.html" title="fn llvm_sys::lto::lto_module_create_in_local_context">lto_module_create_in_local_context</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_dispose.html" title="fn llvm_sys::lto::lto_module_dispose">lto_module_dispose</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_get_linkeropts.html" title="fn llvm_sys::lto::lto_module_get_linkeropts">lto_module_get_linkeropts</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Returns the modules linker options.</div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_get_macho_cputype.html" title="fn llvm_sys::lto::lto_module_get_macho_cputype">lto_module_get_macho_cputype</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_get_num_symbols.html" title="fn llvm_sys::lto::lto_module_get_num_symbols">lto_module_get_num_symbols</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_get_symbol_attribute.html" title="fn llvm_sys::lto::lto_module_get_symbol_attribute">lto_module_get_symbol_attribute</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_get_symbol_name.html" title="fn llvm_sys::lto::lto_module_get_symbol_name">lto_module_get_symbol_name</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_get_target_triple.html" title="fn llvm_sys::lto::lto_module_get_target_triple">lto_module_get_target_triple</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_has_ctor_dtor.html" title="fn llvm_sys::lto::lto_module_has_ctor_dtor">lto_module_has_ctor_dtor</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Return true if the module has either the <code>@llvm.global_ctors</code> or the <code>@llvm.global_dtors</code>
symbol.</div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_has_objc_category.html" title="fn llvm_sys::lto::lto_module_has_objc_category">lto_module_has_objc_category</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Return true if <code>Buffer</code> contains a bitcode file with ObjC code
(category or class) in it.</div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_is_object_file.html" title="fn llvm_sys::lto::lto_module_is_object_file">lto_module_is_object_file</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_is_object_file_for_target.html" title="fn llvm_sys::lto::lto_module_is_object_file_for_target">lto_module_is_object_file_for_target</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_is_object_file_in_memory.html" title="fn llvm_sys::lto::lto_module_is_object_file_in_memory">lto_module_is_object_file_in_memory</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Checks if a buffer is a loadable object file.</div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_is_object_file_in_memory_for_target.html" title="fn llvm_sys::lto::lto_module_is_object_file_in_memory_for_target">lto_module_is_object_file_in_memory_for_target</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_is_thinlto.html" title="fn llvm_sys::lto::lto_module_is_thinlto">lto_module_is_thinlto</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Test if a module has ThinLTO linking support.</div></li><li><div class="item-name"><a class="fn" href="fn.lto_module_set_target_triple.html" title="fn llvm_sys::lto::lto_module_set_target_triple">lto_module_set_target_triple</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.lto_runtime_lib_symbols_list.html" title="fn llvm_sys::lto::lto_runtime_lib_symbols_list">lto_runtime_lib_symbols_list</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Return the list of libcall symbols that can be generated by LTO
that might not be visible from the symbol table of bitcode files.</div></li><li><div class="item-name"><a class="fn" href="fn.lto_set_debug_options.html" title="fn llvm_sys::lto::lto_set_debug_options">lto_set_debug_options</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_codegen_add_cross_referenced_symbol.html" title="fn llvm_sys::lto::thinlto_codegen_add_cross_referenced_symbol">thinlto_codegen_add_cross_referenced_symbol</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Add a symbol to the list of global symbols that are cross-referenced
between ThinLTO files.</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_codegen_add_module.html" title="fn llvm_sys::lto::thinlto_codegen_add_module">thinlto_codegen_add_module</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Add a module to a code generator.</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_codegen_add_must_preserve_symbol.html" title="fn llvm_sys::lto::thinlto_codegen_add_must_preserve_symbol">thinlto_codegen_add_must_preserve_symbol</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Add a symbol to the list of global symbols that must exist in the
final generated code.</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_codegen_disable_codegen.html" title="fn llvm_sys::lto::thinlto_codegen_disable_codegen">thinlto_codegen_disable_codegen</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Disable code generation (running all stages until codegen).</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_codegen_dispose.html" title="fn llvm_sys::lto::thinlto_codegen_dispose">thinlto_codegen_dispose</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Frees a code generator.</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_codegen_process.html" title="fn llvm_sys::lto::thinlto_codegen_process">thinlto_codegen_process</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Optimize and codegen all modules attached to the code generator.</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_codegen_set_cache_dir.html" title="fn llvm_sys::lto::thinlto_codegen_set_cache_dir">thinlto_codegen_set_cache_dir</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_codegen_set_cache_entry_expiration.html" title="fn llvm_sys::lto::thinlto_codegen_set_cache_entry_expiration">thinlto_codegen_set_cache_entry_expiration</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Set the expiration (in seconds) for cache entries.</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_codegen_set_cache_pruning_interval.html" title="fn llvm_sys::lto::thinlto_codegen_set_cache_pruning_interval">thinlto_codegen_set_cache_pruning_interval</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Set the cache pruning interval, in seconds.</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_codegen_set_cache_size_bytes.html" title="fn llvm_sys::lto::thinlto_codegen_set_cache_size_bytes">thinlto_codegen_set_cache_size_bytes</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Set the maximum size of the cache directory (in bytes). A value over the
amount of available space on the disk will be reduced to the amount of
available space. An unspecified default value will be applied. A value of 0
will be ignored.</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_codegen_set_cache_size_files.html" title="fn llvm_sys::lto::thinlto_codegen_set_cache_size_files">thinlto_codegen_set_cache_size_files</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Sets the maximum number of files in the cache directory. An unspecified default value will be applied. A value of 0 will be ignored.</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_codegen_set_cache_size_megabytes.html" title="fn llvm_sys::lto::thinlto_codegen_set_cache_size_megabytes">thinlto_codegen_set_cache_size_megabytes</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Same as thinlto_codegen_set_cache_size_bytes, except the maximum size is in
megabytes (2^20 bytes).</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_codegen_set_codegen_only.html" title="fn llvm_sys::lto::thinlto_codegen_set_codegen_only">thinlto_codegen_set_codegen_only</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Perform codegen only; disable all other stages.</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_codegen_set_cpu.html" title="fn llvm_sys::lto::thinlto_codegen_set_cpu">thinlto_codegen_set_cpu</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Set the CPU to generate code for.</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_codegen_set_final_cache_size_relative_to_available_space.html" title="fn llvm_sys::lto::thinlto_codegen_set_final_cache_size_relative_to_available_space">thinlto_codegen_set_final_cache_size_relative_to_available_space</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Set the maximum cache size to persist across builds.</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_codegen_set_pic_model.html" title="fn llvm_sys::lto::thinlto_codegen_set_pic_model">thinlto_codegen_set_pic_model</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Set which PIC code model to generate.</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_codegen_set_savetemps_dir.html" title="fn llvm_sys::lto::thinlto_codegen_set_savetemps_dir">thinlto_codegen_set_savetemps_dir</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Set the path to a directory to use as temporary bitcode storage.</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_create_codegen.html" title="fn llvm_sys::lto::thinlto_create_codegen">thinlto_create_codegen</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Instantiates a ThinLTO code generator.</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_debug_options.html" title="fn llvm_sys::lto::thinlto_debug_options">thinlto_debug_options</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Parse -mllvm style debug options.</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_module_get_num_object_files.html" title="fn llvm_sys::lto::thinlto_module_get_num_object_files">thinlto_module_get_num_object_files</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Return the number of object files produced by the code generator.</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_module_get_num_objects.html" title="fn llvm_sys::lto::thinlto_module_get_num_objects">thinlto_module_get_num_objects</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Return the number of object files produced by the code generator.</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_module_get_object.html" title="fn llvm_sys::lto::thinlto_module_get_object">thinlto_module_get_object</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Return a reference to the <code>index</code>th object file produced by the
code generator.</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_module_get_object_file.html" title="fn llvm_sys::lto::thinlto_module_get_object_file">thinlto_module_get_object_file</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Return the path to the ith output object file.</div></li><li><div class="item-name"><a class="fn" href="fn.thinlto_set_generated_objects_dir.html" title="fn llvm_sys::lto::thinlto_set_generated_objects_dir">thinlto_set_generated_objects_dir</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Set the path to a directory to save generated object files.</div></li></ul><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="type" href="type.lto_bool_t.html" title="type llvm_sys::lto::lto_bool_t">lto_bool_t</a></div></li><li><div class="item-name"><a class="type" href="type.lto_code_gen_t.html" title="type llvm_sys::lto::lto_code_gen_t">lto_code_gen_t</a></div></li><li><div class="item-name"><a class="type" href="type.lto_diagnostic_handler_t.html" title="type llvm_sys::lto::lto_diagnostic_handler_t">lto_diagnostic_handler_t</a></div></li><li><div class="item-name"><a class="type" href="type.lto_input_t.html" title="type llvm_sys::lto::lto_input_t">lto_input_t</a></div></li><li><div class="item-name"><a class="type" href="type.lto_module_t.html" title="type llvm_sys::lto::lto_module_t">lto_module_t</a></div></li><li><div class="item-name"><a class="type" href="type.thinlto_code_gen_t.html" title="type llvm_sys::lto::thinlto_code_gen_t">thinlto_code_gen_t</a></div></li></ul></section></div></main></body></html>