Lines Matching defs:Value
44 intptr_t Value;
66 PointerIntPair() : Value(0) {}
76 reinterpret_cast<void*>(Value & PointerBitMask));
80 return (IntType)((Value >> IntShift) & IntMask);
89 Value = PtrWord | (Value & ~PointerBitMask);
97 Value &= ~ShiftedIntMask; // Remove integer field.
98 Value |= IntWord << IntShift; // Set new integer.
106 Value = PtrWord;
117 Value = PtrWord | (IntWord << IntShift);
125 assert(Value == reinterpret_cast<intptr_t>(getPointer()) &&
128 return reinterpret_cast<PointerTy *>(&Value);
131 void *getOpaqueValue() const { return reinterpret_cast<void*>(Value); }
132 void setFromOpaqueValue(void *Val) { Value = reinterpret_cast<intptr_t>(Val);}
145 bool operator==(const PointerIntPair &RHS) const {return Value == RHS.Value;}
146 bool operator!=(const PointerIntPair &RHS) const {return Value != RHS.Value;}
147 bool operator<(const PointerIntPair &RHS) const {return Value < RHS.Value;}
148 bool operator>(const PointerIntPair &RHS) const {return Value > RHS.Value;}
149 bool operator<=(const PointerIntPair &RHS) const {return Value <= RHS.Value;}
150 bool operator>=(const PointerIntPair &RHS) const {return Value >= RHS.Value;}