Lines Matching refs:GVtoClusterMap
43 static void addNonConstUser(ClusterMapType &GVtoClusterMap, in addNonConstUser() argument
49 GVtoClusterMap.unionSets(GV, F); in addNonConstUser()
52 GVtoClusterMap.unionSets(GV, cast<GlobalValue>(U)); in addNonConstUser()
59 static void addAllGlobalValueUsers(ClusterMapType &GVtoClusterMap, in addAllGlobalValueUsers() argument
71 addNonConstUser(GVtoClusterMap, GV, UU); in addAllGlobalValueUsers()
86 ClusterMapType GVtoClusterMap; in findPartitions() local
89 auto recordGVSet = [&GVtoClusterMap, &ComdatMembers](GlobalValue &GV) { in findPartitions()
103 GVtoClusterMap.unionSets(Member, &GV); in findPartitions()
112 GVtoClusterMap.unionSets(&GV, Base); in findPartitions()
120 addAllGlobalValueUsers(GVtoClusterMap, F, BA); in findPartitions()
125 addAllGlobalValueUsers(GVtoClusterMap, &GV, &GV); in findPartitions()
156 for (ClusterMapType::iterator I = GVtoClusterMap.begin(), in findPartitions()
157 E = GVtoClusterMap.end(); I != E; ++I) in findPartitions()
160 std::make_pair(std::distance(GVtoClusterMap.member_begin(I), in findPartitions()
161 GVtoClusterMap.member_end()), I)); in findPartitions()
179 GVtoClusterMap.findLeader(I.second); in findPartitions()
180 MI != GVtoClusterMap.member_end(); ++MI) { in findPartitions()