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

Declarations

include/llvm/Transforms/Utils/Cloning.h
   52 std::unique_ptr<Module> CloneModule(const Module &M);

References

lib/Transforms/Utils/CloneModule.cpp
  211   return wrap(CloneModule(*unwrap(M)).release());
tools/bugpoint/CrashDebugger.cpp
  347   std::unique_ptr<Module> M = CloneModule(BD.getProgram());
  956   std::unique_ptr<Module> M = CloneModule(OrigM);
 1208     std::unique_ptr<Module> M = CloneModule(BD.getProgram());
 1254     std::unique_ptr<Module> M = CloneModule(BD.getProgram());
tools/bugpoint/ExtractFunction.cpp
   87   std::unique_ptr<Module> Clone = CloneModule(*Program);
tools/bugpoint/Miscompilation.cpp
  232   auto Merged = CloneModule(M1);
  233   if (Linker::linkModules(*Merged, CloneModule(M2)))
tools/llc/llc.cpp
  596       std::unique_ptr<Module> M2(llvm::CloneModule(*M));
tools/llvm-reduce/deltas/Delta.cpp
  130       std::unique_ptr<Module> Clone = CloneModule(*Test.getProgram());
tools/opt/opt.cpp
  897     std::unique_ptr<Module> M2(CloneModule(*M));
unittests/Transforms/Utils/CloningTest.cpp
  777   void CreateNewModule() { NewM = llvm::CloneModule(*OldM).release(); }