Lines Matching refs:Comdat
540 static const Comdat *getELFComdat(const GlobalValue *GV) { in getELFComdat()
541 const Comdat *C = GV->getComdat(); in getELFComdat()
545 if (C->getSelectionKind() != Comdat::Any && in getELFComdat()
546 C->getSelectionKind() != Comdat::NoDeduplicate) in getELFComdat()
777 if (const Comdat *C = getELFComdat(GO)) { in selectExplicitSectionGlobal()
779 IsComdat = C->getSelectionKind() == Comdat::Any; in selectExplicitSectionGlobal()
831 if (const Comdat *C = getELFComdat(GO)) { in selectELFSectionForGlobal()
834 IsComdat = C->getSelectionKind() == Comdat::Any; in selectELFSectionForGlobal()
927 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
950 if (const Comdat *C = getELFComdat(&F)) { in getSectionForLSDA()
953 IsComdat = C->getSelectionKind() == Comdat::Any; in getSectionForLSDA()
1047 StringRef Comdat = KeySym ? KeySym->getName() : ""; in getStaticStructorSection() local
1076 return Ctx.getELFSection(Name, Type, Flags, 0, Comdat, /*IsComdat=*/true); in getStaticStructorSection()
1238 const Comdat *C = GV->getComdat(); in checkMachOComdat()
1575 const Comdat *C = GV->getComdat(); in getComdatGVForCOFF()
1592 if (const Comdat *C = GV->getComdat()) { in getSelectionForCOFF()
1598 case Comdat::Any: in getSelectionForCOFF()
1600 case Comdat::ExactMatch: in getSelectionForCOFF()
1602 case Comdat::Largest: in getSelectionForCOFF()
1604 case Comdat::NoDeduplicate: in getSelectionForCOFF()
1606 case Comdat::SameSize: in getSelectionForCOFF()
1742 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
2042 static const Comdat *getWasmComdat(const GlobalValue *GV) { in getWasmComdat()
2043 const Comdat *C = GV->getComdat(); in getWasmComdat()
2047 if (C->getSelectionKind() != Comdat::Any) in getWasmComdat()
2088 if (const Comdat *C = getWasmComdat(GO)) { in getExplicitSectionGlobal()
2103 if (const Comdat *C = getWasmComdat(GO)) { in selectWasmSectionForGlobal()