/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
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | CloneModule.cpp | 34 std::unique_ptr<Module> llvm::CloneModule(const Module &M) { in CloneModule() function in llvm 38 return CloneModule(M, VMap); in CloneModule() 41 std::unique_ptr<Module> llvm::CloneModule(const Module &M, in CloneModule() function in llvm 43 return CloneModule(M, VMap, [](const GlobalValue *GV) { return true; }); in CloneModule() 46 std::unique_ptr<Module> llvm::CloneModule( in CloneModule() function in llvm 211 return wrap(CloneModule(*unwrap(M)).release()); in LLVMCloneModule()
|
D | CMakeLists.txt | 11 CloneModule.cpp
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | CloneModule.cpp | 34 std::unique_ptr<Module> llvm::CloneModule(const Module &M) { in CloneModule() function in llvm 38 return CloneModule(M, VMap); in CloneModule() 41 std::unique_ptr<Module> llvm::CloneModule(const Module &M, in CloneModule() function in llvm 43 return CloneModule(M, VMap, [](const GlobalValue *GV) { return true; }); in CloneModule() 46 std::unique_ptr<Module> llvm::CloneModule( in CloneModule() function in llvm 211 return wrap(CloneModule(*unwrap(M)).release()); in LLVMCloneModule()
|
D | CMakeLists.txt | 15 CloneModule.cpp
|
/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/llvm-project/llvm/include/llvm/Transforms/Utils/ |
D | Cloning.h | 51 std::unique_ptr<Module> CloneModule(const Module &M); 52 std::unique_ptr<Module> CloneModule(const Module &M, ValueToValueMapTy &VMap); 59 CloneModule(const Module &M, ValueToValueMapTy &VMap,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | Cloning.h | 52 std::unique_ptr<Module> CloneModule(const Module &M); 53 std::unique_ptr<Module> CloneModule(const Module &M, ValueToValueMapTy &VMap); 60 CloneModule(const Module &M, ValueToValueMapTy &VMap,
|
/external/llvm-project/llvm/tools/bugpoint/ |
D | Miscompilation.cpp | 232 auto Merged = CloneModule(M1); in testMergedProgram() 233 if (Linker::linkModules(*Merged, CloneModule(M2))) in testMergedProgram() 267 std::unique_ptr<Module> Clone = CloneModule(BD.getProgram(), VMap); in TestFuncs() 278 std::unique_ptr<Module> ToNotOptimize = CloneModule(BD.getProgram(), VMap); in TestFuncs() 316 std::unique_ptr<Module> ToNotOptimize = CloneModule(BD.getProgram(), VMap); in ExtractLoops() 371 CloneModule(*ToOptimizeLoopExtracted, VMap); in ExtractLoops() 372 std::unique_ptr<Module> TNOBackup = CloneModule(*ToNotOptimize, VMap); in ExtractLoops() 504 std::unique_ptr<Module> Clone = CloneModule(BD.getProgram(), VMap); in TestFuncs() 518 std::unique_ptr<Module> ToNotOptimize = CloneModule(BD.getProgram(), VMap); in TestFuncs() 573 std::unique_ptr<Module> ProgClone = CloneModule(BD.getProgram(), VMap); in ExtractBlocks() [all …]
|
D | CrashDebugger.cpp | 153 std::unique_ptr<Module> M = CloneModule(BD.getProgram(), VMap); in TestGlobalVariables() 247 std::unique_ptr<Module> M = CloneModule(BD.getProgram(), VMap); in TestFuncs() 352 std::unique_ptr<Module> M = CloneModule(BD.getProgram()); in TestFuncAttrs() 455 std::unique_ptr<Module> M = CloneModule(BD.getProgram(), VMap); in TestBlocks() 575 std::unique_ptr<Module> M = CloneModule(BD.getProgram(), VMap); in TestBlocks() 680 std::unique_ptr<Module> M = CloneModule(BD.getProgram(), VMap); in TestBlocks() 773 std::unique_ptr<Module> M = CloneModule(BD.getProgram(), VMap); in TestInsts() 849 std::unique_ptr<Module> M = CloneModule(BD.getProgram(), VMap); in TestInsts() 920 std::unique_ptr<Module> M = CloneModule(BD.getProgram(), VMap); in TestNamedMDs() 999 std::unique_ptr<Module> M = CloneModule(BD.getProgram(), VMap); in TestNamedMDOps() [all …]
|
D | ExtractFunction.cpp | 87 std::unique_ptr<Module> Clone = CloneModule(*Program); in deleteInstructionFromProgram() 320 std::unique_ptr<Module> New = CloneModule(*M, NewVMap); in SplitFunctionsOutOfModule()
|
/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()
|
/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-project/llvm/unittests/Transforms/Utils/ |
D | CloningTest.cpp | 820 class CloneModule : public ::testing::Test { class 886 void CreateNewModule() { NewM = llvm::CloneModule(*OldM).release(); } in CreateNewModule() 893 TEST_F(CloneModule, Verify) { in TEST_F() argument 897 TEST_F(CloneModule, OldModuleUnchanged) { in TEST_F() argument 903 TEST_F(CloneModule, Subprogram) { in TEST_F() argument 912 TEST_F(CloneModule, GlobalMetadata) { in TEST_F() argument 917 TEST_F(CloneModule, GlobalDebugInfo) { in TEST_F() argument 940 TEST_F(CloneModule, CompileUnit) { in TEST_F() argument 963 TEST_F(CloneModule, Comdat) { in TEST_F() argument
|
/external/llvm/bindings/ocaml/transforms/utils/ |
D | llvm_transform_utils.mli | 16 See the [llvm::CloneModule] function. *)
|
/external/llvm-project/llvm/bindings/ocaml/transforms/utils/ |
D | llvm_transform_utils.mli | 15 See the [llvm::CloneModule] function. *)
|
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
D | ThreadSafeModule.cpp | 32 auto Tmp = CloneModule(M, VMap, [&](const GlobalValue *GV) { in cloneToNewContext()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/ |
D | ThreadSafeModule.cpp | 32 auto Tmp = CloneModule(M, VMap, [&](const GlobalValue *GV) { in cloneToNewContext()
|
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/ |
D | gpu_kernel_to_blob_pass.cc | 122 auto llvm_module_copy = llvm::CloneModule(*llvmModule); in GetGpuBinaryBlob() 187 auto llvm_module_copy = llvm::CloneModule(*llvmModule); in GetGpuBinaryBlob()
|
/external/llvm-project/llvm/utils/gn/secondary/llvm/lib/Transforms/Utils/ |
D | BUILD.gn | 22 "CloneModule.cpp",
|
/external/llvm-project/llvm/tools/llvm-reduce/deltas/ |
D | Delta.cpp | 138 std::unique_ptr<Module> Clone = CloneModule(*Test.getProgram()); in runDeltaPass()
|
/external/llvm-project/llvm/test/DebugInfo/X86/ |
D | clone-module-2.ll | 5 ; defined within the module, cloning such a module with CloneModule was
|
/external/mesa3d/src/gallium/frontends/clover/llvm/codegen/ |
D | native.cpp | 157 std::unique_ptr< ::llvm::Module> cmod { ::llvm::CloneModule(mod) };
|