Home
last modified time | relevance | path

Searched refs:FromModule (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DFunctionImport.h124 std::pair<ImportIDTy, ImportIDTy> createImportIDs(StringRef FromModule, in createImportIDs() argument
126 auto Key = std::make_pair(FromModule, GUID); in createImportIDs()
134 getImportIDs(StringRef FromModule, GlobalValue::GUID GUID) { in getImportIDs() argument
135 auto Key = std::make_pair(FromModule, GUID); in getImportIDs()
150 StringRef FromModule = It->first.first; in lookup() local
152 return std::make_tuple(FromModule, GUID, Kind); in lookup()
203 LLVM_ABI AddDefinitionStatus addDefinition(StringRef FromModule,
209 LLVM_ABI void maybeAddDeclaration(StringRef FromModule,
212 void addGUID(StringRef FromModule, GlobalValue::GUID GUID, in addGUID() argument
215 addDefinition(FromModule, GUID); in addGUID()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DDependencyFile.cpp171 bool FromModule, bool IsSystem, in maybeAddDependency() argument
174 if (sawDependency(Filename, FromModule, IsSystem, IsModuleFile, IsMissing)) in maybeAddDependency()
201 bool DependencyCollector::sawDependency(StringRef Filename, bool FromModule, in sawDependency() argument
241 bool DependencyFileGenerator::sawDependency(StringRef Filename, bool FromModule, in sawDependency() argument
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp346 FunctionImporter::ImportMapTy::addDefinition(StringRef FromModule, in addDefinition() argument
348 auto [Def, Decl] = IDs.createImportIDs(FromModule, GUID); in addDefinition()
360 StringRef FromModule, GlobalValue::GUID GUID) { in maybeAddDeclaration() argument
361 auto [Def, Decl] = IDs.createImportIDs(FromModule, GUID); in maybeAddDeclaration()
379 FunctionImporter::ImportMapTy::getImportType(StringRef FromModule, in getImportType() argument
381 if (auto IDPair = IDs.getImportIDs(FromModule, GUID)) { in getImportType()
1167 for (const auto &[FromModule, GUID, Type] : ImportList) { in collectImportStatistics()
1168 ImportStatistics &Entry = Histogram[FromModule]; in collectImportStatistics()
1187 for (const auto &[FromModule, GUID, ImportType] : ImportPerModule.second) in checkVariableImport()
1586 for (const auto &[FromModule, GUID, ImportType] : ImportList) { in gatherImportedSummariesForModule()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp198 for (const auto &[FromModule, GUID, Type] : SortedImportList) in computeLTOCacheKey()
199 ++ModuleToNumImports[FromModule]; in computeLTOCacheKey()
202 for (const auto &[FromModule, GUID, Type] : SortedImportList) { in computeLTOCacheKey()
203 if (LastModule != FromModule) { in computeLTOCacheKey()
207 LastModule = FromModule; in computeLTOCacheKey()
208 auto ModHash = Index.getModule(FromModule)->second; in computeLTOCacheKey()
210 AddUint64(ModuleToNumImports[FromModule]); in computeLTOCacheKey()
282 for (const auto &[FromModule, GUID, Type] : SortedImportList) { in computeLTOCacheKey()
283 GlobalValueSummary *S = Index.findSummaryInModule(GUID, FromModule); in computeLTOCacheKey()