Lines Matching refs:Comdat
530 static const Comdat *getELFComdat(const GlobalValue *GV) { in getELFComdat()
531 const Comdat *C = GV->getComdat(); in getELFComdat()
535 if (C->getSelectionKind() != Comdat::Any && in getELFComdat()
536 C->getSelectionKind() != Comdat::NoDeduplicate) in getELFComdat()
766 if (const Comdat *C = getELFComdat(GO)) { in selectExplicitSectionGlobal()
768 IsComdat = C->getSelectionKind() == Comdat::Any; in selectExplicitSectionGlobal()
820 if (const Comdat *C = getELFComdat(GO)) { in selectELFSectionForGlobal()
823 IsComdat = C->getSelectionKind() == Comdat::Any; in selectELFSectionForGlobal()
913 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
936 if (const Comdat *C = getELFComdat(&F)) { in getSectionForLSDA()
939 IsComdat = C->getSelectionKind() == Comdat::Any; in getSectionForLSDA()
1033 StringRef Comdat = KeySym ? KeySym->getName() : ""; in getStaticStructorSection() local
1062 return Ctx.getELFSection(Name, Type, Flags, 0, Comdat, /*IsComdat=*/true); in getStaticStructorSection()
1215 const Comdat *C = GV->getComdat(); in checkMachOComdat()
1549 const Comdat *C = GV->getComdat(); in getComdatGVForCOFF()
1566 if (const Comdat *C = GV->getComdat()) { in getSelectionForCOFF()
1572 case Comdat::Any: in getSelectionForCOFF()
1574 case Comdat::ExactMatch: in getSelectionForCOFF()
1576 case Comdat::Largest: in getSelectionForCOFF()
1578 case Comdat::NoDeduplicate: in getSelectionForCOFF()
1580 case Comdat::SameSize: in getSelectionForCOFF()
1716 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
2016 static const Comdat *getWasmComdat(const GlobalValue *GV) { in getWasmComdat()
2017 const Comdat *C = GV->getComdat(); in getWasmComdat()
2021 if (C->getSelectionKind() != Comdat::Any) in getWasmComdat()
2062 if (const Comdat *C = getWasmComdat(GO)) { in getExplicitSectionGlobal()
2077 if (const Comdat *C = getWasmComdat(GO)) { in selectWasmSectionForGlobal()