Lines Matching refs:OldPtr
1873 Instruction *OldPtr;
1901 OldPtr(), IsUsedByRewrittenSpeculatableInstructions(false),
1921 OldPtr = cast<Instruction>(OldUse->get());
2028 assert(OldOp == OldPtr);
2144 assert(OldOp == OldPtr);
2238 assert(II.getRawDest() == OldPtr);
2250 deleteIfTriviallyDead(OldPtr);
2362 assert(II.getRawSource() == OldPtr || II.getRawDest() == OldPtr);
2363 bool IsDest = II.getRawDest() == OldPtr;
2529 assert(II.getArgOperand(1) == OldPtr);
2565 IRBuilderTy PtrBuilder(OldPtr);
2570 getAdjustedAllocaPtr(PtrBuilder, BeginOffset, OldPtr->getType());
2572 std::replace(PN.op_begin(), PN.op_end(), cast<Value>(OldPtr), NewPtr);
2575 deleteIfTriviallyDead(OldPtr);
2591 assert((SI.getTrueValue() == OldPtr || SI.getFalseValue() == OldPtr) &&
2596 Value *NewPtr = getAdjustedAllocaPtr(IRB, BeginOffset, OldPtr->getType());
2598 if (SI.getOperand(1) == OldPtr)
2600 if (SI.getOperand(2) == OldPtr)
2604 deleteIfTriviallyDead(OldPtr);