Home
last modified time | relevance | path

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

12

/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
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCloneModule.cpp34 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()
DCMakeLists.txt11 CloneModule.cpp
/external/llvm-project/llvm/lib/Transforms/Utils/
DCloneModule.cpp34 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()
DCMakeLists.txt15 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-project/llvm/include/llvm/Transforms/Utils/
DCloning.h51 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/
DCloning.h52 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/
DMiscompilation.cpp232 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 …]
DCrashDebugger.cpp153 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 …]
DExtractFunction.cpp87 std::unique_ptr<Module> Clone = CloneModule(*Program); in deleteInstructionFromProgram()
320 std::unique_ptr<Module> New = CloneModule(*M, NewVMap); in SplitFunctionsOutOfModule()
/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()
/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-project/llvm/unittests/Transforms/Utils/
DCloningTest.cpp820 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/
Dllvm_transform_utils.mli16 See the [llvm::CloneModule] function. *)
/external/llvm-project/llvm/bindings/ocaml/transforms/utils/
Dllvm_transform_utils.mli15 See the [llvm::CloneModule] function. *)
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
DThreadSafeModule.cpp32 auto Tmp = CloneModule(M, VMap, [&](const GlobalValue *GV) { in cloneToNewContext()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DThreadSafeModule.cpp32 auto Tmp = CloneModule(M, VMap, [&](const GlobalValue *GV) { in cloneToNewContext()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dgpu_kernel_to_blob_pass.cc122 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/
DBUILD.gn22 "CloneModule.cpp",
/external/llvm-project/llvm/tools/llvm-reduce/deltas/
DDelta.cpp138 std::unique_ptr<Module> Clone = CloneModule(*Test.getProgram()); in runDeltaPass()
/external/llvm-project/llvm/test/DebugInfo/X86/
Dclone-module-2.ll5 ; defined within the module, cloning such a module with CloneModule was
/external/mesa3d/src/gallium/frontends/clover/llvm/codegen/
Dnative.cpp157 std::unique_ptr< ::llvm::Module> cmod { ::llvm::CloneModule(mod) };

12