LLVM
8.0.1
|
#include "llvm/IR/Constant.h"
#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.
Functions | |
static void | copyComdat (GlobalObject *Dst, const GlobalObject *Src) |
LLVMModuleRef | LLVMCloneModule (LLVMModuleRef M) |
Return an exact copy of the specified module. More... | |
|
static |
Definition at line 22 of file CloneModule.cpp.
References DC, llvm::GlobalObject::getComdat(), llvm::Comdat::getName(), llvm::Module::getOrInsertComdat(), llvm::GlobalValue::getParent(), llvm::Comdat::getSelectionKind(), llvm::PPCISD::SC, llvm::GlobalObject::setComdat(), and llvm::Comdat::setSelectionKind().
Referenced by llvm::CloneModule().