C# 클래스 SharpOS.AOT.IR.Instructions.Instruction

Base class for all instructions
파일 보기 프로젝트 열기: sharpos/SharpOS 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
def Operand
name string
use Operand[]

공개 메소드들

메소드 설명
AdjustRegisterInternalType ( InternalType type ) : InternalType

Adjusts the type of the register internal.

Dump ( DumpProcessor dumpProcessor ) : void

Dumps the instruction.

Instruction ( string name, Operand def, Operand use ) : System

Initializes a new instance of the Instruction class.

LdProcess ( Method method ) : void

Lds the process.

LdfldProcess ( Method method ) : void

LDFLDs the process.

Process ( Method method ) : void

Processes the specified method.

StfldProcess ( Method method ) : void

STFLDs the process.

ToString ( ) : string

Returns a T:System.String that represents the current T:System.Object.

보호된 메소드들

메소드 설명
GetArithmeticalResultType ( Operand first, Operand second, bool add, bool sub, bool unsignedDiv, bool overflow ) : InternalType

Gets the type of the arithmetical result.

GetBitwiseResultType ( Operand first, Operand second ) : InternalType

Gets the type of the bitwise result.

메소드 상세

AdjustRegisterInternalType() 공개 메소드

Adjusts the type of the register internal.
public AdjustRegisterInternalType ( InternalType type ) : InternalType
type InternalType The type.
리턴 InternalType

Dump() 공개 메소드

Dumps the instruction.
public Dump ( DumpProcessor dumpProcessor ) : void
dumpProcessor DumpProcessor The dump processor.
리턴 void

GetArithmeticalResultType() 보호된 메소드

Gets the type of the arithmetical result.
protected GetArithmeticalResultType ( Operand first, Operand second, bool add, bool sub, bool unsignedDiv, bool overflow ) : InternalType
first Operand The first.
second Operand The second.
add bool if set to true [add].
sub bool if set to true [sub].
unsignedDiv bool if set to true [unsigned div].
overflow bool if set to true [overflow].
리턴 InternalType

GetBitwiseResultType() 보호된 메소드

Gets the type of the bitwise result.
protected GetBitwiseResultType ( Operand first, Operand second ) : InternalType
first Operand The first.
second Operand The second.
리턴 InternalType

Instruction() 공개 메소드

Initializes a new instance of the Instruction class.
public Instruction ( string name, Operand def, Operand use ) : System
name string The name.
def Operand The def.
use Operand The use.
리턴 System

LdProcess() 공개 메소드

Lds the process.
public LdProcess ( Method method ) : void
method Method The method.
리턴 void

LdfldProcess() 공개 메소드

LDFLDs the process.
public LdfldProcess ( Method method ) : void
method Method The method.
리턴 void

Process() 공개 메소드

Processes the specified method.
public Process ( Method method ) : void
method Method The method.
리턴 void

StfldProcess() 공개 메소드

STFLDs the process.
public StfldProcess ( Method method ) : void
method Method The method.
리턴 void

ToString() 공개 메소드

Returns a T:System.String that represents the current T:System.Object.
public ToString ( ) : string
리턴 string

프로퍼티 상세

def 보호되어 있는 프로퍼티

protected Operand def
리턴 Operand

name 보호되어 있는 프로퍼티

The name of the instruction
protected string name
리턴 string

use 보호되어 있는 프로퍼티

protected Operand[] use
리턴 Operand[]