Search Results for

    Show / Hide Table of Contents

    Class CallDevirtualization

    The call devirtualization optimization: a transform that takes iterates over virtual calls in a control-flow graph and tries to reduce them to a static call.

    Inheritance
    object
    Optimization
    IntraproceduralOptimization
    CallDevirtualization
    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 CallDevirtualization : IntraproceduralOptimization

    Fields

    | Edit this page View Source

    Instance

    An instance of the call devirtualization transform.

    Declaration
    public static readonly CallDevirtualization Instance
    Field Value
    Type Description
    CallDevirtualization

    Methods

    | Edit this page 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)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX