package rune

  1. Overview
  2. Docs
Automatic differentiation and JIT compilation for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

raven-1.0.0.alpha1.tbz
sha256=8e277ed56615d388bc69c4333e43d1acd112b5f2d5d352e2453aef223ff59867
sha512=369eda6df6b84b08f92c8957954d107058fb8d3d8374082e074b56f3a139351b3ae6e3a99f2d4a4a2930dd950fd609593467e502368a13ad6217b571382da28c

doc/llvm_target/Llvm_target/TargetMachine/index.html

Module Llvm_target.TargetMachineSource

Sourcetype t
Sourceval create : triple:string -> ?cpu:string -> ?features:string -> ?level:CodeGenOptLevel.t -> ?reloc_mode:RelocMode.t -> ?code_model:CodeModel.t -> Target.t -> t

Creates a new target machine. See llvm::Target::createTargetMachine.

Sourceval target : t -> Target.t

Returns the Target used in a TargetMachine

Sourceval triple : t -> string

Returns the triple used while creating this target machine. See llvm::TargetMachine::getTriple.

Sourceval cpu : t -> string

Returns the CPU used while creating this target machine. See llvm::TargetMachine::getCPU.

Sourceval data_layout : t -> DataLayout.t

Returns the data layout of this target machine.

Sourceval features : t -> string

Returns the feature string used while creating this target machine. See llvm::TargetMachine::getFeatureString.

Sourceval set_verbose_asm : bool -> t -> unit

Sets the assembly verbosity of this target machine. See llvm::TargetMachine::setAsmVerbosity.

Sourceval set_fast_isel : bool -> t -> unit

Enable fast-path instruction selection. See llvm::TargetMachine::setFastISel.

Sourceval set_global_isel : bool -> t -> unit

Enable global instruction selection. See llvm::TargetMachine::setGlobalISel.

Sourceval set_global_isel_abort : ?mode:GlobalISelAbortMode.t -> t -> unit

Set abort behaviour when global instruction selection fails to lower/select an instruction. See llvm::TargetMachine::setGlobalISelAbort.

Sourceval set_machine_outliner : bool -> t -> unit

Enable the MachineOutliner pass. See llvm::TargetMachine::setMachineOutliner.

Sourceval emit_to_file : Llvm.llmodule -> CodeGenFileType.t -> string -> t -> unit

Emits assembly or object data for the given module to the given file or raise Error.

Sourceval emit_to_memory_buffer : Llvm.llmodule -> CodeGenFileType.t -> t -> Llvm.llmemorybuffer

Emits assembly or object data for the given module to a fresh memory buffer or raise Error.