edlang/llvm_sys/index.html
2024-03-27 11:12:16 +00:00

8 lines
15 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="Bindings to LLVMs C API."><title>llvm_sys - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-5bc39a1768837dd0.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.77.0 (aedd173a2 2024-03-17)" data-channel="1.77.0" data-search-js="search-dd67cee4cfa65049.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-4c98445ec4002617.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-48f368f3872407c8.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-04d5337699b92874.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><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 crate"><!--[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">170.0.1</span></h2></div><div class="sidebar-elems"><ul class="block">
<li><a id="all-types" href="all.html">All Items</a></li></ul><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#enums">Enums</a></li><li><a href="#constants">Constants</a></li><li><a href="#types">Type Aliases</a></li></ul></section></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../llvm_sys/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Crate <a class="mod" href="#">llvm_sys</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/llvm_sys/lib.rs.html#1-490">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>Bindings to LLVMs C API.</p>
<p>Refer to the <a href="http://llvm.org/docs/">LLVM documentation</a> for more
information.</p>
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="analysis/index.html" title="mod llvm_sys::analysis">analysis</a></div><div class="desc docblock-short">Various analyses of the LLVM IR.</div></li><li><div class="item-name"><a class="mod" href="bit_reader/index.html" title="mod llvm_sys::bit_reader">bit_reader</a></div><div class="desc docblock-short">Input of the LLVM bitcode format.</div></li><li><div class="item-name"><a class="mod" href="bit_writer/index.html" title="mod llvm_sys::bit_writer">bit_writer</a></div><div class="desc docblock-short">Output of the LLVM bitcode format.</div></li><li><div class="item-name"><a class="mod" href="blake3/index.html" title="mod llvm_sys::blake3">blake3</a></div><div class="desc docblock-short">LLVMs BLAKE3 implementation.
Original BLAKE3 C API: <a href="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><div class="item-name"><a class="mod" href="comdat/index.html" title="mod llvm_sys::comdat">comdat</a></div><div class="desc docblock-short">COMDAT</div></li><li><div class="item-name"><a class="mod" href="core/index.html" title="mod llvm_sys::core">core</a></div><div class="desc docblock-short">The LLVM intermediate representation.</div></li><li><div class="item-name"><a class="mod" href="debuginfo/index.html" title="mod llvm_sys::debuginfo">debuginfo</a></div><div class="desc docblock-short">Generation of DWARF debug info.</div></li><li><div class="item-name"><a class="mod" href="disassembler/index.html" title="mod llvm_sys::disassembler">disassembler</a></div><div class="desc docblock-short">A disassembler library.</div></li><li><div class="item-name"><a class="mod" href="error/index.html" title="mod llvm_sys::error">error</a></div></li><li><div class="item-name"><a class="mod" href="error_handling/index.html" title="mod llvm_sys::error_handling">error_handling</a></div></li><li><div class="item-name"><a class="mod" href="execution_engine/index.html" title="mod llvm_sys::execution_engine">execution_engine</a></div><div class="desc docblock-short">Runtime code generation and execution.</div></li><li><div class="item-name"><a class="mod" href="ir_reader/index.html" title="mod llvm_sys::ir_reader">ir_reader</a></div><div class="desc docblock-short">The IR reader</div></li><li><div class="item-name"><a class="mod" href="linker/index.html" title="mod llvm_sys::linker">linker</a></div><div class="desc docblock-short">The module/file/archive linker</div></li><li><div class="item-name"><a class="mod" href="lto/index.html" title="mod llvm_sys::lto">lto</a></div><div class="desc docblock-short">Abstract link time optimization.</div></li><li><div class="item-name"><a class="mod" href="object/index.html" title="mod llvm_sys::object">object</a></div><div class="desc docblock-short">Object file reading and writing</div></li><li><div class="item-name"><a class="mod" href="orc2/index.html" title="mod llvm_sys::orc2">orc2</a></div><div class="desc docblock-short">OrcV2</div></li><li><div class="item-name"><a class="mod" href="prelude/index.html" title="mod llvm_sys::prelude">prelude</a></div><div class="desc docblock-short">Core types used throughout LLVM.</div></li><li><div class="item-name"><a class="mod" href="remarks/index.html" title="mod llvm_sys::remarks">remarks</a></div><div class="desc docblock-short">Remark diagnostics library.</div></li><li><div class="item-name"><a class="mod" href="support/index.html" title="mod llvm_sys::support">support</a></div></li><li><div class="item-name"><a class="mod" href="target/index.html" title="mod llvm_sys::target">target</a></div><div class="desc docblock-short">Target information</div></li><li><div class="item-name"><a class="mod" href="target_machine/index.html" title="mod llvm_sys::target_machine">target_machine</a></div><div class="desc docblock-short">Target machine information, to generate assembly or object files.</div></li><li><div class="item-name"><a class="mod" href="transforms/index.html" title="mod llvm_sys::transforms">transforms</a></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.LLVMAtomicOrdering.html" title="enum llvm_sys::LLVMAtomicOrdering">LLVMAtomicOrdering</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMAtomicRMWBinOp.html" title="enum llvm_sys::LLVMAtomicRMWBinOp">LLVMAtomicRMWBinOp</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMBasicBlock.html" title="enum llvm_sys::LLVMBasicBlock">LLVMBasicBlock</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMBuilder.html" title="enum llvm_sys::LLVMBuilder">LLVMBuilder</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMCallConv.html" title="enum llvm_sys::LLVMCallConv">LLVMCallConv</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMComdat.html" title="enum llvm_sys::LLVMComdat">LLVMComdat</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMContext.html" title="enum llvm_sys::LLVMContext">LLVMContext</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMDLLStorageClass.html" title="enum llvm_sys::LLVMDLLStorageClass">LLVMDLLStorageClass</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMDiagnosticInfo.html" title="enum llvm_sys::LLVMDiagnosticInfo">LLVMDiagnosticInfo</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMDiagnosticSeverity.html" title="enum llvm_sys::LLVMDiagnosticSeverity">LLVMDiagnosticSeverity</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMInlineAsmDialect.html" title="enum llvm_sys::LLVMInlineAsmDialect">LLVMInlineAsmDialect</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMIntPredicate.html" title="enum llvm_sys::LLVMIntPredicate">LLVMIntPredicate</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMLandingPadClauseTy.html" title="enum llvm_sys::LLVMLandingPadClauseTy">LLVMLandingPadClauseTy</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMLinkage.html" title="enum llvm_sys::LLVMLinkage">LLVMLinkage</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMMemoryBuffer.html" title="enum llvm_sys::LLVMMemoryBuffer">LLVMMemoryBuffer</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMModule.html" title="enum llvm_sys::LLVMModule">LLVMModule</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMModuleFlagBehavior.html" title="enum llvm_sys::LLVMModuleFlagBehavior">LLVMModuleFlagBehavior</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMModuleProvider.html" title="enum llvm_sys::LLVMModuleProvider">LLVMModuleProvider</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMOpaqueAttributeRef.html" title="enum llvm_sys::LLVMOpaqueAttributeRef">LLVMOpaqueAttributeRef</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMOpaqueDIBuilder.html" title="enum llvm_sys::LLVMOpaqueDIBuilder">LLVMOpaqueDIBuilder</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMOpaqueJITEventListener.html" title="enum llvm_sys::LLVMOpaqueJITEventListener">LLVMOpaqueJITEventListener</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMOpaqueMetadata.html" title="enum llvm_sys::LLVMOpaqueMetadata">LLVMOpaqueMetadata</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMOpaqueModuleFlagEntry.html" title="enum llvm_sys::LLVMOpaqueModuleFlagEntry">LLVMOpaqueModuleFlagEntry</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMOpaqueNamedMDNode.html" title="enum llvm_sys::LLVMOpaqueNamedMDNode">LLVMOpaqueNamedMDNode</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMOpaqueValueMetadataEntry.html" title="enum llvm_sys::LLVMOpaqueValueMetadataEntry">LLVMOpaqueValueMetadataEntry</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMOpcode.html" title="enum llvm_sys::LLVMOpcode">LLVMOpcode</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMPassManager.html" title="enum llvm_sys::LLVMPassManager">LLVMPassManager</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMRealPredicate.html" title="enum llvm_sys::LLVMRealPredicate">LLVMRealPredicate</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMThreadLocalMode.html" title="enum llvm_sys::LLVMThreadLocalMode">LLVMThreadLocalMode</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMType.html" title="enum llvm_sys::LLVMType">LLVMType</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMTypeKind.html" title="enum llvm_sys::LLVMTypeKind">LLVMTypeKind</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMUnnamedAddr.html" title="enum llvm_sys::LLVMUnnamedAddr">LLVMUnnamedAddr</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMUse.html" title="enum llvm_sys::LLVMUse">LLVMUse</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMValue.html" title="enum llvm_sys::LLVMValue">LLVMValue</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMValueKind.html" title="enum llvm_sys::LLVMValueKind">LLVMValueKind</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMVisibility.html" title="enum llvm_sys::LLVMVisibility">LLVMVisibility</a></div></li></ul><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="constant" href="constant.LLVMAttributeFunctionIndex.html" title="constant llvm_sys::LLVMAttributeFunctionIndex">LLVMAttributeFunctionIndex</a></div></li><li><div class="item-name"><a class="constant" href="constant.LLVMAttributeReturnIndex.html" title="constant llvm_sys::LLVMAttributeReturnIndex">LLVMAttributeReturnIndex</a></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.LLVMAttributeIndex.html" title="type llvm_sys::LLVMAttributeIndex">LLVMAttributeIndex</a></div><div class="desc docblock-short">Either LLVMAttributeReturnIndex, LLVMAttributeFunctionIndex, or a parameter
number from 1 to N.</div></li><li><div class="item-name"><a class="type" href="type.LLVMDiagnosticHandler.html" title="type llvm_sys::LLVMDiagnosticHandler">LLVMDiagnosticHandler</a></div></li><li><div class="item-name"><a class="type" href="type.LLVMYieldCallback.html" title="type llvm_sys::LLVMYieldCallback">LLVMYieldCallback</a></div></li></ul></section></div></main></body></html>