Lines Matching refs:Ptr
256 Value *llvm::stripGetElementPtr(Value *Ptr, ScalarEvolution *SE, Loop *Lp) {
257 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr);
259 return Ptr;
268 return Ptr;
273 Value *llvm::getUniqueCastUse(Value *Ptr, Loop *Lp, Type *Ty) {
275 for (User *U : Ptr->users()) {
289 Value *llvm::getStrideFromPointer(Value *Ptr, ScalarEvolution *SE, Loop *Lp) {
290 auto *PtrTy = dyn_cast<PointerType>(Ptr->getType());
295 // point) easier analyzable. If OrigPtr is equal to Ptr we are analzying the
297 Value *OrigPtr = Ptr;
302 Ptr = stripGetElementPtr(Ptr, SE, Lp);
303 const SCEV *V = SE->getSCEV(Ptr);
305 if (Ptr != OrigPtr)
320 if (OrigPtr == Ptr) {