Home | History | Annotate | Download | only in PowerPC

Lines Matching refs:BasePtr

123 static bool IsPtrInBounds(Value *BasePtr) {
124 Value *StrippedBasePtr = BasePtr;
311 Value *BasePtr = GetPointerOperand(MemI);
312 assert(BasePtr && "No pointer operand");
316 BasePtr->getType()->getPointerAddressSpace());
354 PtrInc->setIsInBounds(IsPtrInBounds(BasePtr));
364 if (PtrInc->getType() != BasePtr->getType())
365 NewBasePtr = new BitCastInst(PtrInc, BasePtr->getType(),
370 if (Instruction *IDel = dyn_cast<Instruction>(BasePtr))
372 BasePtr->replaceAllUsesWith(NewBasePtr);
373 RecursivelyDeleteTriviallyDeadInstructions(BasePtr);