Search Results for

    Show / Hide Table of Contents

    Class FlowInstructionBuilder

    An instruction reference to an unnamed instruction in block flow.

    Inheritance
    object
    InstructionBuilder
    FlowInstructionBuilder
    Inherited Members
    InstructionBuilder.Graph
    InstructionBuilder.Instruction
    InstructionBuilder.ReplaceInstruction(FlowGraph, IReadOnlyList<ValueTag>)
    InstructionBuilder.ReplaceInstruction(FlowGraph)
    InstructionBuilder.InsertBefore(Instruction, string)
    InstructionBuilder.InsertBefore(Instruction)
    InstructionBuilder.ResultType
    InstructionBuilder.Prototype
    InstructionBuilder.Arguments
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Flame.Compiler.Flow
    Assembly: Flame.Compiler.dll
    Syntax
    public abstract class FlowInstructionBuilder : InstructionBuilder

    Constructors

    | Edit this page View Source

    FlowInstructionBuilder(BasicBlockBuilder)

    Creates a flow instruction builder.

    Declaration
    public FlowInstructionBuilder(BasicBlockBuilder block)
    Parameters
    Type Name Description
    BasicBlockBuilder block

    The block that defines the flow.

    Fields

    | Edit this page View Source

    block

    The block that defines the flow.

    Declaration
    protected BasicBlockBuilder block
    Field Value
    Type Description
    BasicBlockBuilder

    Properties

    | Edit this page View Source

    Block

    Gets the block that defines the block flow.

    Declaration
    public override BasicBlockBuilder Block { get; }
    Property Value
    Type Description
    BasicBlockBuilder

    A basic block builder.

    Overrides
    InstructionBuilder.Block
    | Edit this page View Source

    Flow

    Gets the flow that defines the unnamed instruction.

    Declaration
    public BlockFlow Flow { get; protected set; }
    Property Value
    Type Description
    BlockFlow
    | Edit this page View Source

    IsValid

    Tells if this instruction builder is still valid. Querying or modifying invalid instruction builders results in an exception.

    Declaration
    public override bool IsValid { get; }
    Property Value
    Type Description
    bool

    true if this instruction reference is valid; otherwise, false.

    Overrides
    InstructionBuilder.IsValid

    Methods

    | Edit this page View Source

    InsertBefore(Instruction, ValueTag)

    Inserts a particular instruction just before this instruction. Returns the inserted instruction builder.

    Declaration
    public override NamedInstructionBuilder InsertBefore(Instruction instruction, ValueTag tag)
    Parameters
    Type Name Description
    Instruction instruction

    The instruction to insert.

    ValueTag tag

    The tag to assign to the instruction.

    Returns
    Type Description
    NamedInstructionBuilder

    The inserted instruction.

    Overrides
    InstructionBuilder.InsertBefore(Instruction, ValueTag)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX