reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/MC/MCContext.h
  364     MCSymbol *getOrCreateSymbol(const Twine &Name);

References

lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  582         OutContext.getOrCreateSymbol(GVSym->getName() + Twine("$tlv$init"));
 1536         OutContext.getOrCreateSymbol(StringRef("__morestack_addr"));
 1666         OutContext.getOrCreateSymbol("." + CurrentFnDescSym->getName());
 2810   return OutContext.getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) +
 2824   return OutContext.getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) +
 2838   return OutContext.getOrCreateSymbol(NameStr);
lib/CodeGen/AsmPrinter/EHStreamer.cpp
  433     Asm->OutContext.getOrCreateSymbol(Twine("GCC_except_table")+
lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
   67   MCSymbol *Sym = AP.OutContext.getOrCreateSymbol(TmpStr);
lib/CodeGen/AsmPrinter/WinException.cpp
  183   return Ctx.getOrCreateSymbol("?" + HandlerPrefix + "$" +
  277       MCSymbol *FuncInfoXData = Asm->OutContext.getOrCreateSymbol(
  671         Asm->OutContext.getOrCreateSymbol(Twine("$cppxdata$", FuncLinkageName));
  686     UnwindMapXData = Asm->OutContext.getOrCreateSymbol(
  690         Asm->OutContext.getOrCreateSymbol(Twine("$tryMap$", FuncLinkageName));
  693         Asm->OutContext.getOrCreateSymbol(Twine("$ip2state$", FuncLinkageName));
  784             Asm->OutContext.getOrCreateSymbol(Twine("$handlerMap$")
lib/CodeGen/CFGuardLongjmp.cpp
  111     MCSymbol *SjSymbol = MF.getContext().getOrCreateSymbol(SymbolName);
lib/CodeGen/FaultMaps.cpp
   62   OS.EmitLabel(OutContext.getOrCreateSymbol(Twine("__LLVM_FaultMaps")));
lib/CodeGen/MIRParser/MIParser.cpp
 3034   return MF.getContext().getOrCreateSymbol(Name);
lib/CodeGen/MachineBasicBlock.cpp
   65     CachedMCSymbol = Ctx.getOrCreateSymbol(Twine(Prefix) + "BB" +
lib/CodeGen/MachineFunction.cpp
  619   return Ctx.getOrCreateSymbol(Name);
  625   return Ctx.getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) +
lib/CodeGen/ModuloSchedule.cpp
 2019     MCSymbol *Sym = MF.getContext().getOrCreateSymbol(OS.str());
lib/CodeGen/SelectionDAG/FastISel.cpp
  899   MCSymbol *Sym = Ctx.getOrCreateSymbol(MangledName);
 1101   MCSymbol *Sym = Ctx.getOrCreateSymbol(MangledName);
lib/CodeGen/StackMaps.cpp
  567   OS.EmitLabel(OutContext.getOrCreateSymbol(Twine("__LLVM_StackMaps")));
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  307     Streamer.EmitLabel(C.getOrCreateSymbol(StringRef("OBJC_IMAGE_INFO")));
  360     return getContext().getOrCreateSymbol(StringRef("DW.ref.") +
  372       cast<MCSymbolELF>(getContext().getOrCreateSymbol(NameData));
  922                      getOrCreateSymbol(StringRef("L_OBJC_IMAGE_INFO")));
 1169   MCSymbol *Stub = Ctx.getOrCreateSymbol(Name);
 1475   Streamer.EmitLabel(C.getOrCreateSymbol(StringRef("OBJC_IMAGE_INFO")));
lib/MC/ELFObjectWriter.cpp
 1293         cast<MCSymbolELF>(Asm.getContext().getOrCreateSymbol(Prefix + Tail));
lib/MC/MCContext.cpp
  144   return getOrCreateSymbol(Twine(MAI->getPrivateGlobalPrefix()) + FuncName +
  149   return getOrCreateSymbol(Twine(MAI->getPrivateGlobalPrefix()) + FuncName +
  154   return getOrCreateSymbol(Twine(MAI->getPrivateGlobalPrefix()) + "__ehtable$" +
  273   auto Symbol = getOrCreateSymbol(Sym);
  391     GroupSym = cast<MCSymbolELF>(getOrCreateSymbol(Group));
  442     COMDATSymbol = getOrCreateSymbol(COMDATSymName);
  500     GroupSym = cast<MCSymbolWasm>(getOrCreateSymbol(Group));
lib/MC/MCDisassembler/MCExternalSymbolizer.cpp
   93       MCSymbol *Sym = Ctx.getOrCreateSymbol(Name);
  104       MCSymbol *Sym = Ctx.getOrCreateSymbol(Name);
lib/MC/MCExpr.cpp
  193   return create(Ctx.getOrCreateSymbol(Name), Kind, Ctx);
lib/MC/MCParser/AsmParser.cpp
 1163       Sym = getContext().getOrCreateSymbol(SymbolName);
 1837       Sym = getContext().getOrCreateSymbol(IDVal);
 3820   MCSymbol *FnStartSym = getContext().getOrCreateSymbol(FnStartName);
 3821   MCSymbol *FnEndSym = getContext().getOrCreateSymbol(FnEndName);
 3855   MCSymbol *FnStartSym = getContext().getOrCreateSymbol(FnStartName);
 3856   MCSymbol *FnEndSym = getContext().getOrCreateSymbol(FnEndName);
 3880     MCSymbol *GapStartSym = getContext().getOrCreateSymbol(GapStartName);
 3886     MCSymbol *GapEndSym = getContext().getOrCreateSymbol(GapEndName);
 4028   MCSymbol *ProcSym = getContext().getOrCreateSymbol(ProcName);
 4240   MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
 4861     MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
 4889   MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
 5739   MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
 6066     Sym = Parser.getContext().getOrCreateSymbol(Name);
lib/MC/MCParser/COFFAsmParser.cpp
  285       MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
  412   MCSymbol *Sym = getContext().getOrCreateSymbol(SymbolName);
  474   MCSymbol *Symbol = getContext().getOrCreateSymbol(SymbolID);
  501     MCSymbol *Symbol = getContext().getOrCreateSymbol(SymbolID);
  520   MCSymbol *Symbol = getContext().getOrCreateSymbol(SymbolID);
  535   MCSymbol *Symbol = getContext().getOrCreateSymbol(SymbolID);
  550   MCSymbol *Symbol = getContext().getOrCreateSymbol(SymbolID);
  613   MCSymbol *Symbol = getContext().getOrCreateSymbol(SymbolID);
  657   MCSymbol *handler = getContext().getOrCreateSymbol(SymbolID);
lib/MC/MCParser/DarwinAsmParser.cpp
  508   MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
  528   MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
  566   MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
  640   MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
  836   MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
  921   MCSymbol *Sym = getContext().getOrCreateSymbol(IDStr);
lib/MC/MCParser/ELFAsmParser.cpp
  185       MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
  221   MCSymbolELF *Sym = cast<MCSymbolELF>(getContext().getOrCreateSymbol(Name));
  692   MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
  781   MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
  828   MCSymbol *Alias = getContext().getOrCreateSymbol(AliasName);
  830   MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
  881   MCSymbol *FromSym = getContext().getOrCreateSymbol(From);
  882   MCSymbol *ToSym = getContext().getOrCreateSymbol(To);
lib/MC/MCParser/WasmAsmParser.cpp
  162     auto Sym = getContext().getOrCreateSymbol(Name);
  183                      getStreamer().getContext().getOrCreateSymbol(
  234         MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
lib/MC/MCStreamer.cpp
  252         Context.getOrCreateSymbol(Prefix + "line_table_start" + Twine(CUID)));
lib/Object/RecordStreamer.cpp
  220       MCSymbol *Alias = getContext().getOrCreateSymbol(AliasName);
lib/Target/AArch64/AArch64AsmPrinter.cpp
  255     Sym = OutContext.getOrCreateSymbol(SymName);
  273       OutContext.getOrCreateSymbol("__hwasan_tag_mismatch");
  275       OutContext.getOrCreateSymbol("__hwasan_tag_mismatch_v2");
  491     return OutContext.getOrCreateSymbol(
lib/Target/AArch64/AArch64MCInstLower.cpp
   59   MCSymbol *MCSym = Ctx.getOrCreateSymbol(Name);
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
 5303   MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
 5350     Args.push_back(getContext().getOrCreateSymbol(Name));
lib/Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp
  171       MCSymbol *Sym = Ctx.getOrCreateSymbol(Name);
  186       MCSymbol *Sym = Ctx.getOrCreateSymbol(Name);
lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
  171     auto *Symbol = cast<MCSymbolELF>(getContext().getOrCreateSymbol(
lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
  152     MCSymbol *Sym = Ctx.getOrCreateSymbol(SymbolName);
  164     MCSymbol *Sym = Ctx.getOrCreateSymbol(StringRef(MO.getSymbolName()));
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
  962         MCSymbol * const Sym = Ctx->getOrCreateSymbol(Twine(".kernel.sgpr_count"));
  972         MCSymbol * const Sym = Ctx->getOrCreateSymbol(Twine(".kernel.vgpr_count"));
 1125             Ctx.getOrCreateSymbol(Twine(".amdgcn.gfx_generation_number"));
 1127         Sym = Ctx.getOrCreateSymbol(Twine(".amdgcn.gfx_generation_minor"));
 1129         Sym = Ctx.getOrCreateSymbol(Twine(".amdgcn.gfx_generation_stepping"));
 1133             Ctx.getOrCreateSymbol(Twine(".option.machine_version_major"));
 1135         Sym = Ctx.getOrCreateSymbol(Twine(".option.machine_version_minor"));
 1137         Sym = Ctx.getOrCreateSymbol(Twine(".option.machine_version_stepping"));
 2283   MCSymbol *Sym = getContext().getOrCreateSymbol(*SymbolName);
 2297   MCSymbol *Sym = getContext().getOrCreateSymbol(*SymbolName);
 4255   MCSymbol *Symbol = getContext().getOrCreateSymbol(Name);
lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
 1232     auto *Sym = Ctx.getOrCreateSymbol(std::get<1>(*Result));
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
  504       getStreamer().getContext().getOrCreateSymbol(SymbolName));
  620       Context.getOrCreateSymbol(Twine(KernelName)));
  622       Context.getOrCreateSymbol(Twine(KernelName) + Twine(".kd")));
lib/Target/ARM/ARMAsmPrinter.cpp
  246   return OutContext.getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) +
  259   return OutContext.getOrCreateSymbol(Name);
  768   MCSymbol *Label = Ctx.getOrCreateSymbol(Twine(Prefix)
  776   MCSymbol *Label = Ctx.getOrCreateSymbol(Twine(Prefix)
  839     MCSymbol *MCSym = OutContext.getOrCreateSymbol(Name);
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
10643       MCSymbol *Func = getParser().getContext().getOrCreateSymbol(
11034   MCSymbol *PR = getParser().getContext().getOrCreateSymbol(Name);
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
  647     auto *Symbol = cast<MCSymbolELF>(getContext().getOrCreateSymbol(
  658     auto *Symbol = cast<MCSymbolELF>(getContext().getOrCreateSymbol(
 1317   const MCSymbol *PersonalitySym = getContext().getOrCreateSymbol(Name);
lib/Target/AVR/AsmParser/AVRAsmParser.cpp
  652     MCSymbol *Symbol = getContext().getOrCreateSymbol(".text");
  670         getContext().getOrCreateSymbol(Parser.getTok().getString());
lib/Target/AVR/MCTargetDesc/AVRTargetStreamer.cpp
   28   MCSymbol *DoCopyData = Context.getOrCreateSymbol("__do_copy_data");
   29   MCSymbol *DoClearBss = Context.getOrCreateSymbol("__do_clear_bss");
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
  738   MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
 1496         Sym = getContext().getOrCreateSymbol(StringRef(myCharStr.c_str() + 16));
 1515         Sym = getContext().getOrCreateSymbol(DotConst +
lib/Target/Hexagon/HexagonAsmPrinter.cpp
  207     Sym = AP.OutContext.getOrCreateSymbol(Twine(symbolName));
  235     Sym = AP.OutContext.getOrCreateSymbol(Twine(LitaName));
lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp
  766   MCSymbol *Sym = getContext().getOrCreateSymbol(Identifier);
lib/Target/Lanai/LanaiMCInstLower.cpp
   53   return Ctx.getOrCreateSymbol(Name.str());
   63   return Ctx.getOrCreateSymbol(Name.str());
lib/Target/MSP430/AsmParser/MSP430AsmParser.cpp
  416     MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
lib/Target/MSP430/MSP430MCInstLower.cpp
   64   return Ctx.getOrCreateSymbol(Name);
   81   return Ctx.getOrCreateSymbol(Name);
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
 6026     MCSymbol *Sym = getContext().getOrCreateSymbol("$" + Identifier);
 7095     getContext().getOrCreateSymbol(Name);
 8247     MCSymbol *Sym = getContext().getOrCreateSymbol(SymbolName);
lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
 1024   MCSymbol *Sym = Context.getOrCreateSymbol(Name);
 1165   MCSymbol *GP_Disp = MCA.getContext().getOrCreateSymbol(SymName);
 1252     MCSymbol *GPSym = MCA.getContext().getOrCreateSymbol("__gnu_local_gp");
lib/Target/Mips/MipsAsmPrinter.cpp
  974   MCSymbol *MSymbol = OutContext.getOrCreateSymbol(StringRef(Symbol));
 1066       cast<MCSymbolELF>(OutContext.getOrCreateSymbol(StringRef(x)));
 1069       OutContext.getOrCreateSymbol("__call_stub_fp_" + Twine(Symbol));
lib/Target/Mips/MipsFastISel.cpp
 1581       MIB.addSym(FuncInfo.MF->getContext().getOrCreateSymbol(
lib/Target/Mips/MipsISelLowering.cpp
 3007       MCSymbol *S = MF->getContext().getOrCreateSymbol(Sym);
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  209   MCOp = GetSymbolRef(OutContext.getOrCreateSymbol(StringRef(*SymNamePtr)));
  218       OutContext.getOrCreateSymbol(Twine(MO.getSymbolName()))));
  506     return OutContext.getOrCreateSymbol(Str);
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
 1770   MCSymbolELF *Sym = cast<MCSymbolELF>(getContext().getOrCreateSymbol(Name));
lib/Target/PowerPC/PPCAsmPrinter.cpp
  480   MCSymbol *TlsGetAddr = OutContext.getOrCreateSymbol(Name);
  588       OutContext.getOrCreateSymbol(StringRef("_GLOBAL_OFFSET_TABLE_"));
  630       MCSymbol *BaseSymbol = OutContext.getOrCreateSymbol(
  726         OutContext.getOrCreateSymbol(Twine(".LTOC")), OutContext);
  956     MCSymbol *GOTSymbol = OutContext.getOrCreateSymbol(StringRef("_GLOBAL_OFFSET_TABLE_"));
  985         OutContext.getOrCreateSymbol(StringRef("_GLOBAL_OFFSET_TABLE_"));
 1217                            OutContext.getOrCreateSymbol("__xray_FunctionEntry"),
 1303                            OutContext.getOrCreateSymbol("__xray_FunctionExit"),
 1341   MCSymbol *TOCSym = OutContext.getOrCreateSymbol(Twine(".LTOC"));
 1374           MCSymbolRefExpr::create(OutContext.getOrCreateSymbol(Twine(".LTOC")),
 1395       MCSymbol *TOCSymbol = OutContext.getOrCreateSymbol(StringRef(".TOC."));
 1421   MCSymbol *Symbol2 = OutContext.getOrCreateSymbol(StringRef(".TOC."));
 1514       MCSymbol *TOCSymbol = OutContext.getOrCreateSymbol(StringRef(".TOC."));
 1800   MCSymbol *TOCBaseSym = OutContext.getOrCreateSymbol(StringRef("TOC[TC0]"));
 1816   MCSymbol *TOCBaseSym = OutContext.getOrCreateSymbol(StringRef("TOC[TC0]"));
lib/Target/PowerPC/PPCISelLowering.cpp
 5315     MCSymbol *S = Context.getOrCreateSymbol(Twine(".") +
lib/Target/PowerPC/PPCMCInstLower.cpp
   60   MCSymbol *Sym = Ctx.getOrCreateSymbol(Name);
lib/Target/PowerPC/PPCMachineFunctionInfo.cpp
   20   return MF.getContext().getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) +
   27   return MF.getContext().getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) +
   34   return MF.getContext().getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) +
   41   return MF.getContext().getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) +
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
 1183   MCSymbol *Sym = getContext().getOrCreateSymbol(Identifier);
 1236   MCSymbol *Sym = getContext().getOrCreateSymbol(Identifier);
lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
  940       MCSymbol *Sym = getContext().getOrCreateSymbol(Identifier);
lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp
  205     MCSymbol *Symbol = Asm.getContext().getOrCreateSymbol("__tls_get_addr");
lib/Target/Sparc/SparcAsmPrinter.cpp
  173     OutContext.getOrCreateSymbol(Twine("_GLOBAL_OFFSET_TABLE_"));
lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
 1356     Sym = MCSymbolRefExpr::create(Ctx.getOrCreateSymbol(Identifier),
lib/Target/SystemZ/SystemZAsmPrinter.cpp
   71   return MCSymbolRefExpr::create(Context.getOrCreateSymbol(Name),
   78   return MCSymbolRefExpr::create(Context.getOrCreateSymbol(Name),
  562   MCSymbol *fentry = Ctx.getOrCreateSymbol("__fentry__");
lib/Target/TargetLoweringObjectFile.cpp
  124   return Ctx->getOrCreateSymbol(NameStr);
lib/Target/TargetMachine.cpp
  264   return TLOF->getContext().getOrCreateSymbol(NameStr);
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
  677       auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName));
  695       auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName));
  719       auto WasmSym = cast<MCSymbolWasm>(Ctx.getOrCreateSymbol(SymName));
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
 1223     MCSymbol *S = Context.getOrCreateSymbol(Twine("GCC_except_table") +
lib/Target/X86/AsmParser/X86AsmParser.cpp
 1662   MCSymbol *Sym = getContext().getOrCreateSymbol(Identifier);
 2202       MCSymbol *Sym = this->getContext().getOrCreateSymbol(Id);
 3685   MCSymbol *ProcSym = getContext().getOrCreateSymbol(ProcName);
lib/Target/X86/X86AsmPrinter.cpp
  131       GVSym = OutContext.getOrCreateSymbol(Twine("__imp_") + GVSym->getName());
  134           OutContext.getOrCreateSymbol(Twine(".refptr.") + GVSym->getName());
  601     MCSymbol *S = MMI->getContext().getOrCreateSymbol(StringRef("@feat.00"));
  714       MCSymbol *S = MMI->getContext().getOrCreateSymbol(SymbolName);
lib/Target/X86/X86ISelLowering.cpp
23543     MCSymbol *S = Context.getOrCreateSymbol(Twine("GCC_except_table") +
lib/Target/X86/X86MCInstLower.cpp
  156     Sym = Ctx.getOrCreateSymbol(Name);
  926     const MCSymbol *TlsGetAddr = Ctx.getOrCreateSymbol("__tls_get_addr");
  967     const MCSymbol *TlsGetAddr = Ctx.getOrCreateSymbol("___tls_get_addr");
 1189   MCSymbol *fentry = Ctx.getOrCreateSymbol("__fentry__");
 1374   auto TSym = OutContext.getOrCreateSymbol("__xray_CustomEvent");
 1475   auto TSym = OutContext.getOrCreateSymbol("__xray_TypedEvent");
lib/Target/XCore/XCoreAsmPrinter.cpp
   94     MCSymbol *SymGlob = OutContext.getOrCreateSymbol(
unittests/CodeGen/MachineOperandTest.cpp
  322   MCSymbol *Sym = Ctx.getOrCreateSymbol("foo");