Home
last modified time | relevance | path

Searched refs:DestM (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/Linker/
H A DLinkModulesTest.cpp205 std::unique_ptr<Module> DestM(getExternal(Ctx, "foo")); in TEST_F() local
208 LLVMLinkModules2(wrap(DestM.get()), wrap(SourceM.release())); in TEST_F()
211 EXPECT_NE(nullptr, DestM->getFunction("bar")); in TEST_F()
227 std::unique_ptr<Module> DestM(getExternal(Ctx, "foo")); in TEST_F() local
230 LLVMLinkModules2(wrap(DestM.get()), wrap(SourceM.release())); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DThinLTOBitcodeWriter.cpp231 static void cloneUsedGlobalVariables(const Module &SrcM, Module &DestM, in cloneUsedGlobalVariables() argument
238 auto *GV = DestM.getNamedValue(V->getName()); in cloneUsedGlobalVariables()
244 appendToCompilerUsed(DestM, NewUsed); in cloneUsedGlobalVariables()
246 appendToUsed(DestM, NewUsed); in cloneUsedGlobalVariables()