Show / Hide Table of Contents

    Class DeadBlockElimination

    A transform that removes all blocks not reachable from the entry point block.

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

    Fields

    | Improve this Doc View Source

    Instance

    An instance of the dead block elimination transform.

    Declaration
    public static readonly DeadBlockElimination Instance
    Field Value
    Type Description
    DeadBlockElimination

    Methods

    | Improve this Doc View Source

    Apply(FlowGraph)

    Removes dead blocks from a particular graph.

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

    The graph to rewrite.

    Returns
    Type Description
    FlowGraph

    A rewritten flow graph.

    Overrides
    IntraproceduralOptimization.Apply(FlowGraph)
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX