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

6 lines
16 KiB
HTML
Raw Permalink 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><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="../crates.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 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">180.0.0</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"><rustdoc-search></rustdoc-search><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">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../src/llvm_sys/lib.rs.html#1-526">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.LLVMOpaqueOperandBundle.html" title="enum llvm_sys::LLVMOpaqueOperandBundle">LLVMOpaqueOperandBundle</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.LLVMTailCallKind.html" title="enum llvm_sys::LLVMTailCallKind">LLVMTailCallKind</a></div><div class="desc docblock-short">Tail call kind for LLVMSetTailCallKind and LLVMGetTailCallKind.</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><li><div class="item-name"><a class="constant" href="constant.LLVMFastMathAll.html" title="constant llvm_sys::LLVMFastMathAll">LLVMFastMathAll</a></div></li><li><div class="item-name"><a class="constant" href="constant.LLVMFastMathAllowContract.html" title="constant llvm_sys::LLVMFastMathAllowContract">LLVMFastMathAllowContract</a></div></li><li><div class="item-name"><a class="constant" href="constant.LLVMFastMathAllowReassoc.html" title="constant llvm_sys::LLVMFastMathAllowReassoc">LLVMFastMathAllowReassoc</a></div></li><li><div class="item-name"><a class="constant" href="constant.LLVMFastMathAllowReciprocal.html" title="constant llvm_sys::LLVMFastMathAllowReciprocal">LLVMFastMathAllowReciprocal</a></div></li><li><div class="item-name"><a class="constant" href="constant.LLVMFastMathApproxFunc.html" title="constant llvm_sys::LLVMFastMathApproxFunc">LLVMFastMathApproxFunc</a></div></li><li><div class="item-name"><a class="constant" href="constant.LLVMFastMathNoInfs.html" title="constant llvm_sys::LLVMFastMathNoInfs">LLVMFastMathNoInfs</a></div></li><li><div class="item-name"><a class="constant" href="constant.LLVMFastMathNoNaNs.html" title="constant llvm_sys::LLVMFastMathNoNaNs">LLVMFastMathNoNaNs</a></div></li><li><div class="item-name"><a class="constant" href="constant.LLVMFastMathNoSignedZeros.html" title="constant llvm_sys::LLVMFastMathNoSignedZeros">LLVMFastMathNoSignedZeros</a></div></li><li><div class="item-name"><a class="constant" href="constant.LLVMFastMathNone.html" title="constant llvm_sys::LLVMFastMathNone">LLVMFastMathNone</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.LLVMFastMathFlags.html" title="type llvm_sys::LLVMFastMathFlags">LLVMFastMathFlags</a></div><div class="desc docblock-short">Flags to indicate what fast-math-style optimizations are allowed on operations.</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>