/external/llvm/lib/Transforms/Utils/ |
D | CloneModule.cpp | 27 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()
|
D | CMakeLists.txt | 9 CloneModule.cpp
|
D | SplitModule.cpp | 253 CloneModule(M.get(), VMap, [&](const GlobalValue *GV) { in SplitModule()
|
/external/swiftshader/third_party/LLVM/tools/bugpoint/ |
D | Miscompilation.cpp | 222 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 …]
|
D | CrashDebugger.cpp | 134 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()
|
D | ExtractFunction.cpp | 60 Module *Clone = CloneModule(Program); in deleteInstructionFromProgram() 273 Module *New = CloneModule(M, NewVMap); in SplitFunctionsOutOfModule()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | Cloning.h | 53 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/ |
D | CloneModule.cpp | 27 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/ |
D | Cloning.h | 49 Module *CloneModule(const Module *M); 50 Module *CloneModule(const Module *M, ValueToValueMapTy &VMap);
|
/external/llvm/tools/bugpoint/ |
D | Miscompilation.cpp | 258 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()
|
D | CrashDebugger.cpp | 146 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()
|
D | ExtractFunction.cpp | 89 Module *Clone = CloneModule(Program).release(); in deleteInstructionFromProgram() 323 std::unique_ptr<Module> New = CloneModule(M, NewVMap); in SplitFunctionsOutOfModule()
|
/external/llvm/unittests/Transforms/Utils/ |
D | Cloning.cpp | 395 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/ |
D | llvm_transform_utils.mli | 16 See the [llvm::CloneModule] function. *)
|
/external/llvm/tools/llc/ |
D | llc.cpp | 481 std::unique_ptr<Module> M2(llvm::CloneModule(M.get())); in compileModule()
|
/external/llvm/tools/opt/ |
D | opt.cpp | 664 std::unique_ptr<Module> M2(CloneModule(M.get())); in main()
|