Searched refs:CloneModule (Results 1 – 12 of 12) sorted by relevance
/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 173 return wrap(CloneModule(unwrap(M)).release()); in LLVMCloneModule()
|
D | CMakeLists.txt | 9 CloneModule.cpp
|
D | SplitModule.cpp | 78 CloneModule(M.get(), VMap, [=](const GlobalValue *GV) { in SplitModule()
|
D | Android.mk | 11 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/tools/bugpoint/ |
D | Miscompilation.cpp | 257 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()
|
D | CrashDebugger.cpp | 146 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()
|
D | ExtractFunction.cpp | 89 Module *Clone = CloneModule(Program).release(); in deleteInstructionFromProgram() 321 std::unique_ptr<Module> New = CloneModule(M, NewVMap); in SplitFunctionsOutOfModule()
|
/external/llvm/bindings/ocaml/transforms/utils/ |
D | llvm_transform_utils.mli | 16 See the [llvm::CloneModule] function. *)
|
/external/llvm/unittests/Transforms/Utils/ |
D | Cloning.cpp | 415 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/ |
D | llc.cpp | 399 std::unique_ptr<Module> M2(llvm::CloneModule(M.get())); in compileModule()
|
/external/llvm/tools/opt/ |
D | opt.cpp | 620 std::unique_ptr<Module> M2(CloneModule(M.get())); in main()
|