Docs.rs
  • llvm-sys-160.1.0
    • llvm-sys 160.1.0
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • tari
    • Dependencies
      • clang-sys ^1.2.2 normal
      • libc ^0.2 normal
      • tempfile ^3.2.0 normal
      • cc ^1.0 build
      • lazy_static ^1.0 build
      • regex ^1.0 build
      • semver ^1.0.7 build
    • Versions
    • 18.41% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Module target_machine

  • Enums
  • Functions
  • Type Definitions
?
Change settings

Module llvm_sys::target_machine

source ·
Expand description

Target machine information, to generate assembly or object files.

Enums

  • LLVMCodeGenFileType
  • LLVMCodeGenOptLevel
  • LLVMCodeModel
  • LLVMOpaqueTargetMachine
  • LLVMRelocMode
  • LLVMTarget

Functions

  • LLVMAddAnalysisPasses⚠
  • LLVMCreateTargetDataLayout⚠
    Create a DataLayout based on the target machine.
  • LLVMCreateTargetMachine⚠
  • LLVMDisposeTargetMachine⚠
  • LLVMGetDefaultTargetTriple⚠
  • LLVMGetFirstTarget⚠
  • LLVMGetHostCPUFeatures⚠
    Get the host CPU’s features as a string. The result needs to be disposed with LLVMDisposeMessage.
  • LLVMGetHostCPUName⚠
    Get the host CPU as a string. The result needs to be disposed with LLVMDisposeMessage.
  • LLVMGetNextTarget⚠
  • LLVMGetTargetDescription⚠
  • LLVMGetTargetFromName⚠
  • LLVMGetTargetFromTriple⚠
  • LLVMGetTargetMachineCPU⚠
  • LLVMGetTargetMachineFeatureString⚠
  • LLVMGetTargetMachineTarget⚠
  • LLVMGetTargetMachineTriple⚠
  • LLVMGetTargetName⚠
  • LLVMNormalizeTargetTriple⚠
    Normalize a target triple. The result needs to be disposed with LLVMDisposeMessage.
  • LLVMSetTargetMachineAsmVerbosity⚠
  • LLVMTargetHasAsmBackend⚠
  • LLVMTargetHasJIT⚠
  • LLVMTargetHasTargetMachine⚠
  • LLVMTargetMachineEmitToFile⚠
  • LLVMTargetMachineEmitToMemoryBuffer⚠

Type Definitions

  • LLVMTargetMachineRef
  • LLVMTargetRef