Home
last modified time | relevance | path

Searched refs:XSym (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/llvm/lib/MC/
DXCOFFObjectWriter.cpp318 static MCSectionXCOFF *getContainingCsect(const MCSymbolXCOFF *XSym) { in getContainingCsect() argument
319 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() local
352 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 …]
DMCAsmStreamer.cpp808 MCSymbolXCOFF *XSym = cast<MCSymbolXCOFF>(CsectSym); in emitXCOFFLocalCommonSymbol() local
809 if (XSym->hasRename()) in emitXCOFFLocalCommonSymbol()
810 emitXCOFFRenameDirective(XSym, XSym->getSymbolTableName()); in emitXCOFFLocalCommonSymbol()
898 MCSymbolXCOFF *XSym = dyn_cast<MCSymbolXCOFF>(Symbol); in emitCommonSymbol() local
899 if (XSym && XSym->hasRename()) in emitCommonSymbol()
900 emitXCOFFRenameDirective(XSym, XSym->getSymbolTableName()); in emitCommonSymbol()
DMCContext.cpp353 MCSymbolXCOFF *XSym = new (&*NameEntry.first, *this) in createXCOFFSymbolImpl() local
355 XSym->setSymbolTableName(MCSymbolXCOFF::getUnqualifiedName(OriginalName)); in createXCOFFSymbolImpl()
356 return XSym; in createXCOFFSymbolImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DXCOFFObjectWriter.cpp321 const MCSymbolXCOFF *XSym = cast<MCSymbolXCOFF>(&S); in executePostLayoutBinding() local
322 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()
/external/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCTargetDesc.cpp124 if (const MCSymbolXCOFF *XSym = dyn_cast<MCSymbolXCOFF>(&S)) { in emitTCEntry() local
128 OS << "\t.tc " << TCSym->getName() << "," << XSym->getName() << '\n'; in emitTCEntry()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp1746 MCSymbolXCOFF *XSym = cast<MCSymbolXCOFF>(getSymbol(GO)); in getMCSymbolForTOCPseudoMO() local
1753 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()