C# Class Mosa.Compiler.Framework.Context

Provides context for transformations.
Afficher le fichier Open project: tgiphil/MOSA-Project Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
AppendInstruction ( ) : void

Appends an (empty) instruction after the current index.

Method Details

AddBranchTarget() public méthode

Sets the branch target.
public AddBranchTarget ( BasicBlock block ) : void
block BasicBlock The basic block.
Résultat void

AddOperand() public méthode

Adds the operand.
public AddOperand ( Operand operand ) : void
operand Operand The operand.
Résultat void

AppendInstruction() public méthode

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction ) : void
instruction BaseInstruction The instruction.
Résultat void

AppendInstruction() public méthode

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, BasicBlock block ) : void
instruction BaseInstruction The instruction.
block BasicBlock The block.
Résultat void

AppendInstruction() public méthode

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, BasicBlock block1, BasicBlock block2 ) : void
instruction BaseInstruction The instruction.
block1 BasicBlock The block1.
block2 BasicBlock The block2.
Résultat void

AppendInstruction() public méthode

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, ConditionCode condition ) : void
instruction BaseInstruction The instruction.
condition ConditionCode The condition.
Résultat void

AppendInstruction() public méthode

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, ConditionCode condition, BasicBlock block ) : void
instruction BaseInstruction The instruction.
condition ConditionCode The condition.
block BasicBlock The block.
Résultat void

AppendInstruction() public méthode

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, ConditionCode condition, Operand result ) : void
instruction BaseInstruction The instruction.
condition ConditionCode The condition.
result Operand The result.
Résultat void

AppendInstruction() public méthode

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.
Résultat void

AppendInstruction() public méthode

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.
Résultat void

AppendInstruction() public méthode

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.
Résultat void

AppendInstruction() public méthode

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.
Résultat void

AppendInstruction() public méthode

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.
Résultat void

AppendInstruction() public méthode

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.
Résultat void

AppendInstruction() public méthode

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.
Résultat void

AppendInstruction() public méthode

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.
Résultat void

AppendInstruction() public méthode

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.
Résultat void

AppendInstruction() public méthode

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, MosaMethod target ) : void
instruction BaseInstruction The instruction.
target MosaMethod The target.
Résultat void

AppendInstruction() public méthode

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, Operand result ) : void
instruction BaseInstruction The instruction.
result Operand The result.
Résultat void

AppendInstruction() public méthode

Appends the instruction.
public AppendInstruction ( BaseInstruction instruction, Operand result, Operand operand1 ) : void
instruction BaseInstruction The instruction.
result Operand The result.
operand1 Operand The operand1.
Résultat void

AppendInstruction() public méthode

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.
Résultat void

AppendInstruction() public méthode

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.
Résultat void

AppendInstruction() public méthode

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.
Résultat void

AppendInstruction() public méthode

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.
Résultat void

AppendInstruction() public méthode

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.
Résultat void

AppendInstruction() public méthode

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.
Résultat void

AppendInstruction2() public méthode

Appends the instruction.
public AppendInstruction2 ( BaseInstruction instruction, Operand result, Operand result2 ) : void
instruction BaseInstruction The instruction.
result Operand The result.
result2 Operand The result2.
Résultat void

AppendInstruction2() public méthode

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.
Résultat void

AppendInstruction2() public méthode

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.
Résultat void

AppendInstruction2() public méthode

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.
Résultat void

Clone() public méthode

Clones this instance.
public Clone ( ) : Context
Résultat Context

Context() public méthode

Initializes a new instance of the Context class.
public Context ( BasicBlock block ) : System.Collections.Generic
block BasicBlock The block.
Résultat System.Collections.Generic

Context() public méthode

Initializes a new instance of the Context class.
public Context ( InstructionNode instructionNode ) : System.Collections.Generic
instructionNode InstructionNode The instruction node.
Résultat System.Collections.Generic

Empty() public méthode

Empties this context.
public Empty ( ) : void
Résultat void

GetOperand() public méthode

Gets the operand by index.
public GetOperand ( int index ) : Operand
index int The index.
Résultat Operand

GetResult() public méthode

Gets the result.
public GetResult ( int index ) : Operand
index int The index.
Résultat Operand

GotoNext() public méthode

Goes to the next instruction.
public GotoNext ( ) : void
Résultat void

GotoPrevious() public méthode

Gotos to the previous instruction.
public GotoPrevious ( ) : void
Résultat void

InsertBefore() public méthode

Inserts an instruction before the current instruction.
public InsertBefore ( ) : Context
Résultat Context

ReplaceInstructionOnly() public méthode

Replaces the instruction only.
public ReplaceInstructionOnly ( BaseInstruction instruction ) : void
instruction BaseInstruction The instruction.
Résultat void

SetInstruction() public méthode

Sets the instruction.
public SetInstruction ( BaseInstruction instruction ) : void
instruction BaseInstruction The instruction.
Résultat void

SetInstruction() public méthode

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, BasicBlock block ) : void
instruction BaseInstruction The instruction.
block BasicBlock The block.
Résultat void

SetInstruction() public méthode

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, ConditionCode condition ) : void
instruction BaseInstruction The instruction.
condition ConditionCode The condition.
Résultat void

SetInstruction() public méthode

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, ConditionCode condition, BasicBlock block ) : void
instruction BaseInstruction The instruction.
condition ConditionCode The condition.
block BasicBlock The block.
Résultat void

SetInstruction() public méthode

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.
Résultat void

SetInstruction() public méthode

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.
Résultat void

SetInstruction() public méthode

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.
Résultat void

SetInstruction() public méthode

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.
Résultat void

SetInstruction() public méthode

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.
Résultat void

SetInstruction() public méthode

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.
Résultat void

SetInstruction() public méthode

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.
Résultat void

SetInstruction() public méthode

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.
Résultat void

SetInstruction() public méthode

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, MosaMethod target ) : void
instruction BaseInstruction The instruction.
target MosaMethod The target.
Résultat void

SetInstruction() public méthode

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, Operand result ) : void
instruction BaseInstruction The instruction.
result Operand The result.
Résultat void

SetInstruction() public méthode

Sets the instruction.
public SetInstruction ( BaseInstruction instruction, Operand result, Operand operand1 ) : void
instruction BaseInstruction The instruction.
result Operand The result.
operand1 Operand The operand1.
Résultat void

SetInstruction() public méthode

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.
Résultat void

SetInstruction() public méthode

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.
Résultat void

SetInstruction() public méthode

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.
Résultat void

SetInstruction() public méthode

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.
Résultat void

SetInstruction() public méthode

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.
Résultat void

SetInstruction() public méthode

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.
Résultat void

SetInstruction2() public méthode

Sets the instruction.
public SetInstruction2 ( BaseInstruction instruction, Operand result, Operand result2 ) : void
instruction BaseInstruction The instruction.
result Operand The result.
result2 Operand The result2.
Résultat void

SetInstruction2() public méthode

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.
Résultat void

SetInstruction2() public méthode

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.
Résultat void

SetInstruction2() public méthode

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.
Résultat void

SetOperand() public méthode

Sets the operand by index.
public SetOperand ( int index, Operand operand ) : void
index int The index.
operand Operand The operand.
Résultat void

SetResult() public méthode

Sets the result by index.
public SetResult ( int index, Operand operand ) : void
index int The index.
operand Operand The operand.
Résultat void

ToString() public méthode

Returns a System.String that represents this instance.
public ToString ( ) : string
Résultat string

UpdateBranchTarget() public méthode

Updates the branch target.
public UpdateBranchTarget ( int index, BasicBlock block ) : void
index int The index.
block BasicBlock The block.
Résultat void