Lines Matching refs:DepWrite
306 Instruction *DepWrite, in isOverwrite() argument
383 auto &IM = IOL[DepWrite]; in isOverwrite()
479 Instruction *DepWrite, in isPossibleSelfRead() argument
498 MemoryLocation DepReadLoc = getLocForRead(DepWrite, TLI); in isPossibleSelfRead()
921 Instruction *DepWrite = InstDep.getInst(); in eliminateDeadStores() local
922 MemoryLocation DepLoc = getLocForWrite(DepWrite, *AA); in eliminateDeadStores()
930 if (isRemovable(DepWrite) && in eliminateDeadStores()
931 !isPossibleSelfRead(Inst, Loc, DepWrite, *TLI, *AA)) { in eliminateDeadStores()
935 DepWrite, IOL); in eliminateDeadStores()
938 << *DepWrite << "\n KILLER: " << *Inst << '\n'); in eliminateDeadStores()
941 deleteDeadInstruction(DepWrite, &BBI, *MD, *TLI); in eliminateDeadStores()
948 } else if ((OR == OverwriteEnd && isShortenableAtTheEnd(DepWrite)) || in eliminateDeadStores()
950 isShortenableAtTheBeginning(DepWrite)))) { in eliminateDeadStores()
957 MemIntrinsic *DepIntrinsic = cast<MemIntrinsic>(DepWrite); in eliminateDeadStores()
969 << *DepWrite << "\n KILLER (offset " in eliminateDeadStores()
988 DepIntrinsic->getRawDest(), Indices, "", DepWrite); in eliminateDeadStores()
1004 if (DepWrite == &BB.front()) break; in eliminateDeadStores()
1007 if (AA->getModRefInfo(DepWrite, Loc) & MRI_Ref) in eliminateDeadStores()
1011 DepWrite->getIterator(), &BB); in eliminateDeadStores()