Show / Hide Table of Contents

    Class AllocaToRegister

    The "alloca to register" transformation, which tries to eliminate alloca instructions whose addresses do not escape.

    Inheritance
    System.Object
    Optimization
    IntraproceduralOptimization
    AllocaToRegister
    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 AllocaToRegister : IntraproceduralOptimization

    Fields

    | Improve this Doc View Source

    Instance

    An instance of the alloca-to-register transform.

    Declaration
    public static readonly AllocaToRegister Instance
    Field Value
    Type Description
    AllocaToRegister

    Methods

    | Improve this Doc View Source

    Apply(FlowGraph)

    Applies the alloca to register transformation to a flow graph.

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

    A 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