Searched refs:SrcModule (Results 1 – 2 of 2) sorted by relevance
231 auto &SrcModule = ModuleLoaderCache(argv0, FileName); in importFunctions() local233 if (verifyModule(SrcModule, &errs())) { in importFunctions()239 Function *F = SrcModule.getFunction(FunctionName); in importFunctions()257 auto &Entry = ModuleToGlobalsToImportMap[SrcModule.getModuleIdentifier()]; in importFunctions()267 std::unique_ptr<Module> SrcModule = in importFunctions() local269 assert(&Context == &SrcModule->getContext() && "Context mismatch"); in importFunctions()273 SrcModule->materializeMetadata(); in importFunctions()274 UpgradeDebugInfo(*SrcModule); in importFunctions()277 if (renameModuleForThinLTO(*SrcModule, *Index, &GlobalsToImport)) in importFunctions()283 if (L.linkInModule(std::move(SrcModule), Flags, &GlobalsToImport)) in importFunctions()
582 std::unique_ptr<Module> SrcModule = ModuleLoader(Name); in importFunctions() local583 assert(&DestModule.getContext() == &SrcModule->getContext() && in importFunctions()588 SrcModule->materializeMetadata(); in importFunctions()589 UpgradeDebugInfo(*SrcModule); in importFunctions()594 for (Function &F : *SrcModule) { in importFunctions()601 << SrcModule->getSourceFileName() << "\n"); in importFunctions()611 SrcModule->getSourceFileName())})); in importFunctions()616 for (GlobalVariable &GV : SrcModule->globals()) { in importFunctions()623 << SrcModule->getSourceFileName() << "\n"); in importFunctions()629 for (GlobalAlias &GA : SrcModule->aliases()) { in importFunctions()[all …]