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

    Constructors

    | Improve this Doc 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

    | Improve this Doc View Source

    IndexType

    Gets the type used for indexing arrays.

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

    An index type.

    Methods

    | Improve this Doc 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)
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX