Method | Description | |
---|---|---|
CreateSequence ( System.IO.Storage head, System.IO.Storage tail, DataType dt ) : Identifier | ||
CreateTemporary ( DataType dt ) : Identifier |
Creates a temporary variable whose storage and name is guaranteed not to collide with any other variable.
|
|
CreateTemporary ( string name, DataType dt ) : Identifier | ||
EnsureFlagGroup ( FlagGroupStorage grf ) : Identifier | ||
EnsureFlagGroup ( FlagRegister freg, uint grfMask, string name, DataType dt ) : Identifier | ||
EnsureFpuStackVariable ( int depth, DataType type ) : Identifier | ||
EnsureIdentifier ( System.IO.Storage stgForeign ) : Identifier | ||
EnsureOutArgument ( Identifier idOrig, DataType outArgumentPointer ) : Identifier | ||
EnsureRegister ( RegisterStorage reg ) : Identifier |
Ensures a register access in this function.
|
|
EnsureSequence ( System.IO.Storage head, System.IO.Storage tail, DataType dt ) : Identifier | ||
EnsureStackArgument ( int cbOffset, DataType type ) : Identifier | ||
EnsureStackArgument ( int cbOffset, DataType type, string argName ) : Identifier | ||
EnsureStackLocal ( int cbOffset, DataType type ) : Identifier |
Makes sure that there is a local variable at the given offset.
|
|
EnsureStackLocal ( int cbOffset, DataType type, string name ) : Identifier | ||
EnsureStackVariable ( Constant imm, int cbOffset, DataType type ) : Identifier | ||
EnsureStackVariable ( int byteOffset, DataType type ) : Identifier | ||
ExternalOffset ( Identifier id ) : int |
The offset of a variable from the return address, as seen from a caller.
|
|
FindFlagGroup ( uint grfMask ) : Identifier | ||
FindFpuStackVariable ( int off ) : Identifier | ||
FindOutArgument ( Identifier idOrig ) : Identifier | ||
FindRegister ( RegisterStorage reg ) : Identifier | ||
FindSequence ( System.IO.Storage n1, System.IO.Storage n2 ) : Identifier | ||
FindStackArgument ( int offset, int size ) : Identifier | ||
FindStackLocal ( int offset, int size ) : Identifier | ||
FindTemporary ( string name ) : Identifier | ||
FormatStackAccessName ( DataType type, string prefix, int cbOffset ) : string | ||
FormatStackAccessName ( DataType type, string prefix, int cbOffset, string nameOverride ) : string | ||
Frame ( PrimitiveType framePointerSize ) : Reko.Core.Expressions |
Creates a Frame instance for maintaining the local variables and arguments.
|
|
GetStackArgumentSpace ( ) : int |
Returns the number of bytes the stack arguments consume on the stack.
|
|
Write ( |
public CreateSequence ( System.IO.Storage head, System.IO.Storage tail, DataType dt ) : Identifier | ||
head | System.IO.Storage | |
tail | System.IO.Storage | |
dt | DataType | |
return | Identifier |
public CreateTemporary ( DataType dt ) : Identifier | ||
dt | DataType | |
return | Identifier |
public CreateTemporary ( string name, DataType dt ) : Identifier | ||
name | string | |
dt | DataType | |
return | Identifier |
public EnsureFlagGroup ( FlagGroupStorage grf ) : Identifier | ||
grf | FlagGroupStorage | |
return | Identifier |
public EnsureFlagGroup ( FlagRegister freg, uint grfMask, string name, DataType dt ) : Identifier | ||
freg | FlagRegister | |
grfMask | uint | |
name | string | |
dt | DataType | |
return | Identifier |
public EnsureFpuStackVariable ( int depth, DataType type ) : Identifier | ||
depth | int | |
type | DataType | |
return | Identifier |
public EnsureIdentifier ( System.IO.Storage stgForeign ) : Identifier | ||
stgForeign | System.IO.Storage | |
return | Identifier |
public EnsureOutArgument ( Identifier idOrig, DataType outArgumentPointer ) : Identifier | ||
idOrig | Identifier | |
outArgumentPointer | DataType | |
return | Identifier |
public EnsureRegister ( RegisterStorage reg ) : Identifier | ||
reg | RegisterStorage | |
return | Identifier |
public EnsureSequence ( System.IO.Storage head, System.IO.Storage tail, DataType dt ) : Identifier | ||
head | System.IO.Storage | |
tail | System.IO.Storage | |
dt | DataType | |
return | Identifier |
public EnsureStackArgument ( int cbOffset, DataType type ) : Identifier | ||
cbOffset | int | |
type | DataType | |
return | Identifier |
public EnsureStackArgument ( int cbOffset, DataType type, string argName ) : Identifier | ||
cbOffset | int | |
type | DataType | |
argName | string | |
return | Identifier |
public EnsureStackLocal ( int cbOffset, DataType type ) : Identifier | ||
cbOffset | int | |
type | DataType | |
return | Identifier |
public EnsureStackLocal ( int cbOffset, DataType type, string name ) : Identifier | ||
cbOffset | int | |
type | DataType | |
name | string | |
return | Identifier |
public EnsureStackVariable ( Constant imm, int cbOffset, DataType type ) : Identifier | ||
imm | Constant | |
cbOffset | int | |
type | DataType | |
return | Identifier |
public EnsureStackVariable ( int byteOffset, DataType type ) : Identifier | ||
byteOffset | int | |
type | DataType | |
return | Identifier |
public ExternalOffset ( Identifier id ) : int | ||
id | Identifier | |
return | int |
public FindFlagGroup ( uint grfMask ) : Identifier | ||
grfMask | uint | |
return | Identifier |
public FindFpuStackVariable ( int off ) : Identifier | ||
off | int | |
return | Identifier |
public FindOutArgument ( Identifier idOrig ) : Identifier | ||
idOrig | Identifier | |
return | Identifier |
public FindRegister ( RegisterStorage reg ) : Identifier | ||
reg | RegisterStorage | |
return | Identifier |
public FindSequence ( System.IO.Storage n1, System.IO.Storage n2 ) : Identifier | ||
n1 | System.IO.Storage | |
n2 | System.IO.Storage | |
return | Identifier |
public FindStackArgument ( int offset, int size ) : Identifier | ||
offset | int | |
size | int | |
return | Identifier |
public FindStackLocal ( int offset, int size ) : Identifier | ||
offset | int | |
size | int | |
return | Identifier |
public FindTemporary ( string name ) : Identifier | ||
name | string | |
return | Identifier |
public FormatStackAccessName ( DataType type, string prefix, int cbOffset ) : string | ||
type | DataType | |
prefix | string | |
cbOffset | int | |
return | string |
public FormatStackAccessName ( DataType type, string prefix, int cbOffset, string nameOverride ) : string | ||
type | DataType | |
prefix | string | |
cbOffset | int | |
nameOverride | string | |
return | string |
public Frame ( PrimitiveType framePointerSize ) : Reko.Core.Expressions | ||
framePointerSize | PrimitiveType | The size of the frame pointer must match the size of the /// stack register, if any, or at the least the size of a pointer. |
return | Reko.Core.Expressions |