Lines Matching refs:DepWrite
451 Instruction *DepWrite, in isPossibleSelfRead() argument
470 MemoryLocation DepReadLoc = getLocForRead(DepWrite, TLI); in isPossibleSelfRead()
577 Instruction *DepWrite = InstDep.getInst(); in runOnBasicBlock() local
578 MemoryLocation DepLoc = getLocForWrite(DepWrite, *AA); in runOnBasicBlock()
586 if (isRemovable(DepWrite) && in runOnBasicBlock()
587 !isPossibleSelfRead(Inst, Loc, DepWrite, *TLI, *AA)) { in runOnBasicBlock()
593 << *DepWrite << "\n KILLER: " << *Inst << '\n'); in runOnBasicBlock()
596 DeleteDeadInstruction(DepWrite, *MD, *TLI); in runOnBasicBlock()
606 } else if (OR == OverwriteEnd && isShortenable(DepWrite)) { in runOnBasicBlock()
613 MemIntrinsic* DepIntrinsic = cast<MemIntrinsic>(DepWrite); in runOnBasicBlock()
619 << *DepWrite << "\n KILLER (offset " in runOnBasicBlock()
642 if (DepWrite == &BB.front()) break; in runOnBasicBlock()
645 if (AA->getModRefInfo(DepWrite, Loc) & MRI_Ref) in runOnBasicBlock()
649 DepWrite->getIterator(), &BB); in runOnBasicBlock()