Class FlowInstructionBuilder
An instruction reference to an unnamed instruction in block flow.
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.Flow
Assembly: Flame.Compiler.dll
Syntax
public abstract class FlowInstructionBuilder : InstructionBuilder
Constructors
| Improve this Doc View SourceFlowInstructionBuilder(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 Sourceblock
The block that defines the flow.
Declaration
protected BasicBlockBuilder block
Field Value
Type | Description |
---|---|
BasicBlockBuilder |
Properties
| Improve this Doc View SourceBlock
Gets the block that defines the block flow.
Declaration
public override BasicBlockBuilder Block { get; }
Property Value
Type | Description |
---|---|
BasicBlockBuilder | A basic block builder. |
Overrides
| Improve this Doc View SourceFlow
Gets the flow that defines the unnamed instruction.
Declaration
public BlockFlow Flow { get; protected set; }
Property Value
Type | Description |
---|---|
BlockFlow |
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 |
|
Overrides
Methods
| Improve this Doc View SourceInsertBefore(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. |