Class TargetMachine
Target specific code generation information
public sealed class TargetMachine : IDisposable
- Inheritance
-
TargetMachine
- Implements
- Inherited Members
Constructors
- TargetMachine(Triple, LazyEncodedString?, LazyEncodedString?, CodeGenOpt, RelocationMode, CodeModel)
Initializes a new instance of the TargetMachine class.
Properties
- AsmVerbosity
Gets or Sets a value indicating whether this machine uses verbose assembly
- Cpu
Gets the CPU Type for this machine
- FastISel
Gets or Sets a value indicating whether this machine enables the fast-path instruction selection
- Features
Gets the CPU specific features for this machine
- GlobalISel
Gets or Sets a value indicating whether this machine enables global instruction selection
- GlobalISelAbortMode
Gets or Sets the abort mode for Global ISel
- HostCPUFeatures
Gets the CPU features for the current host
- HostCPUName
Gets the CPU name for the current host
- MachineOutliner
Gets or Sets a value indicating whether this machine uses the MachineOutliner pass
- Target
Gets the target that owns this TargetMachine
- Triple
Gets the target triple describing this machine
Methods
- CreateTargetData()
Creates Data Layout information for this machine
- Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
- EmitToBuffer(IModule, CodeGenFileKind)
Emits the module for the target machine to a MemoryBuffer
- EmitToFile(IModule, string, CodeGenFileKind, bool)
Generate code for the target machine from a module
- FromTriple(Triple, LazyEncodedString?, LazyEncodedString?, CodeGenOpt, RelocationMode, CodeModel)
Creates a TargetMachine for the triple and specified parameters
- HostMachine(CodeGenOpt, RelocationMode, CodeModel)
Gets a target machine for the current host