Search Results for

    Show / Hide Table of Contents

    Struct SelectedFlowInstructions<TInstruction>

    A collection of selected instructions for block flow.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Flame.Compiler.Target
    Assembly: Flame.Compiler.dll
    Syntax
    public struct SelectedFlowInstructions<TInstruction>
    Type Parameters
    Name Description
    TInstruction

    The type of a target instruction.

    Constructors

    | Edit this page View Source

    SelectedFlowInstructions(IReadOnlyList<SelectedInstructions<TInstruction>>)

    Creates an instruction selection for block flow.

    Declaration
    public SelectedFlowInstructions(IReadOnlyList<SelectedInstructions<TInstruction>> chunks)
    Parameters
    Type Name Description
    IReadOnlyList<SelectedInstructions<TInstruction>> chunks

    A sequence of instruction selection chunks. Every chunk represents an logical instruction that loads its dependencies in order and performs some action.

    Properties

    | Edit this page View Source

    Chunks

    Gets the sequence of instruction selection chunks that constitutes this instruction selection.

    Declaration
    public readonly IReadOnlyList<SelectedInstructions<TInstruction>> Chunks { get; }
    Property Value
    Type Description
    IReadOnlyList<SelectedInstructions<TInstruction>>

    A sequence of instruction selection chunks. Every chunk represents an logical instruction that loads its dependencies in order and performs some action.

    | Edit this page View Source

    Dependencies

    Gets the sequence of values these selected instructions depend on.

    Declaration
    public IEnumerable<ValueTag> Dependencies { get; }
    Property Value
    Type Description
    IEnumerable<ValueTag>

    A sequence of values.

    Methods

    | Edit this page View Source

    Append(IEnumerable<TInstruction>)

    Appends a sequence of instructions to these selected flow instructions, producing a new flow instruction selection.

    Declaration
    public SelectedFlowInstructions<TInstruction> Append(IEnumerable<TInstruction> extraInstructions)
    Parameters
    Type Name Description
    IEnumerable<TInstruction> extraInstructions

    Additional instructions to append.

    Returns
    Type Description
    SelectedFlowInstructions<TInstruction>

    A flow instruction selection.

    | Edit this page View Source

    Append(params TInstruction[])

    Appends a sequence of instructions to these selected flow instructions, producing a new flow instruction selection.

    Declaration
    public SelectedFlowInstructions<TInstruction> Append(params TInstruction[] extraInstructions)
    Parameters
    Type Name Description
    TInstruction[] extraInstructions

    Additional instructions to append.

    Returns
    Type Description
    SelectedFlowInstructions<TInstruction>

    A flow instruction selection.

    | Edit this page View Source

    Prepend(IEnumerable<TInstruction>)

    Prepends a sequence of instructions to these selected flow instructions, producing a new flow instruction selection.

    Declaration
    public SelectedFlowInstructions<TInstruction> Prepend(IEnumerable<TInstruction> extraInstructions)
    Parameters
    Type Name Description
    IEnumerable<TInstruction> extraInstructions

    Additional instructions to prepend.

    Returns
    Type Description
    SelectedFlowInstructions<TInstruction>

    A flow instruction selection.

    | Edit this page View Source

    Prepend(params TInstruction[])

    Prepends a sequence of instructions to these selected flow instructions, producing a new flow instruction selection.

    Declaration
    public SelectedFlowInstructions<TInstruction> Prepend(params TInstruction[] extraInstructions)
    Parameters
    Type Name Description
    TInstruction[] extraInstructions

    Additional instructions to prepend.

    Returns
    Type Description
    SelectedFlowInstructions<TInstruction>

    A flow instruction selection.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX