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

Static Member Functions

Name

Description

getAlignmentMask

Returns the "alignment mask" for an allocation of size Length. This mask is 0 where the capability format alignment requires the address to be 0, and 1 otherwise.

getRepresentableLength

Returns Length rounded up to the nearest representable allocation length.

getRequiredAlignment

Returns the required alignment for an allocation of size Length.

Static Data Members

Friends

Name

Description

llvm::CHERICapabilityFormatBase

Created with MrDocs