Class ValueUseAnalysis
An analysis that figures out where values are used.
Inheritance
System.Object
ValueUseAnalysis
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 ValueUseAnalysis : IFlowGraphAnalysis<ValueUses>
Fields
| Improve this Doc View SourceInstance
Gets an instance of the value use analysis.
Declaration
public static readonly ValueUseAnalysis Instance
Field Value
Type | Description |
---|---|
ValueUseAnalysis | An instance of the value use analysis. |
Methods
| Improve this Doc View SourceAnalyze(FlowGraph)
Declaration
public ValueUses Analyze(FlowGraph graph)
Parameters
Type | Name | Description |
---|---|---|
FlowGraph | graph |
Returns
Type | Description |
---|---|
ValueUses |
AnalyzeWithUpdates(FlowGraph, ValueUses, IReadOnlyList<FlowGraphUpdate>)
Declaration
public ValueUses AnalyzeWithUpdates(FlowGraph graph, ValueUses previousResult, IReadOnlyList<FlowGraphUpdate> updates)
Parameters
Type | Name | Description |
---|---|---|
FlowGraph | graph | |
ValueUses | previousResult | |
System.Collections.Generic.IReadOnlyList<FlowGraphUpdate> | updates |
Returns
Type | Description |
---|---|
ValueUses |