Expand description
A typesafe representation of alignment states and operations that preserves LLVM’s alignment invariants.
Structs§
- Address
Space - An invariant-preserving newtype for representing the address space of a pointer type.
- Align
- A size efficient, opaque representation of bytewise alignment.
- Aligned
Type Width - An invariant-preserving newtype for representing the bitwidth of an alignable type.
- Maybe
Align - Represents a potentially unknown (unspecified) alignment.
- Pointer
Align Spec - Represents a pointer width (in bits), along with its ABI-mandated and preferred alignments (which may differ).
- Pointer
Align Specs - Represents a sorted collection of
PointerAlignSpec
s. - Type
Align Spec - Represents an alignable type, along with its ABI-mandated and preferred alignments (which may differ).
- Type
Align Specs - Represents a sorted collection of
TypeAlignSpec
s.
Enums§
- Address
Space Error - Errors that can occur when constructing an
AddressSpace
- Align
Error - Errors that can occur when constructing an
Align
- Align
Spec Error - Errors that can occur when constructing a
TypeAlignSpec
orPointerAlignSpec
. - Aligned
Type - An enumeration of alignable non-pointer types.
- Aligned
Type Width Error - Errors that can occur when constructing an
AlignedTypeWidth
- Function
Pointer Align - A model for function pointer alignment behavior.