Table of Contents

Struct MemoryAttributeValue

Namespace
Ubiquity.NET.Llvm.Values
Assembly
Ubiquity.NET.Llvm.dll

Value argument for a "memory" attribute

public readonly record struct MemoryAttributeValue : IEquatable<MemoryAttributeValue>
Implements
Inherited Members

Remarks

The value is an integer that consists of a bitfield for variations. This, struct handles the processing of the bit fields.

Constructors

MemoryAttributeValue(IEnumerable<KeyValuePair<MemLocation, MemAccess>>)

Initializes a new instance of the MemoryAttributeValue struct

MemoryAttributeValue(uint)

Initializes a new instance of the MemoryAttributeValue struct

Properties

this[MemLocation]

Gets the MemAccess for a given MemLocation

Methods

ToUInt32()

Converts a memory attribute value to a raw integral value

Operators

implicit operator uint(MemoryAttributeValue)

Implicit cas operator to convert a memory attribute value to a raw integral value