Home
last modified time | relevance | path

Searched refs:CloneModule (Results 1 – 12 of 12) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DCloneModule.cpp27 std::unique_ptr<Module> llvm::CloneModule(const Module *M) { in CloneModule() function in llvm
31 return CloneModule(M, VMap); in CloneModule()
34 std::unique_ptr<Module> llvm::CloneModule(const Module *M, in CloneModule() function in llvm
36 return CloneModule(M, VMap, [](const GlobalValue *GV) { return true; }); in CloneModule()
39 std::unique_ptr<Module> llvm::CloneModule( in CloneModule() function in llvm
173 return wrap(CloneModule(unwrap(M)).release()); in LLVMCloneModule()
DCMakeLists.txt9 CloneModule.cpp
DSplitModule.cpp78 CloneModule(M.get(), VMap, [=](const GlobalValue *GV) { in SplitModule()
DAndroid.mk11 CloneModule.cpp \
/external/llvm/include/llvm/Transforms/Utils/
DCloning.h53 std::unique_ptr<Module> CloneModule(const Module *M);
54 std::unique_ptr<Module> CloneModule(const Module *M, ValueToValueMapTy &VMap);
61 CloneModule(const Module *M, ValueToValueMapTy &VMap,
/external/llvm/tools/bugpoint/
DMiscompilation.cpp257 Module *Clone = CloneModule(BD.getProgram(), VMap).release(); in TestFuncs()
268 std::unique_ptr<Module> ToNotOptimize = CloneModule(BD.getProgram(), VMap); in TestFuncs()
306 std::unique_ptr<Module> ToNotOptimize = CloneModule(BD.getProgram(), VMap); in ExtractLoops()
366 CloneModule(ToOptimizeLoopExtracted.get(), VMap); in ExtractLoops()
367 std::unique_ptr<Module> TNOBackup = CloneModule(ToNotOptimize.get(), VMap); in ExtractLoops()
494 Module *Clone = CloneModule(BD.getProgram(), VMap).release(); in TestFuncs()
508 std::unique_ptr<Module> ToNotOptimize = CloneModule(BD.getProgram(), VMap); in TestFuncs()
562 Module *ProgClone = CloneModule(BD.getProgram(), VMap).release(); in ExtractBlocks()
743 Module *ToNotOptimize = CloneModule(getProgram(), VMap).release(); in debugMiscompilation()
1016 std::unique_ptr<Module> ToNotCodeGen = CloneModule(getProgram(), VMap); in debugCodeGenerator()
DCrashDebugger.cpp146 Module *M = CloneModule(BD.getProgram(), VMap).release(); in TestGlobalVariables()
242 Module *M = CloneModule(BD.getProgram(), VMap).release(); in TestFuncs()
349 Module *M = CloneModule(BD.getProgram(), VMap).release(); in TestBlocks()
459 Module *M = CloneModule(BD.getProgram(), VMap).release(); in TestInsts()
535 Module *M = CloneModule(BD.getProgram(), VMap).release(); in TestNamedMDs()
615 Module *M = CloneModule(BD.getProgram(), VMap).release(); in TestNamedMDOps()
661 Module *M = CloneModule(BD.getProgram()).release(); in DebugACrash()
843 Module *M = CloneModule(BD.getProgram()).release(); in DebugACrash()
DExtractFunction.cpp89 Module *Clone = CloneModule(Program).release(); in deleteInstructionFromProgram()
321 std::unique_ptr<Module> New = CloneModule(M, NewVMap); in SplitFunctionsOutOfModule()
/external/llvm/bindings/ocaml/transforms/utils/
Dllvm_transform_utils.mli16 See the [llvm::CloneModule] function. *)
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp415 class CloneModule : public ::testing::Test { class
439 void CreateNewModule() { NewM = llvm::CloneModule(OldM).release(); } in CreateNewModule()
446 TEST_F(CloneModule, Verify) { in TEST_F() argument
/external/llvm/tools/llc/
Dllc.cpp399 std::unique_ptr<Module> M2(llvm::CloneModule(M.get())); in compileModule()
/external/llvm/tools/opt/
Dopt.cpp620 std::unique_ptr<Module> M2(CloneModule(M.get())); in main()