Class MemorySpecification.Union
A union of memory access specs.
Inherited Members
Namespace: Flame.Compiler.Analysis
Assembly: Flame.Compiler.dll
Syntax
public sealed class MemorySpecification.Union : MemorySpecification
Properties
| Edit this page View SourceElements
Gets the memory access specs whose behavior is unified.
Declaration
public IReadOnlyList<MemorySpecification> Elements { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<MemorySpecification> | A list of memory access specs. |
MayRead
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
Methods
| Edit this page View SourceCreate(IReadOnlyList<MemorySpecification>)
Creates a memory access spec that represents the union of other memory access specs.
Declaration
public static MemorySpecification.Union Create(IReadOnlyList<MemorySpecification> elements)
Parameters
| Type | Name | Description |
|---|---|---|
| IReadOnlyList<MemorySpecification> | elements | A sequence of memory access specs. |
Returns
| Type | Description |
|---|---|
| MemorySpecification.Union | A union memory access spec. |