Lines Matching refs:GUID

96     const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR,  in computeLTOCacheKey()  argument
98 const std::set<GlobalValue::GUID> &CfiFunctionDefs, in computeLTOCacheKey()
99 const std::set<GlobalValue::GUID> &CfiFunctionDecls) { in computeLTOCacheKey()
174 for (auto GUID : ExportsGUID) in computeLTOCacheKey() local
175 Hasher.update(ArrayRef<uint8_t>((uint8_t *)&GUID, sizeof(GUID))); in computeLTOCacheKey()
217 for (auto &[GUID, Type] : ImportedGUIDs) { in computeLTOCacheKey()
218 AddUint64(GUID); in computeLTOCacheKey()
226 sizeof(GlobalValue::GUID))); in computeLTOCacheKey()
233 std::set<GlobalValue::GUID> UsedCfiDefs; in computeLTOCacheKey()
234 std::set<GlobalValue::GUID> UsedCfiDecls; in computeLTOCacheKey()
237 std::set<GlobalValue::GUID> UsedTypeIds; in computeLTOCacheKey()
239 auto AddUsedCfiGlobal = [&](GlobalValue::GUID ValueGUID) { in computeLTOCacheKey()
263 UsedTypeIds.insert(TT.GUID); in computeLTOCacheKey()
265 UsedTypeIds.insert(TT.GUID); in computeLTOCacheKey()
267 UsedTypeIds.insert(TT.VFunc.GUID); in computeLTOCacheKey()
269 UsedTypeIds.insert(TT.VFunc.GUID); in computeLTOCacheKey()
290 for (auto &[GUID, UnusedImportType] : ImpM.getFunctions()) { in computeLTOCacheKey()
292 Index.findSummaryInModule(GUID, ImpM.getIdentifier()); in computeLTOCacheKey()
331 for (GlobalValue::GUID TId : UsedTypeIds) { in computeLTOCacheKey()
364 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)> in thinLTOResolvePrevailingGUID() argument
366 function_ref<void(StringRef, GlobalValue::GUID, GlobalValue::LinkageTypes)> in thinLTOResolvePrevailingGUID()
368 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols) { in thinLTOResolvePrevailingGUID()
440 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)> in thinLTOResolvePrevailingInIndex() argument
442 function_ref<void(StringRef, GlobalValue::GUID, GlobalValue::LinkageTypes)> in thinLTOResolvePrevailingInIndex()
444 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols) { in thinLTOResolvePrevailingInIndex()
462 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)> in thinLTOInternalizeAndPromoteGUID() argument
542 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)> in thinLTOInternalizeAndPromoteInIndex() argument
1019 auto GUID = GlobalValue::getGUID(GlobalValue::getGlobalIdentifier( in addThinLTO() local
1022 ThinLTO.PrevailingModuleForGUID[GUID] = BM.getModuleIdentifier(); in addThinLTO()
1028 [&](GlobalValue::GUID GUID) { in addThinLTO() argument
1029 return ThinLTO.PrevailingModuleForGUID[GUID] == in addThinLTO()
1040 auto GUID = GlobalValue::getGUID(GlobalValue::getGlobalIdentifier( in addThinLTO() local
1043 assert(ThinLTO.PrevailingModuleForGUID[GUID] == in addThinLTO()
1052 GUID, BM.getModuleIdentifier())) in addThinLTO()
1060 GUID, BM.getModuleIdentifier())) { in addThinLTO()
1142 DenseSet<GlobalValue::GUID> GUIDPreservedSymbols; in run()
1143 DenseMap<GlobalValue::GUID, PrevailingType> GUIDPrevailingResolutions; in run()
1150 GlobalValue::GUID GUID = GlobalValue::getGUID( in run() local
1154 GUIDPreservedSymbols.insert(GUID); in run()
1157 DynamicExportSymbols.insert(GUID); in run()
1159 GUIDPrevailingResolutions[GUID] = in run()
1163 auto isPrevailing = [&](GlobalValue::GUID G) { in run()
1392 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR,
1432 std::set<GlobalValue::GUID> CfiFunctionDefs;
1433 std::set<GlobalValue::GUID> CfiFunctionDecls;
1464 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR, in runThinLTOBackendThread() argument
1510 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR, in start() argument
1520 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> in start()
1633 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR, in start() argument
1679 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols) { in runThinLTO()
1723 StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>> ResolvedODR; in runThinLTO()
1728 std::set<GlobalValue::GUID> ExportedGUIDs; in runThinLTO()
1741 DenseSet<GlobalValue::GUID> VisibleToRegularObjSymbols; in runThinLTO()
1770 auto isPrevailing = [&](GlobalValue::GUID GUID, const GlobalValueSummary *S) { in runThinLTO() argument
1771 return ThinLTO.PrevailingModuleForGUID[GUID] == S->modulePath(); in runThinLTO()
1788 auto GUID = GlobalValue::getGUID( in runThinLTO() local
1791 if (ThinLTO.CombinedIndex.isGUIDLive(GUID)) in runThinLTO()
1792 ExportedGUIDs.insert(GUID); in runThinLTO()
1829 GlobalValue::GUID GUID, in runThinLTO()
1831 ResolvedODR[ModuleIdentifier][GUID] = NewLinkage; in runThinLTO()