Property | Type | Description | |
---|---|---|---|
ConstantZero | Operand | ||
StackFrame | Operand |
Method | Description | |
---|---|---|
AddStackLocal ( MosaType type ) : Operand |
Adds the stack local.
|
|
AddStackLocal ( MosaType type, bool pinned ) : Operand |
Adds the stack local.
|
|
AllocateVirtualRegisterOrStackSlot ( MosaType type ) : Operand |
Allocates the virtual register or stack slot.
|
|
Compile ( ) : void |
Compiles the method referenced by this method compiler.
|
|
CreateVirtualRegister ( MosaType type ) : Operand |
Creates a new virtual register operand.
|
|
FormatStageName ( IPipelineStage stage ) : string | ||
GetStage ( |
Gets the stage.
|
|
SetLocalVariables ( IList |
Allocates the local variable virtual registers.
|
|
SetProtectedRegions ( IList |
Sets the protected regions.
|
|
Stop ( ) : void |
Stops the method compiler.
|
|
StoreOnStack ( MosaType type ) : bool | ||
ToString ( ) : string |
Returns a System.String that represents this instance.
|
Method | Description | |
---|---|---|
BaseMethodCompiler ( |
Initializes a new instance of the BaseMethodCompiler class.
|
|
BeginCompile ( ) : void |
Called before the method compiler begins compiling the method.
|
|
EndCompile ( ) : void |
Called after the method compiler has finished compiling the method.
|
|
EvaluateParameterOperands ( ) : void |
Evaluates the parameter operands.
|
|
InitializeType ( ) : void |
Initializes the type.
|
Method | Description | |
---|---|---|
LayoutParameters ( int offsetOfFirst ) : int | ||
LayoutParameters ( ) : void | ||
SetStackParameter ( int index, MosaType type, string name ) : Operand |
public AddStackLocal ( MosaType type ) : Operand | ||
type | MosaType | The type. |
return | Operand |
public AddStackLocal ( MosaType type, bool pinned ) : Operand | ||
type | MosaType | The type. |
pinned | bool | |
return | Operand |
public AllocateVirtualRegisterOrStackSlot ( MosaType type ) : Operand | ||
type | MosaType | The type. |
return | Operand |
protected BaseMethodCompiler ( |
||
compiler | The assembly compiler. | |
method | MosaMethod | The method to compile by this instance. |
basicBlocks | BasicBlocks | The basic blocks. |
threadID | int | The thread identifier. |
return | System |
public CreateVirtualRegister ( MosaType type ) : Operand | ||
type | MosaType | The signature type of the virtual register. |
return | Operand |
protected EvaluateParameterOperands ( ) : void | ||
return | void |
public FormatStageName ( IPipelineStage stage ) : string | ||
stage | IPipelineStage | |
return | string |
public GetStage ( |
||
stageType | Type of the stage. | |
return | IPipelineStage |
public SetLocalVariables ( IList |
||
locals | IList |
The locals. |
return | void |
public SetProtectedRegions ( IList |
||
protectedRegions | IList |
The protected regions. |
return | void |