reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Scalar/DeadStoreElimination.cpp
 1144       if (!hasAnalyzableMemoryWrite(DepWrite, *TLI))
 1146       MemoryLocation DepLoc = getLocForWrite(DepWrite);
 1159       if (LastThrowing && OBB.dominates(DepWrite, LastThrowing)) {
 1179       if (isRemovable(DepWrite) &&
 1180           !isPossibleSelfRead(Inst, Loc, DepWrite, *TLI, *AA)) {
 1183                                          InstWriteOffset, DepWrite, IOL, *AA,
 1186           LLVM_DEBUG(dbgs() << "DSE: Remove Dead Store:\n  DEAD: " << *DepWrite
 1190           deleteDeadInstruction(DepWrite, &BBI, *MD, *TLI, IOL, OBB);
 1197         } else if ((OR == OW_End && isShortenableAtTheEnd(DepWrite)) ||
 1199                      isShortenableAtTheBeginning(DepWrite)))) {
 1207           MadeChange |= tryToShorten(DepWrite, DepWriteOffset, EarlierSize,
 1211           auto *Earlier = dyn_cast<StoreInst>(DepWrite);
 1251             LLVM_DEBUG(dbgs() << "DSE: Merge Stores:\n  Earlier: " << *DepWrite
 1259                 Earlier->getSyncScopeID(), DepWrite);
 1265             SI->copyMetadata(*DepWrite, MDToKeep);
 1269             OBB.replaceInstruction(DepWrite, SI);
 1273             deleteDeadInstruction(DepWrite, &BBI, *MD, *TLI, IOL, OBB);
 1290       if (DepWrite == &BB.front()) break;
 1293       if (isRefSet(AA->getModRefInfo(DepWrite, Loc)))
 1297                                              DepWrite->getIterator(), &BB,