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

References

lib/Transforms/Scalar/MemCpyOptimizer.cpp
  550     if (LI->isSimple() && LI->hasOneUse() &&
  550     if (LI->isSimple() && LI->hasOneUse() &&
  551         LI->getParent() == SI->getParent()) {
  553       auto *T = LI->getType();
  556         MemoryLocation LoadLoc = MemoryLocation::get(LI);
  563         for (auto &I : make_range(++LI->getIterator(), SI->getIterator())) {
  575           if (!moveUp(AA, SI, P, LI))
  596                 LI->getPointerOperand(), findLoadAlignment(DL, LI), Size);
  596                 LI->getPointerOperand(), findLoadAlignment(DL, LI), Size);
  600                 LI->getPointerOperand(), findLoadAlignment(DL, LI), Size);
  600                 LI->getPointerOperand(), findLoadAlignment(DL, LI), Size);
  602           LLVM_DEBUG(dbgs() << "Promoting " << *LI << " to " << *SI << " => "
  607           MD->removeInstruction(LI);
  608           LI->eraseFromParent();
  620       MemDepResult ldep = MD->getDependency(LI);
  649             LI, SI->getPointerOperand()->stripPointerCasts(),
  650             LI->getPointerOperand()->stripPointerCasts(),
  652             findCommonAlignment(DL, SI, LI), C);
  656           MD->removeInstruction(LI);
  657           LI->eraseFromParent();