<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="Bindings to LLVM’s C API."><title>llvm_sys - 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><linkrel="stylesheet"href="../static.files/normalize-76eba96aa4d2e634.css"><linkrel="stylesheet"href="../static.files/rustdoc-dd39b87e5fcfba68.css"><metaname="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"><scriptsrc="../static.files/storage-118b08c4c78b968e.js"></script><scriptdefersrc="../crates.js"></script><scriptdefersrc="../static.files/main-20a3ad099b048cf2.js"></script><noscript><linkrel="stylesheet"href="../static.files/noscript-df360f571f6edeae.css"></noscript><linkrel="alternate icon"type="image/png"href="../static.files/favicon-32x32-422f7d1d52889060.png"><linkrel="icon"type="image/svg+xml"href="../static.files/favicon-2c020d218678b618.svg"></head><bodyclass="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="mobile-topbar"><buttonclass="sidebar-menu-toggle"title="show sidebar"></button></nav><navclass="sidebar"><divclass="sidebar-crate"><h2><ahref="../llvm_sys/index.html">llvm_sys</a><spanclass="version">180.0.0</span></h2></div><divclass="sidebar-elems"><ulclass="block"><li><aid="all-types"href="all.html">All Items</a></li></ul><section><ulclass="block"><li><ahref="#modules">Modules</a></li><li><ahref="#enums">Enums</a></li><li><ahref="#constants">Constants</a></li><li><ahref="#types">Type Aliases</a></li></ul></section></div></nav><divclass="sidebar-resizer"></div><main><divclass="width-limiter"><rustdoc-search></rustdoc-search><sectionid="main-content"class="content"><divclass="main-heading"><h1>Crate <aclass="mod"href="#">llvm_sys</a><buttonid="copy-path"title="Copy item path to clipboard">Copy item path</button></h1><spanclass="out-of-band"><aclass="src"href="../src/llvm_sys/lib.rs.html#1-526">source</a> · <buttonid="toggle-all-docs"title="collapse all docs">[<span>−</span>]</button></span></div><detailsclass="toggle top-doc"open><summaryclass="hideme"><span>Expand description</span></summary><divclass="docblock"><p>Bindings to LLVM’s C API.</p>
</div></details><h2id="modules"class="section-header">Modules<ahref="#modules"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="mod"href="analysis/index.html"title="mod llvm_sys::analysis">analysis</a></div><divclass="desc docblock-short">Various analyses of the LLVM IR.</div></li><li><divclass="item-name"><aclass="mod"href="bit_reader/index.html"title="mod llvm_sys::bit_reader">bit_reader</a></div><divclass="desc docblock-short">Input of the LLVM bitcode format.</div></li><li><divclass="item-name"><aclass="mod"href="bit_writer/index.html"title="mod llvm_sys::bit_writer">bit_writer</a></div><divclass="desc docblock-short">Output of the LLVM bitcode format.</div></li><li><divclass="item-name"><aclass="mod"href="blake3/index.html"title="mod llvm_sys::blake3">blake3</a></div><divclass="desc docblock-short">LLVM’s BLAKE3 implementation.
Original BLAKE3 C API: <ahref="https://github.com/BLAKE3-team/BLAKE3/tree/1.3.1/c">https://github.com/BLAKE3-team/BLAKE3/tree/1.3.1/c</a></div></li><li><divclass="item-name"><aclass="mod"href="comdat/index.html"title="mod llvm_sys::comdat">comdat</a></div><divclass="desc docblock-short">COMDAT</div></li><li><divclass="item-name"><aclass="mod"href="core/index.html"title="mod llvm_sys::core">core</a></div><divclass="desc docblock-short">The LLVM intermediate representation.</div></li><li><divclass="item-name"><aclass="mod"href="debuginfo/index.html"title="mod llvm_sys::debuginfo">debuginfo</a></div><divclass="desc docblock-short">Generation of DWARF debug info.</div></li><li><divclass="item-name"><aclass="mod"href="disassembler/index.html"title="mod llvm_sys::disassembler">disassembler</a></div><divclass="desc docblock-short">A disassembler library.</div></li><li><divclass="item-name"><aclass="mod"href="error/index.html"title="mod llvm_sys::error">error</a></div></li><li><divclass="item-name"><aclass="mod"href="error_handling/index.html"title="mod llvm_sys::error_handling">error_handling</a></div></li><li><divclass="item-name"><aclass="mod"href="execution_engine/index.html"title="mod llvm_sys::execution_engine">execution_engine</a></div><divclass="desc docblock-short">Runtime code generation and execution.</div></li><li><divclass="item-name"><aclass="mod"href="ir_reader/index.html"title="mod llvm_sys::ir_reader">ir_reader</a></div><divclass="desc docblock-short">The IR reader</div></li><li><divclass="item-name"><aclass="mod"href="linker/index.html"title="mod llvm_sys::linker">linker</a></div><divclass="desc docblock-short">The module/file/archive linker</div></li><li><divclass="item-name"><aclass="mod"href="lto/index.html"title="mod llvm_sys::lto">lto</a></div><divclass="desc docblock-short">Abstract link time optimization.</div></li><li><divclass="item-name"><aclass="mod"href="object/index.html"title="mod llvm_sys::object">object</a></div><divclass="desc docblock-short">Object file reading and writing</div></li><li><divclass="item-name"><aclass="mod"href="orc2/index.html"title="mod llvm_sys::orc2">orc2</a></div><divclass="desc docblock-short">OrcV2</div></li><li><divclass="item-name"><aclass="mod"href="prelude/index.html"title="mod llvm_sys::prelude">prelude</a></div><divclass="desc docblock-short">Core types used throughout LLVM.</div></li><li><divclass="item-name"><aclass="mod"href="remarks/index.html"title="mod llvm_sys::remarks">remarks</a></div><divclass="desc docblock-short">Remark diagnostics library.</div></li><li><divclass="item-name"><aclass="mod"href="support/index.html"title="mod llvm_sys::support">support</a></div></li><li><divclass="item-name"><aclass="mod"href="target/index.html"title="mod llvm_sys::target">target</a></div><divclass="desc docblock-short">Target information</div></li><li><divclass="item-name"><aclass="mod"href="target_machine/index.html"title="mod llvm_sys::target_machine">target_machine</a></div><divclass="desc docblock-short">Target machine information, to generate assembly or object files.</div></li><li><divclass="item-name"><aclass="mod"href="transforms/index.html"title="mod llvm_sys::transforms">transforms</a></div></li></ul><h2id="enums"class="section-header">Enums<ahref="#enums"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="enum"href="enum.LLVMAtomicOrdering.html"title="enum llvm_sys::LLVMAtomicOrdering">LLVMAtomicOrdering</a></div></li><li><divclass="item-name"><aclass="enum"href="enum.LLVMAtomicRMWBinOp.html"title="enum llvm_sys::LLVMAtomicRMWBinOp">LLVMAtomicRMWBinOp</a></div></li><li><divclass="item-name"><aclass="enum"href="enum.LLVMBasicBlock.html"title="enum llvm_sys::LLVMBasicBlock">LLVMBasicBlock</a></div></li><li><divclass="item-name"><aclass="enum"href="enum.LLVMBuilder.html"title="enum llvm_sys::LLVMBuilder">LLVMBuilder</a></div></li><li><divclass="item-name"><aclass="enum"href="enum.LLVMCallConv.html"title="enumllvm_sys::LLV
number from 1 to N.</div></li><li><divclass="item-name"><aclass="type"href="type.LLVMDiagnosticHandler.html"title="type llvm_sys::LLVMDiagnosticHandler">LLVMDiagnosticHandler</a></div></li><li><divclass="item-name"><aclass="type"href="type.LLVMFastMathFlags.html"title="type llvm_sys::LLVMFastMathFlags">LLVMFastMathFlags</a></div><divclass="desc docblock-short">Flags to indicate what fast-math-style optimizations are allowed on operations.</div></li><li><divclass="item-name"><aclass="type"href="type.LLVMYieldCallback.html"title="type llvm_sys::LLVMYieldCallback">LLVMYieldCallback</a></div></li></ul></section></div></main></body></html>