Show / Hide Table of Contents

    Class FlowInstructionBuilder

    An instruction reference to an unnamed instruction in block flow.

    Inheritance
    System.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
    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.Flow
    Assembly: Flame.Compiler.dll
    Syntax
    public abstract class FlowInstructionBuilder : InstructionBuilder

    Constructors

    | Improve this Doc 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

    | Improve this Doc View Source

    block

    The block that defines the flow.

    Declaration
    protected BasicBlockBuilder block
    Field Value
    Type Description
    BasicBlockBuilder

    Properties

    | Improve this Doc 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
    | Improve this Doc View Source

    Flow

    Gets the flow that defines the unnamed instruction.

    Declaration
    public BlockFlow Flow { get; protected set; }
    Property Value
    Type Description
    BlockFlow
    | Improve this Doc 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
    System.Boolean

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

    Overrides
    InstructionBuilder.IsValid

    Methods

    | Improve this Doc 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)
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX