Lines Matching refs:GVtoClusterMap
61 static void addNonConstUser(ClusterMapType &GVtoClusterMap, in addNonConstUser() argument
67 GVtoClusterMap.unionSets(GV, F); in addNonConstUser()
70 GVtoClusterMap.unionSets(GV, cast<GlobalValue>(U)); in addNonConstUser()
77 static void addAllGlobalValueUsers(ClusterMapType &GVtoClusterMap, in addAllGlobalValueUsers() argument
89 addNonConstUser(GVtoClusterMap, GV, UU); in addAllGlobalValueUsers()
105 ClusterMapType GVtoClusterMap; in findPartitions() local
108 auto recordGVSet = [&GVtoClusterMap, &ComdatMembers](GlobalValue &GV) { in findPartitions()
122 GVtoClusterMap.unionSets(Member, &GV); in findPartitions()
131 GVtoClusterMap.unionSets(&GV, Base); in findPartitions()
139 addAllGlobalValueUsers(GVtoClusterMap, F, BA); in findPartitions()
144 addAllGlobalValueUsers(GVtoClusterMap, &GV, &GV); in findPartitions()
176 for (ClusterMapType::iterator I = GVtoClusterMap.begin(), in findPartitions()
177 E = GVtoClusterMap.end(); I != E; ++I) in findPartitions()
180 std::make_pair(std::distance(GVtoClusterMap.member_begin(I), in findPartitions()
181 GVtoClusterMap.member_end()), I)); in findPartitions()
200 GVtoClusterMap.findLeader(I.second); in findPartitions()
201 MI != GVtoClusterMap.member_end(); ++MI) { in findPartitions()