Class SelectedFlowInstructions
A collection of selected instructions for block flow.
Inherited Members
Namespace: Flame.Compiler.Target
Assembly: Flame.Compiler.dll
Syntax
public static class SelectedFlowInstructions
Methods
| Edit this page View SourceCreate<TInstruction>(params 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 |
|---|---|---|
| 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. |
Create<TInstruction>(params 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. |