Lines Matching refs:SrcModule
582 std::unique_ptr<Module> SrcModule = ModuleLoader(Name); in importFunctions() local
583 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()
636 << SrcModule->getSourceFileName() << "\n"); in importFunctions()
649 << SrcModule->getSourceFileName() << "\n"); in importFunctions()
659 if (renameModuleForThinLTO(*SrcModule, Index, &GlobalsToImport)) in importFunctions()
665 << " from " << SrcModule->getSourceFileName() << "\n"; in importFunctions()
673 if (TheLinker.linkInModule(std::move(SrcModule), Flags, &GlobalsToImport)) in importFunctions()