Show / Hide Table of Contents

    Class LivenessAnalysis

    An analysis that determines which variables are live at any location in a control flow graph.

    Inheritance
    System.Object
    LivenessAnalysis
    Implements
    IFlowGraphAnalysis<ValueLiveness>
    Inherited Members
    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.Analysis
    Assembly: Flame.Compiler.dll
    Syntax
    public sealed class LivenessAnalysis : IFlowGraphAnalysis<ValueLiveness>

    Fields

    | Improve this Doc View Source

    Instance

    Gets an instance of the liveness analysis.

    Declaration
    public static readonly LivenessAnalysis Instance
    Field Value
    Type Description
    LivenessAnalysis

    An instance of the liveness analysis.

    Methods

    | Improve this Doc View Source

    Analyze(FlowGraph)

    Declaration
    public ValueLiveness Analyze(FlowGraph graph)
    Parameters
    Type Name Description
    FlowGraph graph
    Returns
    Type Description
    ValueLiveness
    | Improve this Doc View Source

    AnalyzeWithUpdates(FlowGraph, ValueLiveness, IReadOnlyList<FlowGraphUpdate>)

    Declaration
    public ValueLiveness AnalyzeWithUpdates(FlowGraph graph, ValueLiveness previousResult, IReadOnlyList<FlowGraphUpdate> updates)
    Parameters
    Type Name Description
    FlowGraph graph
    ValueLiveness previousResult
    System.Collections.Generic.IReadOnlyList<FlowGraphUpdate> updates
    Returns
    Type Description
    ValueLiveness

    Implements

    IFlowGraphAnalysis<T>
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX