Lines Matching defs:GUID
132 // Populate map of GUID to the prevailing copy for any multiply defined
137 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> &PrevailingCopy) {
295 DenseSet<GlobalValue::GUID> &PreservedGUID) {
302 // Convert the PreservedSymbols map from "Name" based to "GUID" based.
306 DenseSet<GlobalValue::GUID> &GUIDs) {
308 // compute the GUID for the symbol.
316 static DenseSet<GlobalValue::GUID>
320 DenseSet<GlobalValue::GUID> GUIDPreservedSymbols(PreservedSymbols.size());
360 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR,
432 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols,
509 StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>>
511 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols,
512 const DenseMap<GlobalValue::GUID, const GlobalValueSummary *>
515 auto isPrevailing = [&](GlobalValue::GUID GUID, const GlobalValueSummary *S) {
516 const auto &Prevailing = PrevailingCopy.find(GUID);
524 GlobalValue::GUID GUID,
526 ResolvedODR[ModuleIdentifier][GUID] = NewLinkage;
622 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols;
626 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols)
637 const DenseMap<GlobalValue::GUID, const GlobalValueSummary *> &PrevailingCopy;
638 IsPrevailing(const DenseMap<GlobalValue::GUID, const GlobalValueSummary *>
642 bool operator()(GlobalValue::GUID GUID, const GlobalValueSummary *S) const {
643 const auto &Prevailing = PrevailingCopy.find(GUID);
654 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols) {
658 auto isPrevailing = [&](GlobalValue::GUID G) {
674 // Collect for each module the list of function it defines (GUID -> Summary).
678 // Convert the preserved symbols set from string to GUID
689 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> PrevailingCopy;
700 StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>> ResolvedODR;
727 // Collect for each module the list of function it defines (GUID -> Summary).
731 // Convert the preserved symbols set from string to GUID
741 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> PrevailingCopy;
767 // Collect for each module the list of function it defines (GUID -> Summary).
771 // Convert the preserved symbols set from string to GUID
781 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> PrevailingCopy;
805 // Collect for each module the list of function it defines (GUID -> Summary).
809 // Convert the preserved symbols set from string to GUID
819 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> PrevailingCopy;
855 // Convert the preserved symbols set from string to GUID
861 // Collect for each module the list of function it defines (GUID -> Summary).
869 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> PrevailingCopy;
886 StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>> ResolvedODR;
1023 // Collect for each module the list of function it defines (GUID -> Summary).
1027 // Convert the preserved symbols set from string to GUID, this is needed for
1029 DenseSet<GlobalValue::GUID> GUIDPreservedSymbols;
1059 std::set<GlobalValue::GUID> ExportedGUIDs;
1061 for (auto GUID : ExportedGUIDs)
1062 GUIDPreservedSymbols.insert(GUID);
1065 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> PrevailingCopy;
1080 StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>> ResolvedODR;