Class FuseMemoryAccesses
A transform that tries to turn loads from and stores to special addresses like field pointers into fused loads and store instructions.
Back-ends are this pass' main target audience; fused loads and stores produce better codegen for back-ends such as the CIL back-end.
Inherited Members
Namespace: Flame.Compiler.Transforms
Assembly: Flame.Compiler.dll
Syntax
public sealed class FuseMemoryAccesses : IntraproceduralOptimization
Fields
| Edit this page View SourceInstance
An instance of the memory access fusion transform.
Declaration
public static readonly FuseMemoryAccesses Instance
Field Value
| Type | Description |
|---|---|
| FuseMemoryAccesses |
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. |