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

Declarations

include/llvm/Transforms/Scalar/MemCpyOptimizer.h
   31 class MemCpyInst;
include/llvm/Transforms/Utils/LowerMemIntrinsics.h
   21 class MemCpyInst;

References

include/llvm/IR/InstVisitor.h
  211   RetTy visitMemCpyInst(MemCpyInst &I)            { DELEGATE(MemTransferInst); }
include/llvm/Support/Casting.h
   58     return To::classof(&Val);
   77     return isa_impl<To, From>::doit(Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  142   return isa_impl_wrap<X, const Y,
  168   using ret_type = const To &; // Normal case, return Ty&
  172   using ret_type = To *;       // Pointer arg case, return Ty*
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  258   return cast_convert_val<X, Y,
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
include/llvm/Transforms/Scalar/MemCpyOptimizer.h
   62   bool processMemCpy(MemCpyInst *M);
   66   bool processMemCpyMemCpyDependence(MemCpyInst *M, MemCpyInst *MDep);
   66   bool processMemCpyMemCpyDependence(MemCpyInst *M, MemCpyInst *MDep);
   67   bool processMemSetMemCpyDependence(MemCpyInst *M, MemSetInst *MDep);
   68   bool performMemCpyToMemSetOptzn(MemCpyInst *M, MemSetInst *MDep);
include/llvm/Transforms/Utils/LowerMemIntrinsics.h
   45 void expandMemCpyAsLoop(MemCpyInst *MemCpy, const TargetTransformInfo &TTI);
lib/Analysis/Lint.cpp
  326       MemCpyInst *MCI = cast<MemCpyInst>(&I);
  326       MemCpyInst *MCI = cast<MemCpyInst>(&I);
lib/CodeGen/GlobalISel/IRTranslator.cpp
 1136   if (auto *MCI = dyn_cast<MemCpyInst>(&CI)) {
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 5701     const auto &MCI = cast<MemCpyInst>(I);
 5701     const auto &MCI = cast<MemCpyInst>(I);
lib/IR/IRBuilder.cpp
  173   auto* MCI = cast<MemCpyInst>(CI);
  173   auto* MCI = cast<MemCpyInst>(CI);
lib/Target/AArch64/AArch64FastISel.cpp
 3549     const char *IntrMemName = isa<MemCpyInst>(II) ? "memcpy" : "memmove";
lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp
   73       auto *Memcpy = cast<MemCpyInst>(Inst);
   73       auto *Memcpy = cast<MemCpyInst>(Inst);
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  884       MemCpyInst *MemCpy = cast<MemCpyInst>(Intr);
  884       MemCpyInst *MemCpy = cast<MemCpyInst>(Intr);
lib/Target/ARM/ARMFastISel.cpp
 2551     const char *IntrMemName = isa<MemCpyInst>(I) ? "memcpy" : "memmove";
lib/Target/ARM/ARMTargetTransformInfo.cpp
  516   const MemCpyInst *MI = dyn_cast<MemCpyInst>(I);
  516   const MemCpyInst *MI = dyn_cast<MemCpyInst>(I);
lib/Target/Mips/MipsFastISel.cpp
 1665     const char *IntrMemName = isa<MemCpyInst>(II) ? "memcpy" : "memmove";
lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp
  127     if (MemCpyInst *Memcpy = dyn_cast<MemCpyInst>(MemCall)) {
  127     if (MemCpyInst *Memcpy = dyn_cast<MemCpyInst>(MemCall)) {
lib/Target/X86/X86FastISel.cpp
 2724     const MemCpyInst *MCI = cast<MemCpyInst>(II);
 2724     const MemCpyInst *MCI = cast<MemCpyInst>(II);
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 2419   void visitMemCpyInst(MemCpyInst &I) {
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  611         isa<MemCpyInst>(M) ? MemcpyFn : MemmoveFn,
lib/Transforms/Scalar/InferAddressSpaces.cpp
  809     if (isa<MemCpyInst>(MTI)) {
lib/Transforms/Scalar/MemCpyOptimizer.cpp
  622       if (ldep.isClobber() && !isa<MemCpyInst>(ldep.getInst()))
  927 bool MemCpyOptPass::processMemCpyMemCpyDependence(MemCpyInst *M,
  928                                                   MemCpyInst *MDep) {
 1014 bool MemCpyOptPass::processMemSetMemCpyDependence(MemCpyInst *MemCpy,
 1096 bool MemCpyOptPass::performMemCpyToMemSetOptzn(MemCpyInst *MemCpy,
 1138 bool MemCpyOptPass::processMemCpy(MemCpyInst *M) {
 1203     if (MemCpyInst *MDep = dyn_cast<MemCpyInst>(SrcDepInfo.getInst()))
 1203     if (MemCpyInst *MDep = dyn_cast<MemCpyInst>(SrcDepInfo.getInst()))
 1273   MemCpyInst *MDep = dyn_cast<MemCpyInst>(DepInfo.getInst());
 1273   MemCpyInst *MDep = dyn_cast<MemCpyInst>(DepInfo.getInst());
 1357       else if (MemCpyInst *M = dyn_cast<MemCpyInst>(I))
 1357       else if (MemCpyInst *M = dyn_cast<MemCpyInst>(I))
lib/Transforms/Utils/LowerMemIntrinsics.cpp
  408 void llvm::expandMemCpyAsLoop(MemCpyInst *Memcpy,