|
| enum | : uintptr_t { PointerBitMask,
IntShift = (uintptr_t)PtrTraits::NumLowBitsAvailable - IntBits,
IntMask = (uintptr_t)(((intptr_t)1 << IntBits) - 1),
ShiftedIntMask = (uintptr_t)(IntMask << IntShift)
} |
| |
|
|
static PointerT | getPointer (intptr_t Value) |
| |
|
static intptr_t | getInt (intptr_t Value) |
| |
|
static intptr_t | updatePointer (intptr_t OrigValue, PointerT Ptr) |
| |
|
static intptr_t | updateInt (intptr_t OrigValue, intptr_t Int) |
| |
◆ anonymous enum
template<typename PointerT , unsigned IntBits, typename PtrTraits >
| anonymous enum : uintptr_t |
| Enumerator |
|---|
| PointerBitMask | PointerBitMask - The bits that come from the pointer.
|
| IntShift | IntShift - The number of low bits that we reserve for other uses, and keep zero.
|
| IntMask | IntMask - This is the unshifted mask for valid bits of the int type.
|
The documentation for this struct was generated from the following file: