|
LLVM 23.0.0git
|
#include "llvm/Support/CHERICapabilityFormat.h"
Static Public Member Functions | |
| static LLVM_ABI uint32_t | getAlignmentMask (uint32_t Length) |
| Static Public Member Functions inherited from llvm::CHERICapabilityFormatBase< CHERIoTCapabilityFormat, uint32_t > | |
| static LLVM_ABI uint32_t | getAlignmentMask (uint32_t Length) |
Returns the "alignment mask" for an allocation of size Length. | |
| static LLVM_ABI Align | getRequiredAlignment (uint32_t Length) |
Returns the required alignment for an allocation of size Length. | |
| static LLVM_ABI uint32_t | getRepresentableLength (uint32_t Length) |
Returns Length rounded up to the nearest representable allocation length. | |
Additional Inherited Members | |
| Public Member Functions inherited from llvm::CHERICapabilityFormatBase< CHERIoTCapabilityFormat, uint32_t > | |
| CHERICapabilityFormatBase ()=delete | |
| Static Public Attributes inherited from llvm::CHERICapabilityFormatBase< CHERIoTCapabilityFormat, uint32_t > | |
| static constexpr uint32_t | AddressMask |
Definition at line 46 of file CHERICapabilityFormat.h.
Definition at line 60 of file CHERICapabilityFormat.cpp.
References llvm::CHERICapabilityFormatBase< CHERIoTCapabilityFormat, uint32_t >::AddressMask, assert(), llvm::countl_zero(), E(), and llvm::Length.