Lines Matching refs:DefInst
1031 bool isCompleteOverwrite(const MemoryLocation &DefLoc, Instruction *DefInst, in isCompleteOverwrite()
1045 return isOverwrite(UseInst, DefInst, *CC, DefLoc, InstWriteOffset, in isCompleteOverwrite()
1904 Instruction *DefInst = Def->getMemoryInst(); in eliminateRedundantStoresOfExistingValues() local
1905 auto MaybeDefLoc = getLocForWrite(DefInst); in eliminateRedundantStoresOfExistingValues()
1906 if (!MaybeDefLoc || !isRemovable(DefInst)) in eliminateRedundantStoresOfExistingValues()
1922 if (DefInst->isIdenticalTo(UpperInst)) in eliminateRedundantStoresOfExistingValues()
1925 if (auto *SI = dyn_cast<StoreInst>(DefInst)) { in eliminateRedundantStoresOfExistingValues()
1930 auto OR = isOverwrite(UpperInst, DefInst, UpperLoc, *MaybeDefLoc, in eliminateRedundantStoresOfExistingValues()
1940 if (!IsRedundantStore() || isReadClobber(*MaybeDefLoc, DefInst)) in eliminateRedundantStoresOfExistingValues()
1942 LLVM_DEBUG(dbgs() << "DSE: Remove No-Op Store:\n DEAD: " << *DefInst in eliminateRedundantStoresOfExistingValues()
1944 deleteDeadInstruction(DefInst); in eliminateRedundantStoresOfExistingValues()