Lines Matching refs:GVtoClusterMap
60 static void addNonConstUser(ClusterMapType &GVtoClusterMap, in addNonConstUser() argument
66 GVtoClusterMap.unionSets(GV, F); in addNonConstUser()
68 GVtoClusterMap.unionSets(GV, GVU); in addNonConstUser()
75 static void addAllGlobalValueUsers(ClusterMapType &GVtoClusterMap, in addAllGlobalValueUsers() argument
87 addNonConstUser(GVtoClusterMap, GV, UU); in addAllGlobalValueUsers()
109 ClusterMapType GVtoClusterMap; in findPartitions() local
112 auto recordGVSet = [&GVtoClusterMap, &ComdatMembers](GlobalValue &GV) { in findPartitions()
126 GVtoClusterMap.unionSets(Member, &GV); in findPartitions()
135 GVtoClusterMap.unionSets(&GV, Root); in findPartitions()
142 addAllGlobalValueUsers(GVtoClusterMap, F, BA); in findPartitions()
147 addAllGlobalValueUsers(GVtoClusterMap, &GV, &GV); in findPartitions()
179 for (ClusterMapType::iterator I = GVtoClusterMap.begin(), in findPartitions()
180 E = GVtoClusterMap.end(); I != E; ++I) in findPartitions()
183 std::make_pair(std::distance(GVtoClusterMap.member_begin(I), in findPartitions()
184 GVtoClusterMap.member_end()), I)); in findPartitions()
203 GVtoClusterMap.findLeader(I.second); in findPartitions()
204 MI != GVtoClusterMap.member_end(); ++MI) { in findPartitions()