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

References

lib/Transforms/Scalar/MemCpyOptimizer.cpp
  931   if (M->getSource() != MDep->getDest() || MDep->isVolatile())
  939   if (M->getSource() == MDep->getSource())
  945   ConstantInt *MLen = dyn_cast<ConstantInt>(M->getLength());
  965                                    M->getIterator(), M->getParent());
  965                                    M->getIterator(), M->getParent());
  973   if (!AA.isNoAlias(MemoryLocation::getForDest(M),
  979                     << *MDep << '\n' << *M << '\n');
  983   IRBuilder<> Builder(M);
  985     Builder.CreateMemMove(M->getRawDest(), M->getDestAlignment(),
  985     Builder.CreateMemMove(M->getRawDest(), M->getDestAlignment(),
  987                           M->getLength(), M->isVolatile());
  987                           M->getLength(), M->isVolatile());
  989     Builder.CreateMemCpy(M->getRawDest(), M->getDestAlignment(),
  989     Builder.CreateMemCpy(M->getRawDest(), M->getDestAlignment(),
  991                          M->getLength(), M->isVolatile());
  991                          M->getLength(), M->isVolatile());
  994   MD->removeInstruction(M);
  995   M->eraseFromParent();