Class ValueNumberingAnalysis
An analysis that computes value numbers.
Inheritance
System.Object
ValueNumberingAnalysis
Implements
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 ValueNumberingAnalysis : IFlowGraphAnalysis<ValueNumbering>
Fields
| Improve this Doc View SourceInstance
Gets an instance of the value numbering analysis.
Declaration
public static readonly ValueNumberingAnalysis Instance
Field Value
Type | Description |
---|---|
ValueNumberingAnalysis | An instance of the value numbering analysis. |
Methods
| Improve this Doc View SourceAnalyze(FlowGraph)
Declaration
public ValueNumbering Analyze(FlowGraph graph)
Parameters
Type | Name | Description |
---|---|---|
FlowGraph | graph |
Returns
Type | Description |
---|---|
ValueNumbering |
AnalyzeWithUpdates(FlowGraph, ValueNumbering, IReadOnlyList<FlowGraphUpdate>)
Declaration
public ValueNumbering AnalyzeWithUpdates(FlowGraph graph, ValueNumbering previousResult, IReadOnlyList<FlowGraphUpdate> updates)
Parameters
Type | Name | Description |
---|---|---|
FlowGraph | graph | |
ValueNumbering | previousResult | |
System.Collections.Generic.IReadOnlyList<FlowGraphUpdate> | updates |
Returns
Type | Description |
---|---|
ValueNumbering |