C# Класс Mosa.Compiler.Framework.Context

Provides context for transformations.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddBranchTarget ( BasicBlock block ) : void

Sets the branch target.

AddOperand ( Operand operand ) : void

Adds the operand.

AppendInstruction ( BaseInstruction instruction ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, BasicBlock block ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, BasicBlock block1, BasicBlock block2 ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, ConditionCode condition ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, ConditionCode condition, BasicBlock block ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, ConditionCode condition, Operand result ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, ConditionCode condition, Operand result, Operand operand1 ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, ConditionCode condition, Operand result, Operand operand1, Operand operand2 ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, ConditionCode condition, Operand result, Operand operand1, Operand operand2, BasicBlock block ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, ConditionCode condition, bool updateStatus, Operand result, Operand operand1 ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, ConditionCode condition, bool updateStatus, Operand result, Operand operand1, Operand operand2 ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, InstructionSize size, Operand result, Operand operand1 ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, InstructionSize size, Operand result, Operand operand1, Operand operand2 ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, InstructionSize size, Operand result, Operand operand1, Operand operand2, Operand operand3 ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, InstructionSize size, Operand result, Operand operand1, Operand operand2, Operand operand3, Operand operand4 ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, MosaMethod target ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, Operand result ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, Operand result, Operand operand1 ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, Operand result, Operand operand1, Operand operand2 ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, Operand result, Operand operand1, Operand operand2, Operand operand3 ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, bool updateStatus, Operand result ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, bool updateStatus, Operand result, Operand operand1 ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, bool updateStatus, Operand result, Operand operand1, Operand operand2 ) : void

Appends the instruction.

AppendInstruction ( BaseInstruction instruction, byte operandCount, byte resultCount ) : void

Appends the instruction.

AppendInstruction2 ( BaseInstruction instruction, Operand result, Operand result2 ) : void

Appends the instruction.

AppendInstruction2 ( BaseInstruction instruction, Operand result, Operand result2, Operand operand1 ) : void

Appends the instruction.

AppendInstruction2 ( BaseInstruction instruction, Operand result, Operand result2, Operand operand1, Operand operand2 ) : void

Appends the instruction.

AppendInstruction2 ( BaseInstruction instruction, Operand result, Operand result2, Operand operand1, Operand operand2, Operand operand3 ) : void

Appends the instruction.

Clone ( ) : Context

Clones this instance.

Context ( BasicBlock block ) : System.Collections.Generic

Initializes a new instance of the Context class.

Context ( InstructionNode instructionNode ) : System.Collections.Generic

Initializes a new instance of the Context class.

Empty ( ) : void

Empties this context.

GetOperand ( int index ) : Operand

Gets the operand by index.

GetResult ( int index ) : Operand

Gets the result.

GotoNext ( ) : void

Goes to the next instruction.

GotoPrevious ( ) : void

Gotos to the previous instruction.

InsertBefore ( ) : Context

Inserts an instruction before the current instruction.

ReplaceInstructionOnly ( BaseInstruction instruction ) : void

Replaces the instruction only.

SetInstruction ( BaseInstruction instruction ) : void

Sets the instruction.

SetInstruction ( BaseInstruction instruction, BasicBlock block ) : void

Sets the instruction.

SetInstruction ( BaseInstruction instruction, ConditionCode condition ) : void

Sets the instruction.

SetInstruction ( BaseInstruction instruction, ConditionCode condition, BasicBlock block ) : void

Sets the instruction.

SetInstruction ( BaseInstruction instruction, ConditionCode condition, Operand result, Operand operand1 ) : void

Sets the instruction.

SetInstruction ( BaseInstruction instruction, ConditionCode condition, Operand result, Operand operand1, Operand operand2 ) : void

Sets the instruction.

SetInstruction ( BaseInstruction instruction, ConditionCode condition, Operand result, Operand operand1, Operand operand2, BasicBlock block ) : void

Sets the instruction.

SetInstruction ( BaseInstruction instruction, ConditionCode condition, bool updateStatus, Operand result, Operand operand1 ) : void

Sets the instruction.

SetInstruction ( BaseInstruction instruction, ConditionCode condition, bool updateStatus, Operand result, Operand operand1, Operand operand2 ) : void

Sets the instruction.

SetInstruction ( BaseInstruction instruction, InstructionSize size, Operand result, Operand operand1 ) : void

Sets the instruction.

SetInstruction ( BaseInstruction instruction, InstructionSize size, Operand result, Operand operand1, Operand operand2 ) : void

Sets the instruction.

SetInstruction ( BaseInstruction instruction, InstructionSize size, Operand result, Operand operand1, Operand operand2, Operand operand3 ) : void

Sets the instruction.

SetInstruction ( BaseInstruction instruction, MosaMethod target ) : void

Sets the instruction.

SetInstruction ( BaseInstruction instruction, Operand result ) : void

Sets the instruction.

SetInstruction ( BaseInstruction instruction, Operand result, Operand operand1 ) : void

Sets the instruction.

SetInstruction ( BaseInstruction instruction, Operand result, Operand operand1, Operand operand2 ) : void

Sets the instruction.

SetInstruction ( BaseInstruction instruction, Operand result, Operand operand1, Operand operand2, Operand operand3 ) : void

Sets the instruction.

SetInstruction ( BaseInstruction instruction, bool updateStatus, Operand result ) : void

Sets the instruction.

SetInstruction ( BaseInstruction instruction, bool updateStatus, Operand result, Operand operand1 ) : void

Sets the instruction.

SetInstruction ( BaseInstruction instruction, bool updateStatus, Operand result, Operand operand1, Operand operand2 ) : void

Sets the instruction.

SetInstruction ( BaseInstruction instruction, int operandCount, byte resultCount ) : void

Sets the instruction.

SetInstruction2 ( BaseInstruction instruction, Operand result, Operand result2 ) : void

Sets the instruction.

SetInstruction2 ( BaseInstruction instruction, Operand result, Operand result2, Operand operand1 ) : void

Sets the instruction.

SetInstruction2 ( BaseInstruction instruction, Operand result, Operand result2, Operand operand1, Operand operand2 ) : void

Sets the instruction.

SetInstruction2 ( BaseInstruction instruction, Operand result, Operand result2, Operand operand1, Operand operand2, Operand operand3 ) : void

Sets the instruction.

SetOperand ( int index, Operand operand ) : void

Sets the operand by index.

SetResult ( int index, Operand operand ) : void

Sets the result by index.

ToString ( ) : string

Returns a System.String that represents this instance.

UpdateBranchTarget ( int index, BasicBlock block ) : void

Updates the branch target.

Приватные методы

Метод Описание
AppendInstruction ( ) : void

Appends an (empty) instruction after the current index.

Описание методов

AddBranchTarget() публичный Метод

Sets the branch target.
public AddBranchTarget ( BasicBlock block ) : void
block BasicBlock The basic block.
Результат void

AddOperand() публичный Метод

Adds the operand.
public AddOperand ( Operand operand ) : void
operand Operand The operand.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction ) : void
instruction BaseInstruction The instruction.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, BasicBlock block ) : void
instruction BaseInstruction The instruction.
block BasicBlock The block.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, BasicBlock block1, BasicBlock block2 ) : void
instruction BaseInstruction The instruction.
block1 BasicBlock The block1.
block2 BasicBlock The block2.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, ConditionCode condition ) : void
instruction BaseInstruction The instruction.
condition ConditionCode The condition.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, ConditionCode condition, BasicBlock block ) : void
instruction BaseInstruction The instruction.
condition ConditionCode The condition.
block BasicBlock The block.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, ConditionCode condition, Operand result ) : void
instruction BaseInstruction The instruction.
condition ConditionCode The condition.
result Operand The result.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, ConditionCode condition, Operand result, Operand operand1 ) : void
instruction BaseInstruction The instruction.
condition ConditionCode The condition.
result Operand The result.
operand1 Operand The operand1.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, ConditionCode condition, Operand result, Operand operand1, Operand operand2 ) : void
instruction BaseInstruction The instruction.
condition ConditionCode
result Operand The result.
operand1 Operand The operand1.
operand2 Operand The operand2.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, ConditionCode condition, Operand result, Operand operand1, Operand operand2, BasicBlock block ) : void
instruction BaseInstruction The instruction.
condition ConditionCode The condition.
result Operand The result.
operand1 Operand The operand1.
operand2 Operand The operand2.
block BasicBlock The block.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, ConditionCode condition, bool updateStatus, Operand result, Operand operand1 ) : void
instruction BaseInstruction The instruction.
condition ConditionCode The condition.
updateStatus bool if set to true [update status].
result Operand The result.
operand1 Operand The operand1.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, ConditionCode condition, bool updateStatus, Operand result, Operand operand1, Operand operand2 ) : void
instruction BaseInstruction The instruction.
condition ConditionCode The condition.
updateStatus bool if set to true [update status].
result Operand The result.
operand1 Operand The operand1.
operand2 Operand The operand2.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, InstructionSize size, Operand result, Operand operand1 ) : void
instruction BaseInstruction The instruction.
size InstructionSize The size.
result Operand The result.
operand1 Operand The operand1.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, InstructionSize size, Operand result, Operand operand1, Operand operand2 ) : void
instruction BaseInstruction The instruction.
size InstructionSize The size.
result Operand The result.
operand1 Operand The operand1.
operand2 Operand The operand2.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, InstructionSize size, Operand result, Operand operand1, Operand operand2, Operand operand3 ) : void
instruction BaseInstruction The instruction.
size InstructionSize The size.
result Operand The result.
operand1 Operand The operand1.
operand2 Operand The operand2.
operand3 Operand The operand3.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, InstructionSize size, Operand result, Operand operand1, Operand operand2, Operand operand3, Operand operand4 ) : void
instruction BaseInstruction The instruction.
size InstructionSize The size.
result Operand The result.
operand1 Operand The operand1.
operand2 Operand The operand2.
operand3 Operand The operand3.
operand4 Operand The operand4.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, MosaMethod target ) : void
instruction BaseInstruction The instruction.
target MosaMethod The target.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, Operand result ) : void
instruction BaseInstruction The instruction.
result Operand The result.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, Operand result, Operand operand1 ) : void
instruction BaseInstruction The instruction.
result Operand The result.
operand1 Operand The operand1.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, Operand result, Operand operand1, Operand operand2 ) : void
instruction BaseInstruction The instruction.
result Operand The result.
operand1 Operand The operand1.
operand2 Operand The operand2.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, Operand result, Operand operand1, Operand operand2, Operand operand3 ) : void
instruction BaseInstruction The instruction.
result Operand The result.
operand1 Operand The operand1.
operand2 Operand The operand2.
operand3 Operand The operand3.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, bool updateStatus, Operand result ) : void
instruction BaseInstruction The instruction.
updateStatus bool if set to true [update status].
result Operand The result.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, bool updateStatus, Operand result, Operand operand1 ) : void
instruction BaseInstruction The instruction.
updateStatus bool
result Operand The result.
operand1 Operand The operand1.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, bool updateStatus, Operand result, Operand operand1, Operand operand2 ) : void
instruction BaseInstruction The instruction.
updateStatus bool if set to true [update status].
result Operand The result.
operand1 Operand The operand1.
operand2 Operand The operand2.
Результат void

AppendInstruction() публичный Метод

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, byte operandCount, byte resultCount ) : void
instruction BaseInstruction The instruction.
operandCount byte The operand count.
resultCount byte The result count.
Результат void

AppendInstruction2() публичный Метод

Appends the instruction.
public AppendInstruction2 ( BaseInstruction instruction, Operand result, Operand result2 ) : void
instruction BaseInstruction The instruction.
result Operand The result.
result2 Operand The result2.
Результат void

AppendInstruction2() публичный Метод

Appends the instruction.
public AppendInstruction2 ( BaseInstruction instruction, Operand result, Operand result2, Operand operand1 ) : void
instruction BaseInstruction The instruction.
result Operand The result.
result2 Operand The result2.
operand1 Operand The operand1.
Результат void

AppendInstruction2() публичный Метод

Appends the instruction.
public AppendInstruction2 ( BaseInstruction instruction, Operand result, Operand result2, Operand operand1, Operand operand2 ) : void
instruction BaseInstruction The instruction.
result Operand The result.
result2 Operand The result2.
operand1 Operand The operand1.
operand2 Operand The operand2.
Результат void

AppendInstruction2() публичный Метод

Appends the instruction.
public AppendInstruction2 ( BaseInstruction instruction, Operand result, Operand result2, Operand operand1, Operand operand2, Operand operand3 ) : void
instruction BaseInstruction The instruction.
result Operand The result.
result2 Operand The result2.
operand1 Operand The operand1.
operand2 Operand The operand2.
operand3 Operand The operand3.
Результат void

Clone() публичный Метод

Clones this instance.
public Clone ( ) : Context
Результат Context

Context() публичный Метод

Initializes a new instance of the Context class.
public Context ( BasicBlock block ) : System.Collections.Generic
block BasicBlock The block.
Результат System.Collections.Generic

Context() публичный Метод

Initializes a new instance of the Context class.
public Context ( InstructionNode instructionNode ) : System.Collections.Generic
instructionNode InstructionNode The instruction node.
Результат System.Collections.Generic

Empty() публичный Метод

Empties this context.
public Empty ( ) : void
Результат void

GetOperand() публичный Метод

Gets the operand by index.
public GetOperand ( int index ) : Operand
index int The index.
Результат Operand

GetResult() публичный Метод

Gets the result.
public GetResult ( int index ) : Operand
index int The index.
Результат Operand

GotoNext() публичный Метод

Goes to the next instruction.
public GotoNext ( ) : void
Результат void

GotoPrevious() публичный Метод

Gotos to the previous instruction.
public GotoPrevious ( ) : void
Результат void

InsertBefore() публичный Метод

Inserts an instruction before the current instruction.
public InsertBefore ( ) : Context
Результат Context

ReplaceInstructionOnly() публичный Метод

Replaces the instruction only.
public ReplaceInstructionOnly ( BaseInstruction instruction ) : void
instruction BaseInstruction The instruction.
Результат void

SetInstruction() публичный Метод

Sets the instruction.
public SetInstruction ( BaseInstruction instruction ) : void
instruction BaseInstruction The instruction.
Результат void

SetInstruction() публичный Метод

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, BasicBlock block ) : void
instruction BaseInstruction The instruction.
block BasicBlock The block.
Результат void

SetInstruction() публичный Метод

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, ConditionCode condition ) : void
instruction BaseInstruction The instruction.
condition ConditionCode The condition.
Результат void

SetInstruction() публичный Метод

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, ConditionCode condition, BasicBlock block ) : void
instruction BaseInstruction The instruction.
condition ConditionCode The condition.
block BasicBlock The block.
Результат void

SetInstruction() публичный Метод

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, ConditionCode condition, Operand result, Operand operand1 ) : void
instruction BaseInstruction The instruction.
condition ConditionCode The condition.
result Operand The result.
operand1 Operand The operand1.
Результат void

SetInstruction() публичный Метод

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, ConditionCode condition, Operand result, Operand operand1, Operand operand2 ) : void
instruction BaseInstruction The instruction.
condition ConditionCode The condition.
result Operand The result.
operand1 Operand The operand1.
operand2 Operand The operand2.
Результат void

SetInstruction() публичный Метод

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, ConditionCode condition, Operand result, Operand operand1, Operand operand2, BasicBlock block ) : void
instruction BaseInstruction The instruction.
condition ConditionCode The condition.
result Operand The result.
operand1 Operand The operand1.
operand2 Operand The operand2.
block BasicBlock The block.
Результат void

SetInstruction() публичный Метод

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, ConditionCode condition, bool updateStatus, Operand result, Operand operand1 ) : void
instruction BaseInstruction The instruction.
condition ConditionCode The condition.
updateStatus bool if set to true [update status].
result Operand The result.
operand1 Operand The operand1.
Результат void

SetInstruction() публичный Метод

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, ConditionCode condition, bool updateStatus, Operand result, Operand operand1, Operand operand2 ) : void
instruction BaseInstruction The instruction.
condition ConditionCode The condition.
updateStatus bool if set to true [update status].
result Operand The result.
operand1 Operand The operand1.
operand2 Operand The operand2.
Результат void

SetInstruction() публичный Метод

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, InstructionSize size, Operand result, Operand operand1 ) : void
instruction BaseInstruction The instruction.
size InstructionSize The size.
result Operand The result.
operand1 Operand The operand1.
Результат void

SetInstruction() публичный Метод

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, InstructionSize size, Operand result, Operand operand1, Operand operand2 ) : void
instruction BaseInstruction The instruction.
size InstructionSize The size.
result Operand The result.
operand1 Operand The operand1.
operand2 Operand The operand2.
Результат void

SetInstruction() публичный Метод

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, InstructionSize size, Operand result, Operand operand1, Operand operand2, Operand operand3 ) : void
instruction BaseInstruction The instruction.
size InstructionSize The size.
result Operand The result.
operand1 Operand The operand1.
operand2 Operand The operand2.
operand3 Operand The operand3.
Результат void

SetInstruction() публичный Метод

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, MosaMethod target ) : void
instruction BaseInstruction The instruction.
target MosaMethod The target.
Результат void

SetInstruction() публичный Метод

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, Operand result ) : void
instruction BaseInstruction The instruction.
result Operand The result.
Результат void

SetInstruction() публичный Метод

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, Operand result, Operand operand1 ) : void
instruction BaseInstruction The instruction.
result Operand The result.
operand1 Operand The operand1.
Результат void

SetInstruction() публичный Метод

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, Operand result, Operand operand1, Operand operand2 ) : void
instruction BaseInstruction The instruction.
result Operand The result.
operand1 Operand The operand1.
operand2 Operand The operand2.
Результат void

SetInstruction() публичный Метод

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, Operand result, Operand operand1, Operand operand2, Operand operand3 ) : void
instruction BaseInstruction The instruction.
result Operand The result.
operand1 Operand The operand1.
operand2 Operand The operand2.
operand3 Operand The operand3.
Результат void

SetInstruction() публичный Метод

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, bool updateStatus, Operand result ) : void
instruction BaseInstruction The instruction.
updateStatus bool if set to true [update status].
result Operand The result.
Результат void

SetInstruction() публичный Метод

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, bool updateStatus, Operand result, Operand operand1 ) : void
instruction BaseInstruction The instruction.
updateStatus bool
result Operand The result.
operand1 Operand The operand1.
Результат void

SetInstruction() публичный Метод

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, bool updateStatus, Operand result, Operand operand1, Operand operand2 ) : void
instruction BaseInstruction The instruction.
updateStatus bool if set to true [update status].
result Operand The result.
operand1 Operand The operand1.
operand2 Operand The operand2.
Результат void

SetInstruction() публичный Метод

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, int operandCount, byte resultCount ) : void
instruction BaseInstruction The instruction.
operandCount int The operand count.
resultCount byte The result count.
Результат void

SetInstruction2() публичный Метод

Sets the instruction.
public SetInstruction2 ( BaseInstruction instruction, Operand result, Operand result2 ) : void
instruction BaseInstruction The instruction.
result Operand The result.
result2 Operand The result2.
Результат void

SetInstruction2() публичный Метод

Sets the instruction.
public SetInstruction2 ( BaseInstruction instruction, Operand result, Operand result2, Operand operand1 ) : void
instruction BaseInstruction The instruction.
result Operand The result.
result2 Operand The result2.
operand1 Operand The operand1.
Результат void

SetInstruction2() публичный Метод

Sets the instruction.
public SetInstruction2 ( BaseInstruction instruction, Operand result, Operand result2, Operand operand1, Operand operand2 ) : void
instruction BaseInstruction The instruction.
result Operand The result.
result2 Operand The result2.
operand1 Operand The operand1.
operand2 Operand The operand2.
Результат void

SetInstruction2() публичный Метод

Sets the instruction.
public SetInstruction2 ( BaseInstruction instruction, Operand result, Operand result2, Operand operand1, Operand operand2, Operand operand3 ) : void
instruction BaseInstruction The instruction.
result Operand The result.
result2 Operand The result2.
operand1 Operand The operand1.
operand2 Operand The operand2.
operand3 Operand The operand3.
Результат void

SetOperand() публичный Метод

Sets the operand by index.
public SetOperand ( int index, Operand operand ) : void
index int The index.
operand Operand The operand.
Результат void

SetResult() публичный Метод

Sets the result by index.
public SetResult ( int index, Operand operand ) : void
index int The index.
operand Operand The operand.
Результат void

ToString() публичный Метод

Returns a System.String that represents this instance.
public ToString ( ) : string
Результат string

UpdateBranchTarget() публичный Метод

Updates the branch target.
public UpdateBranchTarget ( int index, BasicBlock block ) : void
index int The index.
block BasicBlock The block.
Результат void