mirror of
https://github.com/edg-l/edlang.git
synced 2024-11-14 03:58:23 +00:00
3 lines
11 KiB
HTML
3 lines
11 KiB
HTML
<!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="Target machine information, to generate assembly or object files."><title>llvm_sys::target_machine - 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-ac92e1bbe349e143.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.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-feafe1bb7466e4bd.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"><!--[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">☰</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><h2 class="location"><a href="#">Module target_machine</a></h2><div class="sidebar-elems"><section><ul class="block"><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"><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>Module <a href="../index.html">llvm_sys</a>::<wbr><a class="mod" href="#">target_machine</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/target_machine.rs.html#1-111">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Target machine information, to generate assembly or object files.</p>
|
||
</div></details><h2 id="enums" class="section-header"><a href="#enums">Enums</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.LLVMCodeGenFileType.html" title="enum llvm_sys::target_machine::LLVMCodeGenFileType">LLVMCodeGenFileType</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMCodeGenOptLevel.html" title="enum llvm_sys::target_machine::LLVMCodeGenOptLevel">LLVMCodeGenOptLevel</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMCodeModel.html" title="enum llvm_sys::target_machine::LLVMCodeModel">LLVMCodeModel</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMOpaqueTargetMachine.html" title="enum llvm_sys::target_machine::LLVMOpaqueTargetMachine">LLVMOpaqueTargetMachine</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMRelocMode.html" title="enum llvm_sys::target_machine::LLVMRelocMode">LLVMRelocMode</a></div></li><li><div class="item-name"><a class="enum" href="enum.LLVMTarget.html" title="enum llvm_sys::target_machine::LLVMTarget">LLVMTarget</a></div></li></ul><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.LLVMAddAnalysisPasses.html" title="fn llvm_sys::target_machine::LLVMAddAnalysisPasses">LLVMAddAnalysisPasses</a><sup title="unsafe function">⚠</sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMCreateTargetDataLayout.html" title="fn llvm_sys::target_machine::LLVMCreateTargetDataLayout">LLVMCreateTargetDataLayout</a><sup title="unsafe function">⚠</sup></div><div class="desc docblock-short">Create a DataLayout based on the target machine.</div></li><li><div class="item-name"><a class="fn" href="fn.LLVMCreateTargetMachine.html" title="fn llvm_sys::target_machine::LLVMCreateTargetMachine">LLVMCreateTargetMachine</a><sup title="unsafe function">⚠</sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMDisposeTargetMachine.html" title="fn llvm_sys::target_machine::LLVMDisposeTargetMachine">LLVMDisposeTargetMachine</a><sup title="unsafe function">⚠</sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMGetDefaultTargetTriple.html" title="fn llvm_sys::target_machine::LLVMGetDefaultTargetTriple">LLVMGetDefaultTargetTriple</a><sup title="unsafe function">⚠</sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMGetFirstTarget.html" title="fn llvm_sys::target_machine::LLVMGetFirstTarget">LLVMGetFirstTarget</a><sup title="unsafe function">⚠</sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMGetHostCPUFeatures.html" title="fn llvm_sys::target_machine::LLVMGetHostCPUFeatures">LLVMGetHostCPUFeatures</a><sup title="unsafe function">⚠</sup></div><div class="desc docblock-short">Get the host CPU’s features as a string. The result needs to be disposed with LLVMDisposeMessage.</div></li><li><div class="item-name"><a class="fn" href="fn.LLVMGetHostCPUName.html" title="fn llvm_sys::target_machine::LLVMGetHostCPUName">LLVMGetHostCPUName</a><sup title="unsafe function">⚠</sup></div><div class="desc docblock-short">Get the host CPU as a string. The result needs to be disposed with LLVMDisposeMessage.</div></li><li><div class="item-name"><a class="fn" href="fn.LLVMGetNextTarget.html" title="fn llvm_sys::target_machine::LLVMGetNextTarget">LLVMGetNextTarget</a><sup title="unsafe function">⚠</sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMGetTargetDescription.html" title="fn llvm_sys::target_machine::LLVMGetTargetDescription">LLVMGetTargetDescription</a><sup title="unsafe function">⚠</sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMGetTargetFromName.html" title="fn llvm_sys::target_machine::LLVMGetTargetFromName">LLVMGetTargetFromName</a><sup title="unsafe function">⚠</sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMGetTargetFromTriple.html" title="fn llvm_sys::target_machine::LLVMGetTargetFromTriple">LLVMGetTargetFromTriple</a><sup title="unsafe function">⚠</sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMGetTargetMachineCPU.html" title="fn llvm_sys::target_machine::LLVMGetTargetMachineCPU">LLVMGetTargetMachineCPU</a><sup title="unsafe function">⚠</sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMGetTargetMachineFeatureString.html" title="fn llvm_sys::target_machine::LLVMGetTargetMachineFeatureString">LLVMGetTargetMachineFeatureString</a><sup title="unsafe function">⚠</sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMGetTargetMachineTarget.html" title="fn llvm_sys::target_machine::LLVMGetTargetMachineTarget">LLVMGetTargetMachineTarget</a><sup title="unsafe function">⚠</sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMGetTargetMachineTriple.html" title="fn llvm_sys::target_machine::LLVMGetTargetMachineTriple">LLVMGetTargetMachineTriple</a><sup title="unsafe function">⚠</sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMGetTargetName.html" title="fn llvm_sys::target_machine::LLVMGetTargetName">LLVMGetTargetName</a><sup title="unsafe function">⚠</sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMNormalizeTargetTriple.html" title="fn llvm_sys::target_machine::LLVMNormalizeTargetTriple">LLVMNormalizeTargetTriple</a><sup title="unsafe function">⚠</sup></div><div class="desc docblock-short">Normalize a target triple. The result needs to be disposed with LLVMDisposeMessage.</div></li><li><div class="item-name"><a class="fn" href="fn.LLVMSetTargetMachineAsmVerbosity.html" title="fn llvm_sys::target_machine::LLVMSetTargetMachineAsmVerbosity">LLVMSetTargetMachineAsmVerbosity</a><sup title="unsafe function">⚠</sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMTargetHasAsmBackend.html" title="fn llvm_sys::target_machine::LLVMTargetHasAsmBackend">LLVMTargetHasAsmBackend</a><sup title="unsafe function">⚠</sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMTargetHasJIT.html" title="fn llvm_sys::target_machine::LLVMTargetHasJIT">LLVMTargetHasJIT</a><sup title="unsafe function">⚠</sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMTargetHasTargetMachine.html" title="fn llvm_sys::target_machine::LLVMTargetHasTargetMachine">LLVMTargetHasTargetMachine</a><sup title="unsafe function">⚠</sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMTargetMachineEmitToFile.html" title="fn llvm_sys::target_machine::LLVMTargetMachineEmitToFile">LLVMTargetMachineEmitToFile</a><sup title="unsafe function">⚠</sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMTargetMachineEmitToMemoryBuffer.html" title="fn llvm_sys::target_machine::LLVMTargetMachineEmitToMemoryBuffer">LLVMTargetMachineEmitToMemoryBuffer</a><sup title="unsafe function">⚠</sup></div></li></ul><h2 id="types" class="section-header"><a href="#types">Type Aliases</a></h2><ul class="item-table"><li><div class="item-name"><a class="type" href="type.LLVMTargetMachineRef.html" title="type llvm_sys::target_machine::LLVMTargetMachineRef">LLVMTargetMachineRef</a></div></li><li><div class="item-name"><a class="type" href="type.LLVMTargetRef.html" title="type llvm_sys::target_machine::LLVMTargetRef">LLVMTargetRef</a></div></li></ul></section></div></main></body></html> |