RISC‐V Y (CHERI) compressed capability format.
Synopsis
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>
Base Classes
Name |
Description |
|
CRTP base for CHERI capability format helpers. |
Static Member Functions
Name |
Description |
Returns the alignment mask for an allocation of size |
|
Returns |
|
Returns the required alignment for an allocation of size |
Static Data Members
Name |
Description |
Bitmask with all bits of AddressType set. |
Friends
Name |
Description |
CRTP base for CHERI capability format helpers. |
Template Parameters
Name |
Description |
AddressType |
Unsigned integer type for addresses and lengths. |
MW |
Mantissa width in bits. |
MAX_E |
Maximum representable exponent. |
Created with MrDocs