Lines Matching refs:GVSym
289 void AsmPrinter::EmitLinkage(const GlobalValue *GV, MCSymbol *GVSym) const { in EmitLinkage()
299 OutStreamer.EmitSymbolAttribute(GVSym, MCSA_Global); in EmitLinkage()
303 OutStreamer.EmitSymbolAttribute(GVSym, MCSA_WeakDefinition); in EmitLinkage()
305 OutStreamer.EmitSymbolAttribute(GVSym, MCSA_WeakDefAutoPrivate); in EmitLinkage()
308 OutStreamer.EmitSymbolAttribute(GVSym, MCSA_Global); in EmitLinkage()
312 OutStreamer.EmitSymbolAttribute(GVSym, MCSA_Weak); in EmitLinkage()
321 OutStreamer.EmitSymbolAttribute(GVSym, MCSA_Global); in EmitLinkage()
362 MCSymbol *GVSym = getSymbol(GV); in EmitGlobalVariable() local
363 EmitVisibility(GVSym, GV->getVisibility(), !GV->isDeclaration()); in EmitGlobalVariable()
368 GVSym->redefineIfPossible(); in EmitGlobalVariable()
369 if (GVSym->isDefined() || GVSym->isVariable()) in EmitGlobalVariable()
370 report_fatal_error("symbol '" + Twine(GVSym->getName()) + in EmitGlobalVariable()
374 OutStreamer.EmitSymbolAttribute(GVSym, MCSA_ELF_TypeObject); in EmitGlobalVariable()
388 HI.Handler->setSymbolSize(GVSym, Size); in EmitGlobalVariable()
402 OutStreamer.EmitCommonSymbol(GVSym, Size, Align); in EmitGlobalVariable()
411 OutStreamer.EmitZerofill(TheSection, GVSym, Size, Align); in EmitGlobalVariable()
423 OutStreamer.EmitLocalCommonSymbol(GVSym, Size, Align); in EmitGlobalVariable()
431 OutStreamer.EmitSymbolAttribute(GVSym, MCSA_Local); in EmitGlobalVariable()
433 OutStreamer.EmitCommonSymbol(GVSym, Size, Align); in EmitGlobalVariable()
446 OutStreamer.EmitSymbolAttribute(GVSym, MCSA_Global); in EmitGlobalVariable()
448 OutStreamer.EmitZerofill(TheSection, GVSym, Size, 1 << AlignLog); in EmitGlobalVariable()
465 OutContext.GetOrCreateSymbol(GVSym->getName() + Twine("$tlv$init")); in EmitGlobalVariable()
487 EmitLinkage(GV, GVSym); in EmitGlobalVariable()
488 OutStreamer.EmitLabel(GVSym); in EmitGlobalVariable()
506 EmitLinkage(GV, GVSym); in EmitGlobalVariable()
509 OutStreamer.EmitLabel(GVSym); in EmitGlobalVariable()
515 OutStreamer.EmitELFSize(GVSym, MCConstantExpr::Create(Size, OutContext)); in EmitGlobalVariable()