Class SelectedFlowInstructions
A collection of selected instructions for block flow.
Inheritance
System.Object
SelectedFlowInstructions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Flame.Compiler.Target
Assembly: Flame.Compiler.dll
Syntax
public static class SelectedFlowInstructions
Methods
| Improve this Doc View SourceCreate<TInstruction>(TInstruction[])
Creates a flow instruction selection from a sequence of target instructions.
Declaration
public static SelectedFlowInstructions<TInstruction> Create<TInstruction>(params TInstruction[] instructions)
Parameters
Type | Name | Description |
---|---|---|
TInstruction[] | instructions | A sequence of instructions to wrap. |
Returns
Type | Description |
---|---|
SelectedFlowInstructions<TInstruction> | A flow instruction selection. |
Type Parameters
Name | Description |
---|---|
TInstruction | The type of a target instruction. |
Create<TInstruction>(SelectedInstructions<TInstruction>[])
Creates a flow instruction selection from a sequence of logical instructions.
Declaration
public static SelectedFlowInstructions<TInstruction> Create<TInstruction>(params SelectedInstructions<TInstruction>[] chunks)
Parameters
Type | Name | Description |
---|---|---|
SelectedInstructions<TInstruction>[] | chunks | A sequence of logical instructions. |
Returns
Type | Description |
---|---|
SelectedFlowInstructions<TInstruction> | A flow instruction selection. |
Type Parameters
Name | Description |
---|---|
TInstruction | The type of a target instruction. |
Create<TInstruction>(IReadOnlyList<SelectedInstructions<TInstruction>>)
Creates a flow instruction selection from a sequence of logical instructions.
Declaration
public static SelectedFlowInstructions<TInstruction> Create<TInstruction>(IReadOnlyList<SelectedInstructions<TInstruction>> chunks)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IReadOnlyList<SelectedInstructions<TInstruction>> | chunks | A sequence of logical instructions. |
Returns
Type | Description |
---|---|
SelectedFlowInstructions<TInstruction> | A flow instruction selection. |
Type Parameters
Name | Description |
---|---|
TInstruction | The type of a target instruction. |