Search Results for

    Show / Hide Table of Contents

    Class CopyPropagation

    The copy propagation transform, which replaces references to values that are merely copies of values with the copied values themselves.

    Inheritance
    object
    Optimization
    IntraproceduralOptimization
    CopyPropagation
    Inherited Members
    IntraproceduralOptimization.IsCheckpoint
    IntraproceduralOptimization.ApplyAsync(MethodBody, OptimizationState)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Flame.Compiler.Transforms
    Assembly: Flame.Compiler.dll
    Syntax
    public sealed class CopyPropagation : IntraproceduralOptimization

    Fields

    | Edit this page View Source

    Instance

    An instance of the copy propagation transform.

    Declaration
    public static readonly CopyPropagation Instance
    Field Value
    Type Description
    CopyPropagation

    Methods

    | Edit this page View Source

    Apply(FlowGraph)

    Propagates copies in a flow graph.

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

    The graph to transform.

    Returns
    Type Description
    FlowGraph

    A transformed graph.

    Overrides
    IntraproceduralOptimization.Apply(FlowGraph)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX