RISC-V Y (CHERI) compressed capability format.
Declared in <llvm/Support/CHERICapabilityFormat.h>
template<
typename AddressType,
unsigned int MW,
unsigned int MAX_E>
struct RVYCapabilityFormat
: CHERICapabilityFormatBase<RVYCapabilityFormat<AddressType, MW, MAX_E>, AddressType>
| Name | Description |
|---|---|
CHERICapabilityFormatBase<RVYCapabilityFormat<AddressType, MW, MAX_E>, AddressType> | CRTP base for CHERI capability format helpers. |
| Name | Description |
|---|---|
getAlignmentMask | Returns the alignment mask for an allocation of size Length. |
getRepresentableLength | Returns Length rounded up to the nearest representable allocation length. |
getRequiredAlignment | Returns the required alignment for an allocation of size Length. |
| Name | Description |
|---|---|
AddressMask | Bitmask with all bits of AddressType set. |
| Name | Description |
|---|---|
llvm::CHERICapabilityFormatBase | CRTP base for CHERI capability format helpers. |
| Name | Description |
|---|---|
| AddressType | Unsigned integer type for addresses and lengths. |
| MW | Mantissa width in bits. |
| MAX_E | Maximum representable exponent. |