Home | History | Annotate | Download | only in ADT

Lines Matching defs:Value

29 /// Note that much like pointers, an integer value of zero has special utility
30 /// due to boolean conversions. For example, a non-null value can be tested for
32 /// Also, the default constructed value zero initializes the integer.
35 uintptr_t Value = 0;
43 // We shift as many zeros into the value as we can while preserving the
57 explicit PointerEmbeddedInt(uintptr_t Value, RawValueTag) : Value(Value) {}
65 assert((std::is_signed<IntT>::value ? isInt<Bits>(I) : isUInt<Bits>(I)) &&
67 Value = static_cast<uintptr_t>(I) << Shift;
74 if (std::is_signed<IntT>::value)
75 return static_cast<IntT>(static_cast<intptr_t>(Value) >> Shift);
76 return static_cast<IntT>(Value >> Shift);
87 return reinterpret_cast<void *>(P.Value);