LLVM  15.0.0git
Namespaces | Functions
CloneModule.cpp File Reference
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Module.h"
#include "llvm/Transforms/Utils/Cloning.h"
#include "llvm/Transforms/Utils/ValueMapper.h"
Include dependency graph for CloneModule.cpp:

Go to the source code of this file.


 This is an optimization pass for GlobalISel generic memory operations.


static void copyComdat (GlobalObject *Dst, const GlobalObject *Src)
LLVMModuleRef LLVMCloneModule (LLVMModuleRef M)
 Return an exact copy of the specified module. More...

Function Documentation

◆ copyComdat()

static void copyComdat ( GlobalObject Dst,
const GlobalObject Src 

Definition at line 24 of file CloneModule.cpp.

References DC, and llvm::PPCISD::SC.

Referenced by llvm::CloneModule().