/external/llvm-project/llvm/lib/Target/XCore/ |
D | XCoreAsmPrinter.cpp | 115 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
D | XCoreAsmPrinter.cpp | 116 MCSymbol *GVSym = getSymbol(GV); in EmitGlobalVariable() local 121 getTargetStreamer().emitCCTopData(GVSym->getName()); in EmitGlobalVariable() 132 emitArrayBound(GVSym, GV); in EmitGlobalVariable() 133 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Global); in EmitGlobalVariable() 137 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Weak); in EmitGlobalVariable() 153 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_ELF_TypeObject); in EmitGlobalVariable() 154 OutStreamer->emitELFSize(GVSym, MCConstantExpr::create(Size, OutContext)); in EmitGlobalVariable() 156 OutStreamer->EmitLabel(GVSym); in EmitGlobalVariable() 165 getTargetStreamer().emitCCBottomData(GVSym->getName()); in EmitGlobalVariable()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreAsmPrinter.cpp | 121 MCSymbol *GVSym = getSymbol(GV); in EmitGlobalVariable() local 126 getTargetStreamer().emitCCTopData(GVSym->getName()); in EmitGlobalVariable() 137 emitArrayBound(GVSym, GV); in EmitGlobalVariable() 138 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Global); in EmitGlobalVariable() 142 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Weak); in EmitGlobalVariable() 158 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_ELF_TypeObject); in EmitGlobalVariable() 159 OutStreamer->emitELFSize(cast<MCSymbolELF>(GVSym), in EmitGlobalVariable() 162 OutStreamer->EmitLabel(GVSym); in EmitGlobalVariable() 171 getTargetStreamer().emitCCBottomData(GVSym->getName()); in EmitGlobalVariable()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86AsmPrinter.cpp | 122 MCSymbol *GVSym; in PrintSymbolOperand() local 125 GVSym = getSymbolWithGlobalValueBase(GV, "$non_lazy_ptr"); in PrintSymbolOperand() 127 GVSym = getSymbol(GV); in PrintSymbolOperand() 131 GVSym = OutContext.getOrCreateSymbol(Twine("__imp_") + GVSym->getName()); in PrintSymbolOperand() 133 GVSym = in PrintSymbolOperand() 134 OutContext.getOrCreateSymbol(Twine(".refptr.") + GVSym->getName()); in PrintSymbolOperand() 148 if (GVSym->getName()[0] != '$') in PrintSymbolOperand() 149 GVSym->print(O, MAI); in PrintSymbolOperand() 152 GVSym->print(O, MAI); in PrintSymbolOperand()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86AsmPrinter.cpp | 125 MCSymbol *GVSym; in PrintSymbolOperand() local 128 GVSym = getSymbolWithGlobalValueBase(GV, "$non_lazy_ptr"); in PrintSymbolOperand() 130 GVSym = getSymbolPreferLocal(*GV); in PrintSymbolOperand() 134 GVSym = OutContext.getOrCreateSymbol(Twine("__imp_") + GVSym->getName()); in PrintSymbolOperand() 136 GVSym = in PrintSymbolOperand() 137 OutContext.getOrCreateSymbol(Twine(".refptr.") + GVSym->getName()); in PrintSymbolOperand() 151 if (GVSym->getName()[0] != '$') in PrintSymbolOperand() 152 GVSym->print(O, MAI); in PrintSymbolOperand() 155 GVSym->print(O, MAI); in PrintSymbolOperand()
|
/external/llvm/lib/Target/X86/ |
D | X86AsmPrinter.cpp | 93 MCSymbol *GVSym; in printSymbolOperand() local 96 GVSym = P.getSymbolWithGlobalValueBase(GV, "$non_lazy_ptr"); in printSymbolOperand() 98 GVSym = P.getSymbol(GV); in printSymbolOperand() 102 GVSym = in printSymbolOperand() 103 P.OutContext.getOrCreateSymbol(Twine("__imp_") + GVSym->getName()); in printSymbolOperand() 117 if (GVSym->getName()[0] != '$') in printSymbolOperand() 118 GVSym->print(O, P.MAI); in printSymbolOperand() 121 GVSym->print(O, P.MAI); in printSymbolOperand()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 300 void AsmPrinter::EmitLinkage(const GlobalValue *GV, MCSymbol *GVSym) const { in EmitLinkage() 310 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Global); in EmitLinkage() 314 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_WeakDefinition); in EmitLinkage() 316 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_WeakDefAutoPrivate); in EmitLinkage() 319 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Global); in EmitLinkage() 323 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Weak); in EmitLinkage() 328 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Global); in EmitLinkage() 380 MCSymbol *GVSym = getSymbol(GV); in EmitGlobalVariable() local 381 MCSymbol *EmittedSym = GVSym; in EmitGlobalVariable() 391 GVSym->redefineIfPossible(); in EmitGlobalVariable() [all …]
|
D | CodeViewDebug.h | 115 void switchToDebugSectionForSymbol(const MCSymbol *GVSym); 201 void emitDebugInfoForGlobal(const DIGlobalVariable *DIGV, MCSymbol *GVSym);
|
D | CodeViewDebug.cpp | 592 void CodeViewDebug::switchToDebugSectionForSymbol(const MCSymbol *GVSym) { in switchToDebugSectionForSymbol() argument 597 GVSym ? dyn_cast<MCSectionCOFF>(&GVSym->getSection()) : nullptr; in switchToDebugSectionForSymbol() 2015 MCSymbol *GVSym = Asm->getSymbol(GV); in emitDebugInfoForGlobals() local 2018 switchToDebugSectionForSymbol(GVSym); in emitDebugInfoForGlobals() 2020 emitDebugInfoForGlobal(G, GVSym); in emitDebugInfoForGlobals() 2041 MCSymbol *GVSym) { in emitDebugInfoForGlobal() argument 2070 OS.EmitCOFFSecRel32(GVSym); in emitDebugInfoForGlobal() 2072 OS.EmitCOFFSectionIndex(GVSym); in emitDebugInfoForGlobal()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 400 void AsmPrinter::EmitLinkage(const GlobalValue *GV, MCSymbol *GVSym) const { in EmitLinkage() 410 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Global); in EmitLinkage() 414 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_WeakDefinition); in EmitLinkage() 416 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_WeakDefAutoPrivate); in EmitLinkage() 419 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Global); in EmitLinkage() 423 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Weak); in EmitLinkage() 428 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Global); in EmitLinkage() 434 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_LGlobal); in EmitLinkage() 483 MCSymbol *GVSym = getSymbol(GV); in EmitGlobalVariable() local 484 MCSymbol *EmittedSym = GVSym; in EmitGlobalVariable() [all …]
|
D | CodeViewDebug.cpp | 921 void CodeViewDebug::switchToDebugSectionForSymbol(const MCSymbol *GVSym) { in switchToDebugSectionForSymbol() argument 926 GVSym ? dyn_cast<MCSectionCOFF>(&GVSym->getSection()) : nullptr; in switchToDebugSectionForSymbol() 3045 MCSymbol *GVSym = Asm->getSymbol(GV); in emitDebugInfoForGlobals() local 3048 switchToDebugSectionForSymbol(GVSym); in emitDebugInfoForGlobals() 3082 MCSymbol *GVSym = Asm->getSymbol(GV); in emitDebugInfoForGlobal() local 3092 OS.EmitCOFFSecRel32(GVSym, /*Offset=*/0); in emitDebugInfoForGlobal() 3094 OS.EmitCOFFSectionIndex(GVSym); in emitDebugInfoForGlobal()
|
D | CodeViewDebug.h | 216 void switchToDebugSectionForSymbol(const MCSymbol *GVSym);
|
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 414 void AsmPrinter::emitLinkage(const GlobalValue *GV, MCSymbol *GVSym) const { in emitLinkage() 424 OutStreamer->emitSymbolAttribute(GVSym, MCSA_Global); in emitLinkage() 428 OutStreamer->emitSymbolAttribute(GVSym, MCSA_WeakDefinition); in emitLinkage() 430 OutStreamer->emitSymbolAttribute(GVSym, MCSA_WeakDefAutoPrivate); in emitLinkage() 433 OutStreamer->emitSymbolAttribute(GVSym, MCSA_Global); in emitLinkage() 437 OutStreamer->emitSymbolAttribute(GVSym, MCSA_Weak); in emitLinkage() 441 OutStreamer->emitSymbolAttribute(GVSym, MCSA_Global); in emitLinkage() 512 MCSymbol *GVSym = getSymbol(GV); in emitGlobalVariable() local 513 MCSymbol *EmittedSym = GVSym; in emitGlobalVariable() 523 GVSym->redefineIfPossible(); in emitGlobalVariable() [all …]
|
D | CodeViewDebug.cpp | 932 void CodeViewDebug::switchToDebugSectionForSymbol(const MCSymbol *GVSym) { in switchToDebugSectionForSymbol() argument 937 GVSym ? dyn_cast<MCSectionCOFF>(&GVSym->getSection()) : nullptr; in switchToDebugSectionForSymbol() 3096 MCSymbol *GVSym = Asm->getSymbol(GV); in emitDebugInfoForGlobals() local 3099 switchToDebugSectionForSymbol(GVSym); in emitDebugInfoForGlobals() 3196 MCSymbol *GVSym = Asm->getSymbol(GV); in emitDebugInfoForGlobal() local 3206 OS.EmitCOFFSecRel32(GVSym, /*Offset=*/0); in emitDebugInfoForGlobal() 3208 OS.EmitCOFFSectionIndex(GVSym); in emitDebugInfoForGlobal()
|
D | CodeViewDebug.h | 219 void switchToDebugSectionForSymbol(const MCSymbol *GVSym);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAsmPrinter.cpp | 301 MCSymbol *GVSym = getSymbol(GV); in EmitGlobalVariable() local 303 GVSym->redefineIfPossible(); in EmitGlobalVariable() 304 if (GVSym->isDefined() || GVSym->isVariable()) in EmitGlobalVariable() 305 report_fatal_error("symbol '" + Twine(GVSym->getName()) + in EmitGlobalVariable() 314 EmitVisibility(GVSym, GV->getVisibility(), !GV->isDeclaration()); in EmitGlobalVariable() 315 EmitLinkage(GV, GVSym); in EmitGlobalVariable() 317 TS->emitAMDGPULDS(GVSym, Size, Align); in EmitGlobalVariable()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAsmPrinter.cpp | 313 MCSymbol *GVSym = getSymbol(GV); in emitGlobalVariable() local 315 GVSym->redefineIfPossible(); in emitGlobalVariable() 316 if (GVSym->isDefined() || GVSym->isVariable()) in emitGlobalVariable() 317 report_fatal_error("symbol '" + Twine(GVSym->getName()) + in emitGlobalVariable() 324 emitVisibility(GVSym, GV->getVisibility(), !GV->isDeclaration()); in emitGlobalVariable() 325 emitLinkage(GV, GVSym); in emitGlobalVariable() 327 TS->emitAMDGPULDS(GVSym, Size, Alignment); in emitGlobalVariable()
|
/external/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCAsmPrinter.cpp | 191 void emitLinkage(const GlobalValue *GV, MCSymbol *GVSym) const override; 1667 MCSymbol *GVSym) const { in emitLinkage() 1718 OutStreamer->emitXCOFFSymbolLinkageWithVisibility(GVSym, LinkageAttr, in emitLinkage() 1770 MCSymbolXCOFF *GVSym = cast<MCSymbolXCOFF>(getSymbol(GV)); in emitGlobalVariable() local 1773 emitLinkage(GV, GVSym); in emitGlobalVariable() 1794 GVSym->setStorageClass( in emitGlobalVariable() 1799 OutContext.getOrCreateSymbol(GVSym->getSymbolTableName()), Size, in emitGlobalVariable() 1800 GVSym, Alignment.value()); in emitGlobalVariable() 1802 OutStreamer->emitCommonSymbol(GVSym, Size, Alignment.value()); in emitGlobalVariable() 1806 MCSymbol *EmittedInitSym = GVSym; in emitGlobalVariable()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMAsmPrinter.cpp | 878 MCSymbol *GVSym = getSymbol(GV); in EmitMachineConstantPoolValue() local 879 OutStreamer->EmitLabel(GVSym); in EmitMachineConstantPoolValue() 1389 MCSymbol *GVSym = GetARMGVSymbol(GV, TF); in EmitInstruction() local 1390 const MCExpr *GVSymExpr = MCSymbolRefExpr::create(GVSym, OutContext); in EmitInstruction() 1406 MCSymbol *GVSym = GetARMGVSymbol(GV, TF); in EmitInstruction() local 1407 const MCExpr *GVSymExpr = MCSymbolRefExpr::create(GVSym, OutContext); in EmitInstruction() 1439 MCSymbol *GVSym = GetARMGVSymbol(GV, TF); in EmitInstruction() local 1440 const MCExpr *GVSymExpr = MCSymbolRefExpr::create(GVSym, OutContext); in EmitInstruction()
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMAsmPrinter.cpp | 896 MCSymbol *GVSym = getSymbol(GV); in emitMachineConstantPoolValue() local 897 OutStreamer->emitLabel(GVSym); in emitMachineConstantPoolValue() 1434 MCSymbol *GVSym = GetARMGVSymbol(GV, TF); in emitInstruction() local 1435 const MCExpr *GVSymExpr = MCSymbolRefExpr::create(GVSym, OutContext); in emitInstruction() 1451 MCSymbol *GVSym = GetARMGVSymbol(GV, TF); in emitInstruction() local 1452 const MCExpr *GVSymExpr = MCSymbolRefExpr::create(GVSym, OutContext); in emitInstruction() 1484 MCSymbol *GVSym = GetARMGVSymbol(GV, TF); in emitInstruction() local 1485 const MCExpr *GVSymExpr = MCSymbolRefExpr::create(GVSym, OutContext); in emitInstruction()
|
/external/llvm/lib/Target/ARM/ |
D | ARMAsmPrinter.cpp | 1414 MCSymbol *GVSym = GetARMGVSymbol(GV, TF); in EmitInstruction() local 1415 const MCExpr *GVSymExpr = MCSymbolRefExpr::create(GVSym, OutContext); in EmitInstruction() 1431 MCSymbol *GVSym = GetARMGVSymbol(GV, TF); in EmitInstruction() local 1432 const MCExpr *GVSymExpr = MCSymbolRefExpr::create(GVSym, OutContext); in EmitInstruction() 1464 MCSymbol *GVSym = GetARMGVSymbol(GV, TF); in EmitInstruction() local 1465 const MCExpr *GVSymExpr = MCSymbolRefExpr::create(GVSym, OutContext); in EmitInstruction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCAsmPrinter.cpp | 1634 MCSymbolXCOFF *GVSym = cast<MCSymbolXCOFF>(getSymbol(GV)); in EmitGlobalVariable() local 1635 GVSym->setStorageClass( in EmitGlobalVariable() 1648 GVSym->setContainingCsect(Csect); in EmitGlobalVariable() 1660 GVSym, Size, Csect->getQualNameSymbol(), Align); in EmitGlobalVariable() 1666 MCSymbol *EmittedInitSym = GVSym; in EmitGlobalVariable()
|
/external/llvm/include/llvm/CodeGen/ |
D | AsmPrinter.h | 542 void EmitLinkage(const GlobalValue *GV, MCSymbol *GVSym) const;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | AsmPrinter.h | 659 void EmitLinkage(const GlobalValue *GV, MCSymbol *GVSym) const;
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | AsmPrinter.h | 737 virtual void emitLinkage(const GlobalValue *GV, MCSymbol *GVSym) const;
|