Home
last modified time | relevance | path

Searched refs:GVSym (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreAsmPrinter.cpp115 MCSymbol *GVSym = getSymbol(GV); in emitGlobalVariable() local
120 getTargetStreamer().emitCCTopData(GVSym->getName()); in emitGlobalVariable()
131 emitArrayBound(GVSym, GV); in emitGlobalVariable()
132 OutStreamer->emitSymbolAttribute(GVSym, MCSA_Global); in emitGlobalVariable()
136 OutStreamer->emitSymbolAttribute(GVSym, MCSA_Weak); in emitGlobalVariable()
152 OutStreamer->emitSymbolAttribute(GVSym, MCSA_ELF_TypeObject); in emitGlobalVariable()
153 OutStreamer->emitELFSize(GVSym, MCConstantExpr::create(Size, OutContext)); in emitGlobalVariable()
155 OutStreamer->emitLabel(GVSym); in emitGlobalVariable()
164 getTargetStreamer().emitCCBottomData(GVSym->getName()); in emitGlobalVariable()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86AsmPrinter.cpp212 MCSymbol *GVSym; in PrintSymbolOperand() local
215 GVSym = getSymbolWithGlobalValueBase(GV, "$non_lazy_ptr"); in PrintSymbolOperand()
217 GVSym = getSymbolPreferLocal(*GV); in PrintSymbolOperand()
221 GVSym = OutContext.getOrCreateSymbol(Twine("__imp_") + GVSym->getName()); in PrintSymbolOperand()
223 GVSym = in PrintSymbolOperand()
224 OutContext.getOrCreateSymbol(Twine(".refptr.") + GVSym->getName()); in PrintSymbolOperand()
238 if (GVSym->getName()[0] != '$') in PrintSymbolOperand()
239 GVSym->print(O, MAI); in PrintSymbolOperand()
242 GVSym->print(O, MAI); in PrintSymbolOperand()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp631 void AsmPrinter::emitLinkage(const GlobalValue *GV, MCSymbol *GVSym) const { in emitLinkage()
641 OutStreamer->emitSymbolAttribute(GVSym, MCSA_Global); in emitLinkage()
645 OutStreamer->emitSymbolAttribute(GVSym, MCSA_WeakDefinition); in emitLinkage()
647 OutStreamer->emitSymbolAttribute(GVSym, MCSA_WeakDefAutoPrivate); in emitLinkage()
650 OutStreamer->emitSymbolAttribute(GVSym, MCSA_Global); in emitLinkage()
654 OutStreamer->emitSymbolAttribute(GVSym, MCSA_Weak); in emitLinkage()
658 OutStreamer->emitSymbolAttribute(GVSym, MCSA_Global); in emitLinkage()
727 MCSymbol *GVSym = getSymbol(GV); in emitGlobalVariable() local
728 MCSymbol *EmittedSym = GVSym; in emitGlobalVariable()
748 GVSym->redefineIfPossible(); in emitGlobalVariable()
[all …]
H A DCodeViewDebug.cpp1042 void CodeViewDebug::switchToDebugSectionForSymbol(const MCSymbol *GVSym) { in switchToDebugSectionForSymbol()
1047 GVSym ? dyn_cast<MCSectionCOFF>(&GVSym->getSection()) : nullptr; in switchToDebugSectionForSymbol()
3320 MCSymbol *GVSym = Asm->getSymbol(GV);
3323 switchToDebugSectionForSymbol(GVSym); in emitGlobalVariableList()
3431 MCSymbol *GVSym = Asm->getSymbol(GV); in emitDebugInfoForGlobal()
3446 OS.emitCOFFSecRel32(GVSym, Offset);
3449 OS.emitCOFFSectionIndex(GVSym);
1038 switchToDebugSectionForSymbol(const MCSymbol * GVSym) switchToDebugSectionForSymbol() argument
3298 MCSymbol *GVSym = Asm->getSymbol(GV); emitDebugInfoForGlobals() local
3409 MCSymbol *GVSym = Asm->getSymbol(GV); emitDebugInfoForGlobal() local
H A DCodeViewDebug.h253 void switchToDebugSectionForSymbol(const MCSymbol *GVSym);
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAsmPrinter.cpp320 MCSymbol *GVSym = getSymbol(GV); in emitGlobalVariable() local
322 GVSym->redefineIfPossible(); in emitGlobalVariable()
323 if (GVSym->isDefined() || GVSym->isVariable()) in emitGlobalVariable()
324 report_fatal_error("symbol '" + Twine(GVSym->getName()) + in emitGlobalVariable()
331 emitVisibility(GVSym, GV->getVisibility(), !GV->isDeclaration()); in emitGlobalVariable()
332 emitLinkage(GV, GVSym); in emitGlobalVariable()
334 TS->emitAMDGPULDS(GVSym, Size, Alignment); in emitGlobalVariable()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMAsmPrinter.cpp935 MCSymbol *GVSym = getSymbol(GV); in emitMachineConstantPoolValue() local
936 OutStreamer->emitLabel(GVSym); in emitMachineConstantPoolValue()
1574 MCSymbol *GVSym = GetARMGVSymbol(GV, TF); in emitInstruction() local
1575 const MCExpr *GVSymExpr = MCSymbolRefExpr::create(GVSym, OutContext); in emitInstruction()
1591 MCSymbol *GVSym = GetARMGVSymbol(GV, TF); in emitInstruction() local
1592 const MCExpr *GVSymExpr = MCSymbolRefExpr::create(GVSym, OutContext); in emitInstruction()
1624 MCSymbol *GVSym = GetARMGVSymbol(GV, TF); in emitInstruction() local
1625 const MCExpr *GVSymExpr = MCSymbolRefExpr::create(GVSym, OutContext); in emitInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp295 void emitLinkage(const GlobalValue *GV, MCSymbol *GVSym) const override;
2230 MCSymbol *GVSym) const { in emitLinkage()
2291 OutStreamer->emitXCOFFSymbolLinkageWithVisibility(GVSym, LinkageAttr, in emitLinkage()
2790 MCSymbolXCOFF *GVSym = cast<MCSymbolXCOFF>(getSymbol(GV)); in emitGlobalVariableHelper() local
2793 emitLinkage(GV, GVSym); in emitGlobalVariableHelper()
2825 GVSym->setStorageClass( in emitGlobalVariableHelper()
2835 OutContext.getOrCreateSymbol(GVSym->getSymbolTableName()), Size, in emitGlobalVariableHelper()
2836 GVSym, Alignment); in emitGlobalVariableHelper()
2838 OutStreamer->emitCommonSymbol(GVSym, Size, Alignment); in emitGlobalVariableHelper()
2843 MCSymbol *EmittedInitSym = GVSym; in emitGlobalVariableHelper()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DAsmPrinter.h845 virtual void emitLinkage(const GlobalValue *GV, MCSymbol *GVSym) const;