Home
last modified time | relevance | path

Searched refs:CloneModule (Results 1 – 16 of 16) 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
179 return wrap(CloneModule(unwrap(M)).release()); in LLVMCloneModule()
DCMakeLists.txt9 CloneModule.cpp
DSplitModule.cpp253 CloneModule(M.get(), VMap, [&](const GlobalValue *GV) { in SplitModule()
/external/swiftshader/third_party/LLVM/tools/bugpoint/
DMiscompilation.cpp222 M1 = CloneModule(M1); in TestMergedProgram()
223 M2 = CloneModule(M2); in TestMergedProgram()
265 Module *Clone = CloneModule(BD.getProgram(), VMap); in TestFuncs()
276 Module *ToNotOptimize = CloneModule(BD.getProgram(), VMap); in TestFuncs()
314 Module *ToNotOptimize = CloneModule(BD.getProgram(), VMap); in ExtractLoops()
369 Module *TOLEBackup = CloneModule(ToOptimizeLoopExtracted); in ExtractLoops()
370 Module *TNOBackup = CloneModule(ToNotOptimize); in ExtractLoops()
479 Module *Clone = CloneModule(BD.getProgram(), VMap); in TestFuncs()
493 Module *ToNotOptimize = CloneModule(BD.getProgram(), VMap); in TestFuncs()
554 Module *ProgClone = CloneModule(BD.getProgram(), VMap); in ExtractBlocks()
[all …]
DCrashDebugger.cpp134 Module *M = CloneModule(BD.getProgram(), VMap); in TestGlobalVariables()
208 Module *M = CloneModule(BD.getProgram(), VMap); in TestFuncs()
275 Module *M = CloneModule(BD.getProgram(), VMap); in TestBlocks()
385 Module *M = CloneModule(BD.getProgram(), VMap); in TestInsts()
444 Module *M = CloneModule(BD.getProgram()); in DebugACrash()
605 Module *M = CloneModule(BD.getProgram()); in DebugACrash()
DExtractFunction.cpp60 Module *Clone = CloneModule(Program); in deleteInstructionFromProgram()
273 Module *New = CloneModule(M, NewVMap); in SplitFunctionsOutOfModule()
/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/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DCloneModule.cpp27 Module *llvm::CloneModule(const Module *M) { in CloneModule() function in llvm
31 return CloneModule(M, VMap); in CloneModule()
34 Module *llvm::CloneModule(const Module *M, ValueToValueMapTy &VMap) { in CloneModule() function in llvm
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/
DCloning.h49 Module *CloneModule(const Module *M);
50 Module *CloneModule(const Module *M, ValueToValueMapTy &VMap);
/external/llvm/tools/bugpoint/
DMiscompilation.cpp258 Module *Clone = CloneModule(BD.getProgram(), VMap).release(); in TestFuncs()
269 std::unique_ptr<Module> ToNotOptimize = CloneModule(BD.getProgram(), VMap); in TestFuncs()
307 std::unique_ptr<Module> ToNotOptimize = CloneModule(BD.getProgram(), VMap); in ExtractLoops()
367 CloneModule(ToOptimizeLoopExtracted.get(), VMap); in ExtractLoops()
368 std::unique_ptr<Module> TNOBackup = CloneModule(ToNotOptimize.get(), VMap); in ExtractLoops()
495 Module *Clone = CloneModule(BD.getProgram(), VMap).release(); in TestFuncs()
509 std::unique_ptr<Module> ToNotOptimize = CloneModule(BD.getProgram(), VMap); in TestFuncs()
563 Module *ProgClone = CloneModule(BD.getProgram(), VMap).release(); in ExtractBlocks()
749 Module *ToNotOptimize = CloneModule(getProgram(), VMap).release(); in debugMiscompilation()
1019 std::unique_ptr<Module> ToNotCodeGen = CloneModule(getProgram(), VMap); in debugCodeGenerator()
DCrashDebugger.cpp146 Module *M = CloneModule(BD.getProgram(), VMap).release(); in TestGlobalVariables()
243 Module *M = CloneModule(BD.getProgram(), VMap).release(); in TestFuncs()
350 Module *M = CloneModule(BD.getProgram(), VMap).release(); in TestBlocks()
460 Module *M = CloneModule(BD.getProgram(), VMap).release(); in TestInsts()
536 Module *M = CloneModule(BD.getProgram(), VMap).release(); in TestNamedMDs()
618 Module *M = CloneModule(BD.getProgram(), VMap).release(); in TestNamedMDOps()
658 Module *M = CloneModule(BD.getProgram()).release(); in ReduceGlobalInitializers()
860 Module *M = CloneModule(BD.getProgram()).release(); in DebugACrash()
DExtractFunction.cpp89 Module *Clone = CloneModule(Program).release(); in deleteInstructionFromProgram()
323 std::unique_ptr<Module> New = CloneModule(M, NewVMap); in SplitFunctionsOutOfModule()
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp395 class CloneModule : public ::testing::Test { class
436 void CreateNewModule() { NewM = llvm::CloneModule(OldM).release(); } in CreateNewModule()
443 TEST_F(CloneModule, Verify) { in TEST_F() argument
447 TEST_F(CloneModule, OldModuleUnchanged) { in TEST_F() argument
453 TEST_F(CloneModule, Subprogram) { in TEST_F() argument
/external/llvm/bindings/ocaml/transforms/utils/
Dllvm_transform_utils.mli16 See the [llvm::CloneModule] function. *)
/external/llvm/tools/llc/
Dllc.cpp481 std::unique_ptr<Module> M2(llvm::CloneModule(M.get())); in compileModule()
/external/llvm/tools/opt/
Dopt.cpp664 std::unique_ptr<Module> M2(CloneModule(M.get())); in main()