Show / Hide Table of Contents

    Class ForwardRegisters

    A transform that rewrites control-flow graphs in register forwarding form, that is, it rewrites control-flow graphs such that basic blocks only use values that are defined in that basic block. Block parameters and branch arguments are used to "import" and "export" values.

    Inheritance
    System.Object
    Optimization
    IntraproceduralOptimization
    ForwardRegisters
    Inherited Members
    IntraproceduralOptimization.IsCheckpoint
    IntraproceduralOptimization.ApplyAsync(MethodBody, OptimizationState)
    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.Transforms
    Assembly: Flame.Compiler.dll
    Syntax
    public sealed class ForwardRegisters : IntraproceduralOptimization

    Fields

    | Improve this Doc View Source

    Instance

    An instance of the register forwarding form construction transform.

    Declaration
    public static readonly ForwardRegisters Instance
    Field Value
    Type Description
    ForwardRegisters

    Methods

    | Improve this Doc View Source

    Apply(FlowGraph)

    Applies this intraprocedural optimization to a flow graph.

    Declaration
    public override FlowGraph Apply(FlowGraph graph)
    Parameters
    Type Name Description
    FlowGraph graph

    The flow graph to transform.

    Returns
    Type Description
    FlowGraph

    A transformed flow graph.

    Overrides
    IntraproceduralOptimization.Apply(FlowGraph)
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX