Search Results for

    Show / Hide Table of Contents

    Class JumpToEntryRemoval

    A transform that removes all direct jumps to the entry point by replacing the current entry point with a 'thunk' basic block that is entered once per function call.

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

    Fields

    | Edit this page View Source

    Instance

    An instance of the jump-to-entry removal transform.

    Declaration
    public static readonly JumpToEntryRemoval Instance
    Field Value
    Type Description
    JumpToEntryRemoval

    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