Searched refs:SrcModule (Results 1 – 7 of 7) sorted by relevance
/external/llvm/tools/llvm-link/ |
D | llvm-link.cpp | 231 auto &SrcModule = ModuleLoaderCache(argv0, FileName); in importFunctions() local 233 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() local 269 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()
|
/external/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 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() [all …]
|
/external/llvm-project/compiler-rt/lib/ubsan/ |
D | ubsan_handlers_cxx.cpp | 151 const char *SrcModule = Symbolizer::GetOrInit()->GetModuleNameForPc(Opts.pc); in __ubsan_handle_cfi_bad_type() local 152 if (!SrcModule) in __ubsan_handle_cfi_bad_type() 153 SrcModule = "(unknown)"; in __ubsan_handle_cfi_bad_type() 155 if (internal_strcmp(SrcModule, DstModule)) in __ubsan_handle_cfi_bad_type() 157 << SrcModule << DstModule; in __ubsan_handle_cfi_bad_type()
|
D | ubsan_handlers.cpp | 858 const char *SrcModule = Symbolizer::GetOrInit()->GetModuleNameForPc(Opts.pc); in handleCFIBadIcall() local 859 if (!SrcModule) in handleCFIBadIcall() 860 SrcModule = "(unknown)"; in handleCFIBadIcall() 862 if (internal_strcmp(SrcModule, DstModule)) in handleCFIBadIcall() 865 << SrcModule << DstModule; in handleCFIBadIcall()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 1114 static Function *replaceAliasWithAliasee(Module *SrcModule, GlobalAlias *GA) { in replaceAliasWithAliasee() argument 1161 std::unique_ptr<Module> SrcModule = std::move(*SrcModuleOrErr); in importFunctions() local 1162 assert(&DestModule.getContext() == &SrcModule->getContext() && in importFunctions() 1167 if (Error Err = SrcModule->materializeMetadata()) in importFunctions() 1173 for (Function &F : *SrcModule) { in importFunctions() 1180 << SrcModule->getSourceFileName() << "\n"); in importFunctions() 1190 SrcModule->getSourceFileName())})); in importFunctions() 1195 for (GlobalVariable &GV : SrcModule->globals()) { in importFunctions() 1202 << SrcModule->getSourceFileName() << "\n"); in importFunctions() 1209 for (GlobalAlias &GA : SrcModule->aliases()) { in importFunctions() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 1087 static Function *replaceAliasWithAliasee(Module *SrcModule, GlobalAlias *GA) { in replaceAliasWithAliasee() argument 1134 std::unique_ptr<Module> SrcModule = std::move(*SrcModuleOrErr); in importFunctions() local 1135 assert(&DestModule.getContext() == &SrcModule->getContext() && in importFunctions() 1140 if (Error Err = SrcModule->materializeMetadata()) in importFunctions() 1146 for (Function &F : *SrcModule) { in importFunctions() 1153 << SrcModule->getSourceFileName() << "\n"); in importFunctions() 1163 SrcModule->getSourceFileName())})); in importFunctions() 1168 for (GlobalVariable &GV : SrcModule->globals()) { in importFunctions() 1175 << SrcModule->getSourceFileName() << "\n"); in importFunctions() 1182 for (GlobalAlias &GA : SrcModule->aliases()) { in importFunctions() [all …]
|
/external/llvm-project/llvm/tools/llvm-link/ |
D | llvm-link.cpp | 307 auto &SrcModule = ModuleLoaderCache(argv0, FileName); in importFunctions() local 309 if (verifyModule(SrcModule, &errs())) { in importFunctions() 315 Function *F = SrcModule.getFunction(FunctionName); in importFunctions()
|