Llvm_target.TargetMachineSourceval create :
triple:string ->
?cpu:string ->
?features:string ->
?level:CodeGenOptLevel.t ->
?reloc_mode:RelocMode.t ->
?code_model:CodeModel.t ->
Target.t ->
tCreates 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.