Search Results for

    Show / Hide Table of Contents

    Class CanonicalizeArrayInit

    An intraprocedural transform that recognizes the InitializeArray array initialization idiom and canonicalizes it as a sequence of direct initialization instructions.

    Inheritance
    object
    Optimization
    IntraproceduralOptimization
    CanonicalizeArrayInit
    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.Clr
    Assembly: Flame.Clr.dll
    Syntax
    public sealed class CanonicalizeArrayInit : IntraproceduralOptimization

    Constructors

    | Edit this page View Source

    CanonicalizeArrayInit(IType)

    Creates an array initialization canonicalization transform.

    Declaration
    public CanonicalizeArrayInit(IType indexType)
    Parameters
    Type Name Description
    IType indexType

    The type used for indexing arrays.

    Properties

    | Edit this page View Source

    IndexType

    Gets the type used for indexing arrays.

    Declaration
    public IType IndexType { get; }
    Property Value
    Type Description
    IType

    An index type.

    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