Searched refs:XSym (Results 1 – 6 of 6) sorted by relevance
318 static MCSectionXCOFF *getContainingCsect(const MCSymbolXCOFF *XSym) { in getContainingCsect() argument319 if (XSym->isDefined()) in getContainingCsect()320 return cast<MCSectionXCOFF>(XSym->getFragment()->getParent()); in getContainingCsect()321 return XSym->getRepresentedCsect(); in getContainingCsect()351 const MCSymbolXCOFF *XSym = cast<MCSymbolXCOFF>(&S); in executePostLayoutBinding() local352 const MCSectionXCOFF *ContainingCsect = getContainingCsect(XSym); in executePostLayoutBinding()365 if (XSym == ContainingCsect->getQualNameSymbol()) in executePostLayoutBinding()369 if (!XSym->isExternal()) in executePostLayoutBinding()375 SectionMap[ContainingCsect]->Syms.emplace_back(XSym); in executePostLayoutBinding()379 if (nameShouldBeInStringTable(XSym->getSymbolTableName())) in executePostLayoutBinding()[all …]
808 MCSymbolXCOFF *XSym = cast<MCSymbolXCOFF>(CsectSym); in emitXCOFFLocalCommonSymbol() local809 if (XSym->hasRename()) in emitXCOFFLocalCommonSymbol()810 emitXCOFFRenameDirective(XSym, XSym->getSymbolTableName()); in emitXCOFFLocalCommonSymbol()898 MCSymbolXCOFF *XSym = dyn_cast<MCSymbolXCOFF>(Symbol); in emitCommonSymbol() local899 if (XSym && XSym->hasRename()) in emitCommonSymbol()900 emitXCOFFRenameDirective(XSym, XSym->getSymbolTableName()); in emitCommonSymbol()
353 MCSymbolXCOFF *XSym = new (&*NameEntry.first, *this) in createXCOFFSymbolImpl() local355 XSym->setSymbolTableName(MCSymbolXCOFF::getUnqualifiedName(OriginalName)); in createXCOFFSymbolImpl()356 return XSym; in createXCOFFSymbolImpl()
321 const MCSymbolXCOFF *XSym = cast<MCSymbolXCOFF>(&S); in executePostLayoutBinding() local322 const MCSectionXCOFF *ContainingCsect = XSym->getContainingCsect(); in executePostLayoutBinding()332 if (XSym == ContainingCsect->getQualNameSymbol()) in executePostLayoutBinding()339 WrapperMap[ContainingCsect]->Syms.emplace_back(XSym); in executePostLayoutBinding()343 if (nameShouldBeInStringTable(XSym->getName())) in executePostLayoutBinding()344 Strings.add(XSym->getName()); in executePostLayoutBinding()
124 if (const MCSymbolXCOFF *XSym = dyn_cast<MCSymbolXCOFF>(&S)) { in emitTCEntry() local128 OS << "\t.tc " << TCSym->getName() << "," << XSym->getName() << '\n'; in emitTCEntry()
1746 MCSymbolXCOFF *XSym = cast<MCSymbolXCOFF>(getSymbol(GO)); in getMCSymbolForTOCPseudoMO() local1753 if (!XSym->hasContainingCsect()) { in getMCSymbolForTOCPseudoMO()1757 XSym->setStorageClass(SC); in getMCSymbolForTOCPseudoMO()1760 XSym->getName(), isa<Function>(GO) ? XCOFF::XMC_DS : XCOFF::XMC_UA, in getMCSymbolForTOCPseudoMO()1762 XSym->setContainingCsect(Csect); in getMCSymbolForTOCPseudoMO()1765 return XSym->getContainingCsect()->getQualNameSymbol(); in getMCSymbolForTOCPseudoMO()1775 .getXCOFFSection(XSym->getName(), XCOFF::XMC_DS, XCOFF::XTY_SD, in getMCSymbolForTOCPseudoMO()