Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp1221 Module &DestModule, const FunctionImporter::ImportMapTy &ImportList) { in importFunctions() argument
1223 << DestModule.getModuleIdentifier() << "\n"); in importFunctions()
1226 IRMover Mover(DestModule); in importFunctions()
1240 assert(&DestModule.getContext() == &SrcModule->getContext() && in importFunctions()
1266 MDNode::get(DestModule.getContext(), in importFunctions()
1267 {MDString::get(DestModule.getContext(), in importFunctions()
1310 MDNode::get(DestModule.getContext(), in importFunctions()
1311 {MDString::get(DestModule.getContext(), in importFunctions()
1349 internalizeGVsAfterImport(DestModule); in importFunctions()
1356 << DestModule.getModuleIdentifier() << "\n"); in importFunctions()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-link/
H A Dllvm-link.cpp309 static bool importFunctions(const char *argv0, Module &DestModule) { in importFunctions() argument
318 auto ModuleLoader = [&DestModule](const char *argv0, in importFunctions()
322 return loadFile(argv0, std::move(Buffer), DestModule.getContext(), false); in importFunctions()
371 ExitOnErr(Importer.importFunctions(DestModule, ImportList)); in importFunctions()