Lines Matching defs:GUID

241         // in the case of GUID hash collisions. It could also happen in theory
259 // unique PGO name and GUID.
338 GlobalValue::GUID GUID) {
339 auto [Def, Decl] = IDs.createImportIDs(FromModule, GUID);
345 // over a declaration for a given GUID.
351 StringRef FromModule, GlobalValue::GUID GUID) {
352 auto [Def, Decl] = IDs.createImportIDs(FromModule, GUID);
354 // precedence over a declaration for a given GUID.
362 for (const auto &[SrcMod, GUID, ImportType] : *this)
371 GlobalValue::GUID GUID) const {
372 if (auto IDPair = IDs.getImportIDs(FromModule, GUID)) {
387 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
446 // If there isn't an entry for GUID, insert <GUID, Definition> pair.
473 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
494 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
500 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
518 create(function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
733 SetVector<GlobalValue::GUID> ContainedGUIDs;
765 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
793 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
836 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
1031 // FIXME: Change the GVSummaryMapTy to hold ValueInfo instead of GUID
1036 LLVM_DEBUG(dbgs() << "Ignores Dead GUID: " << VI << "\n");
1096 GlobalValue::GUID G) {
1125 for (const auto &[FromModule, GUID, Type] : ImportList) {
1128 if (isGlobalVarSummary(Index, GUID))
1142 DenseSet<GlobalValue::GUID> FlattenedImports;
1145 for (const auto &[FromModule, GUID, ImportType] : ImportPerModule.second)
1146 FlattenedImports.insert(GUID);
1178 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
1294 /// \p isPrevailing is a callback that will be called with a global value's GUID
1302 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
1307 // GUID -> Summary
1334 auto GUID = GlobalList.first;
1336 "Expected individual combined index to have one summary per GUID");
1343 ImportList.addGUID(Summary->modulePath(), GUID, Summary->importType());
1352 // corresponding PGOFuncName as the GUID, and fix up the edges
1359 auto GUID = Index.getGUIDFromOriginalID(EI.first.getGUID());
1360 if (GUID == 0)
1362 // Update the edge to point directly to the correct GUID.
1363 auto VI = Index.getValueInfo(GUID);
1367 // The mapping from OriginalId to GUID may return a GUID
1373 // to the GUID of the library function in 1);
1395 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols,
1396 function_ref<PrevailingType(GlobalValue::GUID)> isPrevailing) {
1408 for (auto GUID : GUIDPreservedSymbols) {
1409 ValueInfo VI = Index.getValueInfo(GUID);
1511 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols,
1512 function_ref<PrevailingType(GlobalValue::GUID)> isPrevailing,
1547 for (const auto &[FromModule, GUID, ImportType] : ImportList) {
1552 const auto &DS = DefinedGVSummaries.find(GUID);
1558 SummariesForIndex[GUID] = DS->second;
1846 auto GUID = F.getGUID();
1847 auto MaybeImportType = ImportList.getImportType(ModName, GUID);
1855 << GUID << " " << F.getName() << " from "
1882 auto GUID = GV.getGUID();
1883 auto MaybeImportType = ImportList.getImportType(ModName, GUID);
1891 << GUID << " " << GV.getName() << " from "
1902 auto GUID = GA.getGUID();
1903 auto MaybeImportType = ImportList.getImportType(ModName, GUID);
1911 << GUID << " " << GA.getName() << " from "
1989 Module &M, function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
2055 auto isPrevailing = [](GlobalValue::GUID, const GlobalValueSummary *) {