Lines Matching refs:DefInst
1138 bool isCompleteOverwrite(const MemoryLocation &DefLoc, Instruction *DefInst, in isCompleteOverwrite()
1152 return isOverwrite(UseInst, DefInst, *CC, DefLoc, InstWriteOffset, in isCompleteOverwrite()
2033 Instruction *DefInst = Def->getMemoryInst(); in eliminateRedundantStoresOfExistingValues() local
2034 auto MaybeDefLoc = getLocForWrite(DefInst); in eliminateRedundantStoresOfExistingValues()
2035 if (!MaybeDefLoc || !isRemovable(DefInst)) in eliminateRedundantStoresOfExistingValues()
2051 if (DefInst->isIdenticalTo(UpperInst)) in eliminateRedundantStoresOfExistingValues()
2054 if (auto *SI = dyn_cast<StoreInst>(DefInst)) { in eliminateRedundantStoresOfExistingValues()
2059 auto OR = isOverwrite(UpperInst, DefInst, UpperLoc, *MaybeDefLoc, in eliminateRedundantStoresOfExistingValues()
2069 if (!IsRedundantStore() || isReadClobber(*MaybeDefLoc, DefInst)) in eliminateRedundantStoresOfExistingValues()
2071 LLVM_DEBUG(dbgs() << "DSE: Remove No-Op Store:\n DEAD: " << *DefInst in eliminateRedundantStoresOfExistingValues()
2073 deleteDeadInstruction(DefInst); in eliminateRedundantStoresOfExistingValues()