Searched refs:PtrIP (Results 1 – 3 of 3) sorted by relevance
394 Instruction *PtrIP = dyn_cast<Instruction>(Ptr); in runOnLoop() local395 if (PtrIP && isa<Instruction>(NewBasePtr) && in runOnLoop()396 cast<Instruction>(NewBasePtr)->getParent() == PtrIP->getParent()) in runOnLoop()397 PtrIP = 0; in runOnLoop()398 else if (isa<PHINode>(PtrIP)) in runOnLoop()399 PtrIP = &*PtrIP->getParent()->getFirstInsertionPt(); in runOnLoop()400 else if (!PtrIP) in runOnLoop()401 PtrIP = I->Instr; in runOnLoop()405 I->Instr->hasName() ? I->Instr->getName() + ".off" : "", PtrIP); in runOnLoop()406 if (!PtrIP) in runOnLoop()
630 Instruction *PtrIP = dyn_cast<Instruction>(Ptr); in rewriteLoadStores() local631 if (PtrIP && isa<Instruction>(NewBasePtr) && in rewriteLoadStores()632 cast<Instruction>(NewBasePtr)->getParent() == PtrIP->getParent()) in rewriteLoadStores()633 PtrIP = nullptr; in rewriteLoadStores()634 else if (PtrIP && isa<PHINode>(PtrIP)) in rewriteLoadStores()635 PtrIP = &*PtrIP->getParent()->getFirstInsertionPt(); in rewriteLoadStores()636 else if (!PtrIP) in rewriteLoadStores()637 PtrIP = I->Instr; in rewriteLoadStores()641 getInstrName(I->Instr, GEPNodeOffNameSuffix), PtrIP); in rewriteLoadStores()642 if (!PtrIP) in rewriteLoadStores()
639 Instruction *PtrIP = dyn_cast<Instruction>(Ptr); in rewriteLoadStores() local640 if (PtrIP && isa<Instruction>(NewBasePtr) && in rewriteLoadStores()641 cast<Instruction>(NewBasePtr)->getParent() == PtrIP->getParent()) in rewriteLoadStores()642 PtrIP = nullptr; in rewriteLoadStores()643 else if (PtrIP && isa<PHINode>(PtrIP)) in rewriteLoadStores()644 PtrIP = &*PtrIP->getParent()->getFirstInsertionPt(); in rewriteLoadStores()645 else if (!PtrIP) in rewriteLoadStores()646 PtrIP = I->Instr; in rewriteLoadStores()650 getInstrName(I->Instr, GEPNodeOffNameSuffix), PtrIP); in rewriteLoadStores()651 if (!PtrIP) in rewriteLoadStores()