Table of Contents

Constructor TargetMachine

Namespace
Ubiquity.NET.Llvm
Assembly
Ubiquity.NET.Llvm.dll

TargetMachine(Triple, LazyEncodedString?, LazyEncodedString?, CodeGenOpt, RelocationMode, CodeModel)

Initializes a new instance of the TargetMachine class.

public TargetMachine(Triple triple, LazyEncodedString? cpu = null, LazyEncodedString? features = null, CodeGenOpt optLevel = CodeGenOpt.Default, RelocationMode relocationMode = RelocationMode.Default, CodeModel codeModel = CodeModel.Default)

Parameters

triple Triple

Triple for the target machine

cpu LazyEncodedString

CPU options for the machine

features LazyEncodedString

CPU features for the machine

optLevel CodeGenOpt

General optimization level for machine code generation

relocationMode RelocationMode

Relocation mode for machine code generation

codeModel CodeModel

Code model for machine code generation