Lines Matching refs:GUID

73     const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR,  in computeLTOCacheKey()  argument
75 const std::set<GlobalValue::GUID> &CfiFunctionDefs, in computeLTOCacheKey()
76 const std::set<GlobalValue::GUID> &CfiFunctionDecls) { in computeLTOCacheKey()
166 sizeof(GlobalValue::GUID))); in computeLTOCacheKey()
173 std::set<GlobalValue::GUID> UsedCfiDefs; in computeLTOCacheKey()
174 std::set<GlobalValue::GUID> UsedCfiDecls; in computeLTOCacheKey()
177 std::set<GlobalValue::GUID> UsedTypeIds; in computeLTOCacheKey()
179 auto AddUsedCfiGlobal = [&](GlobalValue::GUID ValueGUID) { in computeLTOCacheKey()
199 UsedTypeIds.insert(TT.GUID); in computeLTOCacheKey()
201 UsedTypeIds.insert(TT.GUID); in computeLTOCacheKey()
203 UsedTypeIds.insert(TT.VFunc.GUID); in computeLTOCacheKey()
205 UsedTypeIds.insert(TT.VFunc.GUID); in computeLTOCacheKey()
266 for (GlobalValue::GUID TId : UsedTypeIds) { in computeLTOCacheKey()
297 GlobalValueSummaryList &GVSummaryList, GlobalValue::GUID GUID, in thinLTOResolvePrevailingGUID() argument
299 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)> in thinLTOResolvePrevailingGUID() argument
301 function_ref<void(StringRef, GlobalValue::GUID, GlobalValue::LinkageTypes)> in thinLTOResolvePrevailingGUID()
318 if (isPrevailing(GUID, S.get())) { in thinLTOResolvePrevailingGUID()
328 recordNewLinkage(S->modulePath(), GUID, S->linkage()); in thinLTOResolvePrevailingGUID()
340 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)> in thinLTOResolvePrevailingInIndex() argument
342 function_ref<void(StringRef, GlobalValue::GUID, GlobalValue::LinkageTypes)> in thinLTOResolvePrevailingInIndex()
360 GlobalValueSummaryList &GVSummaryList, GlobalValue::GUID GUID, in thinLTOInternalizeAndPromoteGUID() argument
361 function_ref<bool(StringRef, GlobalValue::GUID)> isExported) { in thinLTOInternalizeAndPromoteGUID()
363 if (isExported(S->modulePath(), GUID)) { in thinLTOInternalizeAndPromoteGUID()
382 function_ref<bool(StringRef, GlobalValue::GUID)> isExported) { in thinLTOInternalizeAndPromoteInIndex()
773 auto GUID = GlobalValue::getGUID(GlobalValue::getGlobalIdentifier( in addThinLTO() local
776 ThinLTO.PrevailingModuleForGUID[GUID] = BM.getModuleIdentifier(); in addThinLTO()
784 GUID, BM.getModuleIdentifier())) in addThinLTO()
792 GUID, BM.getModuleIdentifier())) { in addThinLTO()
814 DenseSet<GlobalValue::GUID> GUIDPreservedSymbols; in run()
815 DenseMap<GlobalValue::GUID, PrevailingType> GUIDPrevailingResolutions; in run()
822 GlobalValue::GUID GUID = GlobalValue::getGUID( in run() local
829 GUIDPrevailingResolutions[GUID] = in run()
833 auto isPrevailing = [&](GlobalValue::GUID G) { in run()
949 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR,
959 std::set<GlobalValue::GUID> CfiFunctionDefs;
960 std::set<GlobalValue::GUID> CfiFunctionDecls;
987 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR, in runThinLTOBackendThread() argument
1024 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR, in start() argument
1034 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> in start()
1116 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR, in start() argument
1195 StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>> ResolvedODR; in runThinLTO()
1208 std::set<GlobalValue::GUID> ExportedGUIDs; in runThinLTO()
1215 auto GUID = GlobalValue::getGUID( in runThinLTO() local
1218 if (ThinLTO.CombinedIndex.isGUIDLive(GUID)) in runThinLTO()
1219 ExportedGUIDs.insert(GUID); in runThinLTO()
1228 auto isExported = [&](StringRef ModuleIdentifier, GlobalValue::GUID GUID) { in runThinLTO() argument
1231 ExportList->second.count(GUID)) || in runThinLTO()
1232 ExportedGUIDs.count(GUID); in runThinLTO()
1236 auto isPrevailing = [&](GlobalValue::GUID GUID, in runThinLTO()
1238 return ThinLTO.PrevailingModuleForGUID[GUID] == S->modulePath(); in runThinLTO()
1241 GlobalValue::GUID GUID, in runThinLTO() argument
1243 ResolvedODR[ModuleIdentifier][GUID] = NewLinkage; in runThinLTO()