Lines Matching defs:Comdat
71 #include "llvm/IR/Comdat.h"
217 // the profile data for Comdat functions, which often turns out to be false
533 // A map that stores the Comdat group in function F.
534 std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers;
587 std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers,
693 // Check if we can safely rename this Comdat function.
696 std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers) {
700 // FIXME: Current only handle those Comdat groups that only containing one
702 // (1) For a Comdat group containing multiple functions, we need to have a
705 // (2) Variables can not be renamed, so we can not rename Comdat function in a
707 Comdat *C = F.getComdat();
717 // Append the CFGHash to the Comdat function name.
728 Comdat *NewComdat;
741 // This function belongs to a single function Comdat group.
742 Comdat *OrigComdat = F.getComdat();
874 std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers,
1092 std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers,
1807 // Collect the set of members for each Comdat in module M and store
1811 std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers) {
1815 if (Comdat *C = F.getComdat())
1818 if (Comdat *C = GV.getComdat())
1821 if (Comdat *C = GA.getComdat())
1881 std::unordered_multimap<Comdat *, GlobalValue *> ComdatMembers;
2111 std::unordered_multimap<Comdat *, GlobalValue *> ComdatMembers;