Home | History | Annotate | Download | only in ADT

Lines Matching defs:Value

42   intptr_t Value;
59 PointerIntPair() : Value(0) {}
60 PointerIntPair(PointerTy Ptr, IntType Int) : Value(0) {
69 reinterpret_cast<void*>(Value & PointerBitMask));
73 return (IntType)((Value >> IntShift) & IntMask);
82 Value = PtrVal | (Value & ~PointerBitMask);
90 Value &= ~ShiftedIntMask; // Remove integer field.
91 Value |= IntVal << IntShift; // Set new integer.
95 assert(Value == reinterpret_cast<intptr_t>(getPointer()) &&
98 return reinterpret_cast<PointerTy const *>(&Value);
101 void *getOpaqueValue() const { return reinterpret_cast<void*>(Value); }
102 void setFromOpaqueValue(void *Val) { Value = reinterpret_cast<intptr_t>(Val);}
108 bool operator==(const PointerIntPair &RHS) const {return Value == RHS.Value;}
109 bool operator!=(const PointerIntPair &RHS) const {return Value != RHS.Value;}
110 bool operator<(const PointerIntPair &RHS) const {return Value < RHS.Value;}
111 bool operator>(const PointerIntPair &RHS) const {return Value > RHS.Value;}
112 bool operator<=(const PointerIntPair &RHS) const {return Value <= RHS.Value;}
113 bool operator>=(const PointerIntPair &RHS) const {return Value >= RHS.Value;}
119 static const bool value = true;