LLVM 22.0.0git
|
#include "llvm/ADT/PointerIntPair.h"
Public Types | |
enum | MaskAndShiftConstants : uintptr_t { PointerBitMask = (~(uintptr_t)0) << PtrTraits::NumLowBitsAvailable , IntShift = (uintptr_t)PtrTraits::NumLowBitsAvailable - IntBits , IntMask = ((uintptr_t)1 << IntBits) - 1 , ShiftedIntMask = (uintptr_t)(IntMask << IntShift) } |
Static Public Member Functions | |
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) |
Definition at line 168 of file PointerIntPair.h.
enum llvm::PointerIntPairInfo::MaskAndShiftConstants : uintptr_t |
Definition at line 174 of file PointerIntPair.h.
|
inlinestatic |
Definition at line 194 of file PointerIntPair.h.
|
inlinestatic |
Definition at line 189 of file PointerIntPair.h.
References PointerBitMask.
|
inlinestatic |
Definition at line 207 of file PointerIntPair.h.
References assert(), Int, IntMask, IntShift, and ShiftedIntMask.
|
inlinestatic |
Definition at line 198 of file PointerIntPair.h.
References assert(), PointerBitMask, and Ptr.