LLVM 20.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"

Go to the source code of this file.

Namespaces

namespace  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.
 

Function Documentation

◆ copyComdat()

static void copyComdat ( GlobalObject Dst,
const GlobalObject Src 
)
static

Definition at line 24 of file CloneModule.cpp.

References llvm::Comdat::setSelectionKind().

Referenced by llvm::CloneModule().