Class MemorySpecification.ArgumentWrite
A write to an address encoded by an argument.
Inherited Members
Namespace: Flame.Compiler.Analysis
Assembly: Flame.Compiler.dll
Syntax
public sealed class MemorySpecification.ArgumentWrite : MemorySpecification
Properties
| Edit this page View SourceMayRead
Tells if this memory access spec implies that the instruction it is attached to might read from some address.
Declaration
public override bool MayRead { get; }
Property Value
| Type | Description |
|---|---|
| bool |
|
Overrides
| Edit this page View SourceMayWrite
Tells if this memory access spec implies that the instruction it is attached to might write to some address.
Declaration
public override bool MayWrite { get; }
Property Value
| Type | Description |
|---|---|
| bool |
|
Overrides
| Edit this page View SourceParameterIndex
Gets the index of the parameter that corresponds to the argument that is written to.
Declaration
public int ParameterIndex { get; }
Property Value
| Type | Description |
|---|---|
| int | A parameter index. |
Methods
| Edit this page View SourceCreate(int)
Creates a memory access spec that corresponds to a write to a particular argument.
Declaration
public static MemorySpecification.ArgumentWrite Create(int parameterIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| int | parameterIndex | The index of the parameter that corresponds to the argument that is written to. |
Returns
| Type | Description |
|---|---|
| MemorySpecification.ArgumentWrite | A memory access spec that represents an argument write. |