Home | History | Annotate | Download | only in Scalar

Lines Matching refs:Value

71                                SmallPtrSet<Value*, 16> &DeadStackObjects);
106 SmallPtrSet<Value*, 16> *ValueSet = 0) {
123 Value *Op = DeadInst->getOperand(op);
215 /// isRemovable - If the value of this instruction and the memory it writes to
242 static Value *getStoredPointerOperand(Instruction *I) {
256 static uint64_t getPointerSize(Value *V, AliasAnalysis &AA) {
273 /// isObjectPointerWithTrustworthySize - Return true if the specified Value* is
275 static bool isObjectPointerWithTrustworthySize(const Value *V) {
290 const Value *P1 = Earlier.Ptr->stripPointerCasts();
291 const Value *P2 = Later.Ptr->stripPointerCasts();
326 const Value *UO1 = GetUnderlyingObject(P1, &TD),
346 const Value *BP1 = GetPointerBaseWithConstantOffset(P1, EarlierOff, TD);
347 const Value *BP2 = GetPointerBaseWithConstantOffset(P2, LaterOff, TD);
447 // If we're storing the same value back to a pointer that we just
515 // If this is a may-aliased store that is clobbering the store value, we
553 Value *DepPointer =
587 SmallPtrSet<Value*, 16> DeadStackObjects;
606 // If we find a store, check to see if it points into a dead stack value.
609 Value *Pointer = GetUnderlyingObject(getStoredPointerOperand(BBI));
640 if (CallSite CS = cast<Value>(BBI)) {
648 SmallVector<Value*, 8> LiveAllocas;
649 for (SmallPtrSet<Value*, 16>::iterator I = DeadStackObjects.begin(),
659 for (SmallVector<Value*, 8>::iterator I = LiveAllocas.begin(),
708 SmallPtrSet<Value*, 16> &DeadStackObjects) {
709 const Value *UnderlyingPointer = GetUnderlyingObject(LoadedLoc.Ptr);
718 DeadStackObjects.erase(const_cast<Value*>(UnderlyingPointer));
722 SmallVector<Value*, 16> NowLive;
723 for (SmallPtrSet<Value*, 16>::iterator I = DeadStackObjects.begin(),
731 for (SmallVector<Value*, 16>::iterator I = NowLive.begin(), E = NowLive.end();