Class InstructionSimplificationAnalysis
Looks for transforms that simplify instructions.
Inheritance
System.Object
InstructionSimplificationAnalysis
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 InstructionSimplificationAnalysis : IFlowGraphAnalysis<InstructionSimplificationAnalysis.Results>
Methods
| Improve this Doc View SourceAnalyze(FlowGraph)
Declaration
public InstructionSimplificationAnalysis.Results Analyze(FlowGraph graph)
Parameters
Type | Name | Description |
---|---|---|
FlowGraph | graph |
Returns
Type | Description |
---|---|
InstructionSimplificationAnalysis.Results |
AnalyzeWithUpdates(FlowGraph, InstructionSimplificationAnalysis.Results, IReadOnlyList<FlowGraphUpdate>)
Declaration
public InstructionSimplificationAnalysis.Results AnalyzeWithUpdates(FlowGraph graph, InstructionSimplificationAnalysis.Results previousResults, IReadOnlyList<FlowGraphUpdate> updates)
Parameters
Type | Name | Description |
---|---|---|
FlowGraph | graph | |
InstructionSimplificationAnalysis.Results | previousResults | |
System.Collections.Generic.IReadOnlyList<FlowGraphUpdate> | updates |
Returns
Type | Description |
---|---|
InstructionSimplificationAnalysis.Results |