edlang/llvm_sys/target_machine/index.html
2024-05-05 09:43:20 +00:00

3 lines
16 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="Target machine information, to generate assembly or object files."><title>llvm_sys::target_machine - Rust</title><script> if (window.location.protocol !== "file:") document.write(`<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">`)</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-e935ef01ae1c1829.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.78.0 (9b00956e5 2024-04-29)" data-channel="1.78.0" data-search-js="search-42d8da7a6b9792c2.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-4c98445ec4002617.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-12cf3b4f4f9dc36d.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"><!--[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 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-179">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>Target machine information, to generate assembly or object files.</p>
</div></details><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.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.LLVMGlobalISelAbortMode.html" title="enum llvm_sys::target_machine::LLVMGlobalISelAbortMode">LLVMGlobalISelAbortMode</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.LLVMOpaqueTargetMachineOptions.html" title="enum llvm_sys::target_machine::LLVMOpaqueTargetMachineOptions">LLVMOpaqueTargetMachineOptions</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">Functions<a href="#functions" class="anchor">§</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.LLVMCreateTargetMachineOptions.html" title="fn llvm_sys::target_machine::LLVMCreateTargetMachineOptions">LLVMCreateTargetMachineOptions</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Create a new set of options for an llvm::TargetMachine.</div></li><li><div class="item-name"><a class="fn" href="fn.LLVMCreateTargetMachineWithOptions.html" title="fn llvm_sys::target_machine::LLVMCreateTargetMachineWithOptions">LLVMCreateTargetMachineWithOptions</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.LLVMDisposeTargetMachineOptions.html" title="fn llvm_sys::target_machine::LLVMDisposeTargetMachineOptions">LLVMDisposeTargetMachineOptions</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Dispose of an LLVMTargetMachineOptionsRef instance.</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 CPUs 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.LLVMSetTargetMachineFastISel.html" title="fn llvm_sys::target_machine::LLVMSetTargetMachineFastISel">LLVMSetTargetMachineFastISel</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Enable fast-path instruction selection.</div></li><li><div class="item-name"><a class="fn" href="fn.LLVMSetTargetMachineGlobalISel.html" title="fn llvm_sys::target_machine::LLVMSetTargetMachineGlobalISel">LLVMSetTargetMachineGlobalISel</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Enable global instruction selection.</div></li><li><div class="item-name"><a class="fn" href="fn.LLVMSetTargetMachineGlobalISelAbort.html" title="fn llvm_sys::target_machine::LLVMSetTargetMachineGlobalISelAbort">LLVMSetTargetMachineGlobalISelAbort</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Set abort behaviour when global instruction selection fails to lower/select an instruction.</div></li><li><div class="item-name"><a class="fn" href="fn.LLVMSetTargetMachineMachineOutliner.html" title="fn llvm_sys::target_machine::LLVMSetTargetMachineMachineOutliner">LLVMSetTargetMachineMachineOutliner</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Enable the MachineOutliner pass.</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><li><div class="item-name"><a class="fn" href="fn.LLVMTargetMachineOptionsSetABI.html" title="fn llvm_sys::target_machine::LLVMTargetMachineOptionsSetABI">LLVMTargetMachineOptionsSetABI</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMTargetMachineOptionsSetCPU.html" title="fn llvm_sys::target_machine::LLVMTargetMachineOptionsSetCPU">LLVMTargetMachineOptionsSetCPU</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMTargetMachineOptionsSetCodeGenOptLevel.html" title="fn llvm_sys::target_machine::LLVMTargetMachineOptionsSetCodeGenOptLevel">LLVMTargetMachineOptionsSetCodeGenOptLevel</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMTargetMachineOptionsSetCodeModel.html" title="fn llvm_sys::target_machine::LLVMTargetMachineOptionsSetCodeModel">LLVMTargetMachineOptionsSetCodeModel</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMTargetMachineOptionsSetFeatures.html" title="fn llvm_sys::target_machine::LLVMTargetMachineOptionsSetFeatures">LLVMTargetMachineOptionsSetFeatures</a><sup title="unsafe function"></sup></div><div class="desc docblock-short">Set the list of features for the target machine.</div></li><li><div class="item-name"><a class="fn" href="fn.LLVMTargetMachineOptionsSetRelocMode.html" title="fn llvm_sys::target_machine::LLVMTargetMachineOptionsSetRelocMode">LLVMTargetMachineOptionsSetRelocMode</a><sup title="unsafe function"></sup></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.LLVMTargetMachineOptionsRef.html" title="type llvm_sys::target_machine::LLVMTargetMachineOptionsRef">LLVMTargetMachineOptionsRef</a></div></li><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>