Class GlobalValueNumbering
An optimization that replaces redundant computations by copies based on the results of value numbering and dominator tree analyses.
Inherited Members
Namespace: Flame.Compiler.Transforms
Assembly: Flame.Compiler.dll
Syntax
public sealed class GlobalValueNumbering : IntraproceduralOptimization
Fields
| Edit this page View SourceInstance
An instance of the global value numbering transform.
Declaration
public static readonly GlobalValueNumbering Instance
Field Value
| Type | Description |
|---|---|
| GlobalValueNumbering |
Methods
| Edit this page View SourceApply(FlowGraph)
Applies this intraprocedural optimization to 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. |