Lines Matching defs:Comdat
71 #include "llvm/IR/Comdat.h"
216 // the profile data for Comdat functions, which often turns out to be false
364 std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers;
390 std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers,
583 // A map that stores the Comdat group in function F.
584 std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers;
637 std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers,
744 // Check if we can safely rename this Comdat function.
747 std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers) {
751 // FIXME: Current only handle those Comdat groups that only containing one
753 // (1) For a Comdat group containing multiple functions, we need to have a
756 // (2) Variables can not be renamed, so we can not rename Comdat function in a
758 Comdat *C = F.getComdat();
768 // Append the CFGHash to the Comdat function name.
779 Comdat *NewComdat;
792 // This function belongs to a single function Comdat group.
793 Comdat *OrigComdat = F.getComdat();
1150 std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers,
1875 // Collect the set of members for each Comdat in module M and store
1879 std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers) {
1883 if (Comdat *C = F.getComdat())
1886 if (Comdat *C = GV.getComdat())
1889 if (Comdat *C = GA.getComdat())
1956 std::unordered_multimap<Comdat *, GlobalValue *> ComdatMembers;
2195 std::unordered_multimap<Comdat *, GlobalValue *> ComdatMembers;