Lines Matching defs:VP
62 PointerIntPair<Value*, 2> VP;
67 : PrevPair(0, Kind), Next(0), VP(0, 0) {}
69 : PrevPair(0, Kind), Next(0), VP(V, 0) {
70 if (isValid(VP.getPointer()))
74 : PrevPair(0, Kind), Next(0), VP(RHS.VP) {
75 if (isValid(VP.getPointer()))
79 if (isValid(VP.getPointer()))
84 if (VP.getPointer() == RHS) return RHS;
85 if (isValid(VP.getPointer())) RemoveFromUseList();
86 VP.setPointer(RHS);
87 if (isValid(VP.getPointer())) AddToUseList();
92 if (VP.getPointer() == RHS.VP.getPointer()) return RHS.VP.getPointer();
93 if (isValid(VP.getPointer())) RemoveFromUseList();
94 VP.setPointer(RHS.VP.getPointer());
95 if (isValid(VP.getPointer())) AddToExistingUseList(RHS.getPrevPtr());
96 return VP.getPointer();
103 Value *getValPtr() const { return VP.getPointer(); }
105 void setValPtrInt(unsigned K) { VP.setInt(K); }
106 unsigned getValPtrInt() const { return VP.getInt(); }
125 /// AddToExistingUseList - Add this ValueHandle to the use list for VP, where
134 /// AddToUseList - Add this ValueHandle to the use list for VP.
281 Value *VP = ValueHandleBase::getValPtr();
284 if (!VP) return;
289 assert(ValueHandleBase::isValid(VP) && "Tracked Value was deleted!");
295 assert(isa<ValueTy>(VP) &&