Searched refs:DestM (Results 1 – 2 of 2) sorted by relevance
205 std::unique_ptr<Module> DestM(getExternal(Ctx, "foo")); in TEST_F() local208 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() local230 LLVMLinkModules2(wrap(DestM.get()), wrap(SourceM.release())); in TEST_F()
231 static void cloneUsedGlobalVariables(const Module &SrcM, Module &DestM, in cloneUsedGlobalVariables() argument238 auto *GV = DestM.getNamedValue(V->getName()); in cloneUsedGlobalVariables()244 appendToCompilerUsed(DestM, NewUsed); in cloneUsedGlobalVariables()246 appendToUsed(DestM, NewUsed); in cloneUsedGlobalVariables()