Method | Description | |
---|---|---|
CreateArchitecture ( ArchitectureFeatureFlags architectureFeatures ) : |
Factory method for the Architecture class. This method creates an instance of an appropriate architecture class, which supports the specific architecture features. |
|
ExtendCompilerPipeline ( CompilerPipeline compilerPipeline ) : void |
Extends the pre-compiler pipeline with x86 compiler stages.
|
|
ExtendMethodCompilerPipeline ( CompilerPipeline methodCompilerPipeline ) : void |
Extends the method compiler pipeline with x86 specific stages.
|
|
GetCodeEmitter ( ) : |
Gets the code emitter.
|
|
GetTypeRequirements ( |
Gets the type memory requirements.
|
|
InsertAddInstruction ( |
Inserts the add instruction.
|
|
InsertCallInstruction ( |
Inserts the call instruction.
|
|
InsertCompoundMoveInstruction ( |
Create platform compound move.
|
|
InsertExchangeInstruction ( |
Creates the swap.
|
|
InsertJumpInstruction ( |
Inserts the jump instruction.
|
|
InsertJumpInstruction ( |
Inserts the jump instruction.
|
|
InsertLoadInstruction ( |
||
InsertMoveInstruction ( |
Create platform move.
|
|
InsertStoreInstruction ( |
||
InsertSubInstruction ( |
Inserts the sub instruction.
|
|
IsInstructionMove ( |
Determines whether [is instruction move] [the specified instruction].
|
Method | Description | |
---|---|---|
Architecture ( ArchitectureFeatureFlags architectureFeatures ) : System.Diagnostics |
Initializes a new instance of the Architecture class.
|
public static CreateArchitecture ( ArchitectureFeatureFlags architectureFeatures ) : |
||
architectureFeatures | ArchitectureFeatureFlags | The features available in the architecture and code generation. |
return |
public ExtendCompilerPipeline ( CompilerPipeline compilerPipeline ) : void | ||
compilerPipeline | CompilerPipeline | The pipeline to extend. |
return | void |
public ExtendMethodCompilerPipeline ( CompilerPipeline methodCompilerPipeline ) : void | ||
methodCompilerPipeline | CompilerPipeline | The method compiler pipeline to extend. |
return | void |
public GetCodeEmitter ( ) : |
||
return |
public GetTypeRequirements ( |
||
typeLayout | The type layouts. | |
type | MosaType | The type. |
size | int | Receives the memory size of the type. |
alignment | int | Receives alignment requirements of the type. |
return | void |
public InsertAddInstruction ( |
||
context | The context. | |
destination | ||
source1 | ||
source2 | ||
return | void |
public InsertCallInstruction ( |
||
context | The context. | |
source | The source. | |
return | void |
public InsertCompoundMoveInstruction ( |
||
compiler | The compiler. | |
context | The context. | |
destination | The destination. | |
destinationOffset | The destination offset. | |
source | The source. | |
sourceOffset | The source offset. | |
size | int | The size. |
return | void |
public InsertExchangeInstruction ( |
||
context | The context. | |
destination | The destination. | |
source | The source. | |
return | void |
public InsertJumpInstruction ( |
||
context | The context. | |
destination | ||
return | void |
public InsertJumpInstruction ( |
||
context | The context. | |
destination | The destination. | |
return | void |
public InsertLoadInstruction ( |
||
context | ||
destination | ||
source | ||
offset | ||
return | void |
public InsertMoveInstruction ( |
||
context | The context. | |
destination | The destination. | |
source | The source. | |
return | void |
public InsertStoreInstruction ( |
||
context | ||
destination | ||
offset | ||
value | ||
return | void |
public InsertSubInstruction ( |
||
context | The context. | |
destination | ||
source1 | ||
source2 | ||
return | void |
public IsInstructionMove ( |
||
instruction | The instruction. | |
return | bool |