OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:CloneModule
(Results
1 - 2
of
2
) sorted by null
/external/llvm/lib/Transforms/Utils/
CloneModule.cpp
1
//===-
CloneModule
.cpp - Clone an entire module ---------------------------===//
10
// This file implements the
CloneModule
interface which makes a copy of an
27
std::unique_ptr<Module> llvm::
CloneModule
(const Module *M) {
31
return
CloneModule
(M, VMap);
34
std::unique_ptr<Module> llvm::
CloneModule
(const Module *M,
36
return
CloneModule
(M, VMap, [](const GlobalValue *GV) { return true; });
39
std::unique_ptr<Module> llvm::
CloneModule
(
173
return wrap(
CloneModule
(unwrap(M)).release());
/external/llvm/unittests/Transforms/Utils/
Cloning.cpp
415
class
CloneModule
: public ::testing::Test {
439
void CreateNewModule() { NewM = llvm::
CloneModule
(OldM).release(); }
446
TEST_F(
CloneModule
, Verify) {
Completed in 55 milliseconds