Class JumpToEntryRemoval
A transform that removes all direct jumps to the entry point by replacing the current entry point with a 'thunk' basic block that is entered once per function call.
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 JumpToEntryRemoval : IntraproceduralOptimization
Fields
| Improve this Doc View SourceInstance
An instance of the jump-to-entry removal transform.
Declaration
public static readonly JumpToEntryRemoval Instance
Field Value
Type | Description |
---|---|
JumpToEntryRemoval |
Methods
| Improve this Doc 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. |