OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:CloneModule
(Results
1 - 3
of
3
) 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
(
179
return wrap(
CloneModule
(unwrap(M)).release());
/external/swiftshader/third_party/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
22
///
CloneModule
- Return an exact copy of the specified module. This is not as
27
Module *llvm::
CloneModule
(const Module *M) {
31
return
CloneModule
(M, VMap);
34
Module *llvm::
CloneModule
(const Module *M, ValueToValueMapTy &VMap) {
/external/llvm/unittests/Transforms/Utils/
Cloning.cpp
395
class
CloneModule
: public ::testing::Test {
422
"/file/dir", "
CloneModule
", false, "", 0);
436
void CreateNewModule() { NewM = llvm::
CloneModule
(OldM).release(); }
443
TEST_F(
CloneModule
, Verify) {
447
TEST_F(
CloneModule
, OldModuleUnchanged) {
453
TEST_F(
CloneModule
, Subprogram) {
Completed in 712 milliseconds