LLVM  16.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.

Namespaces

 llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Functions

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 
)
static

Definition at line 24 of file CloneModule.cpp.

References llvm::PPCISD::SC, and llvm::Comdat::setSelectionKind().

Referenced by llvm::CloneModule().