Class DeadValueElimination
Removes unused, non-effectful instructions and basic block parameters from flow graphs.
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.Transforms
Assembly: Flame.Compiler.dll
Syntax
public sealed class DeadValueElimination : IntraproceduralOptimization
Fields
| Improve this Doc View SourceInstance
An instance of the dead value elimination transform.
Declaration
public static readonly DeadValueElimination Instance
Field Value
Type | Description |
---|---|
DeadValueElimination |
Methods
| Improve this Doc View SourceApply(FlowGraph)
Removes unused, non-effectful instructions and basic block parameters from 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. |