reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2369 OldPtr = cast<Instruction>(OldUse->get()); 2399 StringRef OldName = OldPtr->getName(); 2496 assert(OldOp == OldPtr); 2651 assert(OldOp == OldPtr); 2757 assert(II.getRawDest() == OldPtr); 2767 II.setDest(getNewAllocaSlicePtr(IRB, OldPtr->getType())); 2770 deleteIfTriviallyDead(OldPtr); 2802 getNewAllocaSlicePtr(IRB, OldPtr->getType()), II.getValue(), Size, 2886 assert((IsDest && II.getRawDest() == OldPtr) || 2887 (!IsDest && II.getRawSource() == OldPtr)); 2899 Value *AdjustedPtr = getNewAllocaSlicePtr(IRB, OldPtr->getType()); 2910 deleteIfTriviallyDead(OldPtr); 2970 Value *OurPtr = getNewAllocaSlicePtr(IRB, OldPtr->getType()); 3073 assert(II.getArgOperand(1) == OldPtr); 3094 Type *PointerTy = IRB.getInt8PtrTy(OldPtr->getType()->getPointerAddressSpace()); 3155 if (isa<PHINode>(OldPtr)) 3156 PtrBuilder.SetInsertPoint(&*OldPtr->getParent()->getFirstInsertionPt()); 3158 PtrBuilder.SetInsertPoint(OldPtr); 3159 PtrBuilder.SetCurrentDebugLocation(OldPtr->getDebugLoc()); 3161 Value *NewPtr = getNewAllocaSlicePtr(PtrBuilder, OldPtr->getType()); 3163 std::replace(PN.op_begin(), PN.op_end(), cast<Value>(OldPtr), NewPtr); 3166 deleteIfTriviallyDead(OldPtr); 3180 assert((SI.getTrueValue() == OldPtr || SI.getFalseValue() == OldPtr) && 3180 assert((SI.getTrueValue() == OldPtr || SI.getFalseValue() == OldPtr) && 3185 Value *NewPtr = getNewAllocaSlicePtr(IRB, OldPtr->getType()); 3187 if (SI.getOperand(1) == OldPtr) 3189 if (SI.getOperand(2) == OldPtr) 3193 deleteIfTriviallyDead(OldPtr);