package rune
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=8e277ed56615d388bc69c4333e43d1acd112b5f2d5d352e2453aef223ff59867
sha512=369eda6df6b84b08f92c8957954d107058fb8d3d8374082e074b56f3a139351b3ae6e3a99f2d4a4a2930dd950fd609593467e502368a13ad6217b571382da28c
doc/llvm_target/Llvm_target/TargetMachine/index.html
Module Llvm_target.TargetMachine
Source
val 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
.
Returns the triple used while creating this target machine. See llvm::TargetMachine::getTriple
.
Returns the CPU used while creating this target machine. See llvm::TargetMachine::getCPU
.
Returns the data layout of this target machine.
Returns the feature string used while creating this target machine. See llvm::TargetMachine::getFeatureString
.
Sets the assembly verbosity of this target machine. See llvm::TargetMachine::setAsmVerbosity
.
Enable fast-path instruction selection. See llvm::TargetMachine::setFastISel
.
Enable global instruction selection. See llvm::TargetMachine::setGlobalISel
.
Set abort behaviour when global instruction selection fails to lower/select an instruction. See llvm::TargetMachine::setGlobalISelAbort
.
Enable the MachineOutliner pass. See llvm::TargetMachine::setMachineOutliner
.
Emits assembly or object data for the given module to the given file or raise Error
.
Emits assembly or object data for the given module to a fresh memory buffer or raise Error
.