LLVM 23.0.0git
llvm::RVYCapabilityFormat< AddressType, MW, MAX_E > Struct Template Reference

#include "llvm/Support/CHERICapabilityFormat.h"

Inheritance diagram for llvm::RVYCapabilityFormat< AddressType, MW, MAX_E >:
[legend]

Static Public Member Functions

static LLVM_ABI AddressType getAlignmentMask (uint64_t Length)
Static Public Member Functions inherited from llvm::CHERICapabilityFormatBase< RVYCapabilityFormat< AddressType, MW, MAX_E >, AddressType >
static LLVM_ABI AddressType getAlignmentMask (AddressType Length)
 Returns the "alignment mask" for an allocation of size Length.
static LLVM_ABI Align getRequiredAlignment (AddressType Length)
 Returns the required alignment for an allocation of size Length.
static LLVM_ABI AddressType getRepresentableLength (AddressType Length)
 Returns Length rounded up to the nearest representable allocation length.

Additional Inherited Members

Public Member Functions inherited from llvm::CHERICapabilityFormatBase< RVYCapabilityFormat< AddressType, MW, MAX_E >, AddressType >
 CHERICapabilityFormatBase ()=delete
Static Public Attributes inherited from llvm::CHERICapabilityFormatBase< RVYCapabilityFormat< AddressType, MW, MAX_E >, AddressType >
static constexpr AddressType AddressMask

Detailed Description

template<typename AddressType, unsigned MW, unsigned MAX_E>
struct llvm::RVYCapabilityFormat< AddressType, MW, MAX_E >

Definition at line 37 of file CHERICapabilityFormat.h.

Member Function Documentation

◆ getAlignmentMask()

template<typename AddressType, unsigned MW, unsigned MAX_E>
AddressType llvm::RVYCapabilityFormat< AddressType, MW, MAX_E >::getAlignmentMask ( uint64_t Length)
static

Definition at line 30 of file CHERICapabilityFormat.cpp.

References llvm::Length.


The documentation for this struct was generated from the following files: