Lines Matching refs:Comdat

565 static const Comdat *getELFComdat(const GlobalValue *GV) {  in getELFComdat()
566 const Comdat *C = GV->getComdat(); in getELFComdat()
570 if (C->getSelectionKind() != Comdat::Any && in getELFComdat()
571 C->getSelectionKind() != Comdat::NoDeduplicate) in getELFComdat()
767 if (const Comdat *C = getELFComdat(GO)) { in getGlobalObjectInfo()
770 IsComdat = C->getSelectionKind() == Comdat::Any; in getGlobalObjectInfo()
950 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
973 if (const Comdat *C = getELFComdat(&F)) { in getSectionForLSDA()
976 IsComdat = C->getSelectionKind() == Comdat::Any; in getSectionForLSDA()
1081 StringRef Comdat = KeySym ? KeySym->getName() : ""; in getStaticStructorSection() local
1110 return Ctx.getELFSection(Name, Type, Flags, 0, Comdat, /*IsComdat=*/true); in getStaticStructorSection()
1273 const Comdat *C = GV->getComdat(); in checkMachOComdat()
1629 const Comdat *C = GV->getComdat(); in getComdatGVForCOFF()
1646 if (const Comdat *C = GV->getComdat()) { in getSelectionForCOFF()
1652 case Comdat::Any: in getSelectionForCOFF()
1654 case Comdat::ExactMatch: in getSelectionForCOFF()
1656 case Comdat::Largest: in getSelectionForCOFF()
1658 case Comdat::NoDeduplicate: in getSelectionForCOFF()
1660 case Comdat::SameSize: in getSelectionForCOFF()
1805 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
2131 static const Comdat *getWasmComdat(const GlobalValue *GV) { in getWasmComdat()
2132 const Comdat *C = GV->getComdat(); in getWasmComdat()
2136 if (C->getSelectionKind() != Comdat::Any) in getWasmComdat()
2177 if (const Comdat *C = getWasmComdat(GO)) { in getExplicitSectionGlobal()
2192 if (const Comdat *C = getWasmComdat(GO)) { in selectWasmSectionForGlobal()