Lines Matching refs:GVtoClusterMap
72 static void addNonConstUser(ClusterMapType &GVtoClusterMap, in addNonConstUser() argument
78 GVtoClusterMap.unionSets(GV, F); in addNonConstUser()
80 GVtoClusterMap.unionSets(GV, GVU); in addNonConstUser()
87 static void addAllGlobalValueUsers(ClusterMapType &GVtoClusterMap, in addAllGlobalValueUsers() argument
99 addNonConstUser(GVtoClusterMap, GV, UU); in addAllGlobalValueUsers()
122 ClusterMapType GVtoClusterMap; in findPartitions() local
125 auto recordGVSet = [&GVtoClusterMap, &ComdatMembers](GlobalValue &GV) { in findPartitions()
139 GVtoClusterMap.unionSets(Member, &GV); in findPartitions()
148 GVtoClusterMap.unionSets(&GV, Root); in findPartitions()
155 addAllGlobalValueUsers(GVtoClusterMap, F, BA); in findPartitions()
160 addAllGlobalValueUsers(GVtoClusterMap, &GV, &GV); in findPartitions()
181 for (ClusterMapType::iterator I = GVtoClusterMap.begin(), in findPartitions()
182 E = GVtoClusterMap.end(); in findPartitions()
186 std::make_pair(std::distance(GVtoClusterMap.member_begin(I), in findPartitions()
187 GVtoClusterMap.member_end()), in findPartitions()
207 GVtoClusterMap.findLeader(I.second); in findPartitions()
208 MI != GVtoClusterMap.member_end(); ++MI) { in findPartitions()