Lines Matching defs:GUID

134 // Populate map of GUID to the prevailing copy for any multiply defined
139 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> &PrevailingCopy) {
298 DenseSet<GlobalValue::GUID> &PreservedGUID) {
305 // Convert the PreservedSymbols map from "Name" based to "GUID" based.
309 DenseSet<GlobalValue::GUID> &GUIDs) {
311 // compute the GUID for the symbol.
319 static DenseSet<GlobalValue::GUID>
323 DenseSet<GlobalValue::GUID> GUIDPreservedSymbols(PreservedSymbols.size());
366 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR,
437 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols,
514 StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>>
516 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols,
517 const DenseMap<GlobalValue::GUID, const GlobalValueSummary *>
520 auto isPrevailing = [&](GlobalValue::GUID GUID, const GlobalValueSummary *S) {
521 const auto &Prevailing = PrevailingCopy.find(GUID);
529 GlobalValue::GUID GUID,
531 ResolvedODR[ModuleIdentifier][GUID] = NewLinkage;
629 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols;
633 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols)
644 const DenseMap<GlobalValue::GUID, const GlobalValueSummary *> &PrevailingCopy;
645 IsPrevailing(const DenseMap<GlobalValue::GUID, const GlobalValueSummary *>
649 bool operator()(GlobalValue::GUID GUID, const GlobalValueSummary *S) const {
650 const auto &Prevailing = PrevailingCopy.find(GUID);
661 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols) {
665 auto isPrevailing = [&](GlobalValue::GUID G) {
681 // Collect for each module the list of function it defines (GUID -> Summary).
685 // Convert the preserved symbols set from string to GUID
696 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> PrevailingCopy;
707 StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>> ResolvedODR;
734 // Collect for each module the list of function it defines (GUID -> Summary).
738 // Convert the preserved symbols set from string to GUID
748 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> PrevailingCopy;
774 // Collect for each module the list of function it defines (GUID -> Summary).
778 // Convert the preserved symbols set from string to GUID
788 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> PrevailingCopy;
812 // Collect for each module the list of function it defines (GUID -> Summary).
816 // Convert the preserved symbols set from string to GUID
826 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> PrevailingCopy;
863 // Convert the preserved symbols set from string to GUID
869 // Collect for each module the list of function it defines (GUID -> Summary).
877 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> PrevailingCopy;
894 StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>> ResolvedODR;
1031 // Collect for each module the list of function it defines (GUID -> Summary).
1035 // Convert the preserved symbols set from string to GUID, this is needed for
1037 DenseSet<GlobalValue::GUID> GUIDPreservedSymbols;
1070 std::set<GlobalValue::GUID> ExportedGUIDs;
1072 for (auto GUID : ExportedGUIDs)
1073 GUIDPreservedSymbols.insert(GUID);
1076 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> PrevailingCopy;
1091 StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>> ResolvedODR;