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

Declarations

include/llvm/MC/MCExpr.h
  333   static const MCSymbolRefExpr *create(const MCSymbol *Symbol, VariantKind Kind,

References

include/llvm/MC/MCExpr.h
  330     return MCSymbolRefExpr::create(Symbol, VK_None, Ctx);
lib/CodeGen/AsmPrinter/WinException.cpp
  301   return MCSymbolRefExpr::create(Value, useImageRel32
  315     return MCSymbolRefExpr::create(Label, MCSymbolRefExpr::VK_COFF_IMGREL32,
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  350         MCSymbolRefExpr::create(From, MCSymbolRefExpr::VK_None, C),
  351         MCSymbolRefExpr::create(To, MCSymbolRefExpr::VK_None, C), Count);
  819       MCSymbolRefExpr::create(TM.getSymbol(LHS), PLTRelativeVariantKind,
 1178     MCSymbolRefExpr::create(BaseSym, MCSymbolRefExpr::VK_None, Ctx);
 1180     MCSymbolRefExpr::create(Stub, MCSymbolRefExpr::VK_None, Ctx);
 1594   return MCSymbolRefExpr::create(TM.getSymbol(LHS),
 1799       MCSymbolRefExpr::create(TM.getSymbol(LHS), MCSymbolRefExpr::VK_None,
lib/MC/MCCodeView.cpp
  448   const MCExpr *BeginRef = MCSymbolRefExpr::create(Begin, Variant, Ctx),
  449                *EndRef = MCSymbolRefExpr::create(End, Variant, Ctx);
lib/MC/MCDwarf.cpp
  121     MCSymbolRefExpr::create(&End, Variant, MCOS.getContext());
  123     MCSymbolRefExpr::create(&Start, Variant, MCOS.getContext());
  139   const MCExpr *LHS = MCSymbolRefExpr::create(&Start, Variant, Ctx);
  909     const MCExpr *Addr = MCSymbolRefExpr::create(
 1002     const MCExpr *Start = MCSymbolRefExpr::create(
 1007     const MCExpr *End = MCSymbolRefExpr::create(
 1075     const MCExpr *AT_low_pc = MCSymbolRefExpr::create(Entry.getLabel(),
 1115     const MCExpr *SectionStartAddr = MCSymbolRefExpr::create(
lib/MC/MCELFStreamer.cpp
  165   const MCExpr *Value = MCSymbolRefExpr::create(
  478         MCSymbolRefExpr::create(S, SRE->getKind(), getContext(), SRE->getLoc());
lib/MC/MCExpr.cpp
  193   return create(Ctx.getOrCreateSymbol(Name), Kind, Ctx);
lib/MC/MCObjectStreamer.cpp
  411   const MCExpr *ARef = MCSymbolRefExpr::create(A, Variant, Context);
  412   const MCExpr *BRef = MCSymbolRefExpr::create(B, Variant, Context);
lib/MC/MCParser/AsmParser.cpp
 1104           Res = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None,
 1181     Res = MCSymbolRefExpr::create(Sym, Variant, getContext(), FirstTokenLoc);
 1207         Res = MCSymbolRefExpr::create(Sym, Variant, getContext());
 1230     Res = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, getContext());
 1329     return MCSymbolRefExpr::create(&SRE->getSymbol(), Variant, getContext());
lib/MC/MCParser/ELFAsmParser.cpp
  885       MCSymbolRefExpr::create(FromSym, MCSymbolRefExpr::VK_None, getContext(),
  887       MCSymbolRefExpr::create(ToSym, MCSymbolRefExpr::VK_None, getContext(),
lib/MC/MCWasmStreamer.cpp
   75   const MCExpr *Value = MCSymbolRefExpr::create(
lib/MC/MCWin64EH.cpp
  136   const MCSymbolRefExpr *BaseRefRel = MCSymbolRefExpr::create(Base,
  149   streamer.EmitValue(MCSymbolRefExpr::create(info->Symbol,
  214     streamer.EmitValue(MCSymbolRefExpr::create(info->ExceptionHandler,
  640         MCSymbolRefExpr::create(info->ExceptionHandler,
  651   streamer.EmitValue(MCSymbolRefExpr::create(info->Symbol,
lib/MC/MCWinCOFFStreamer.cpp
  251   const MCExpr *MCE = MCSymbolRefExpr::create(
lib/Target/AArch64/AArch64MCInstLower.cpp
  107   const MCExpr *Expr = MCSymbolRefExpr::create(Sym, RefKind, Ctx);
  179       MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, Ctx);
  228       MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, Ctx);
lib/Target/AArch64/AArch64TargetObjectFile.cpp
   44         MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOT, getContext());
   69       MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOT, getContext());
lib/Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp
  174         Add = MCSymbolRefExpr::create(Sym, Variant, Ctx);
lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
   61       MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOT, Context);
lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
  154       MCSymbolRefExpr::create(Sym, getVariantKind(MO.getTargetFlags()),Ctx);
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
  648       MCSymbolRefExpr::create(
  650       MCSymbolRefExpr::create(
lib/Target/ARC/ARCMCInstLower.cpp
   63   const MCSymbolRefExpr *MCSym = MCSymbolRefExpr::create(Symbol, Kind, *Ctx);
lib/Target/ARM/ARMAsmPrinter.cpp
   86   const MCExpr *E = MCSymbolRefExpr::create(GetARMGVSymbol(GV,
  911     MCSymbolRefExpr::create(MCSym, getModifierVariantKind(ACPV->getModifier()),
lib/Target/ARM/ARMMCInstLower.cpp
   45       MCSymbolRefExpr::create(Symbol, SymbolVariant, OutContext);
   53         MCSymbolRefExpr::create(Symbol, SymbolVariant, OutContext);
   58         MCSymbolRefExpr::create(Symbol, SymbolVariant, OutContext);
lib/Target/ARM/ARMTargetObjectFile.cpp
   65   return MCSymbolRefExpr::create(TM.getSymbol(GV),
   71   return MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_ARM_TLSLDO,
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
 8306       const MCExpr *InstPC = MCSymbolRefExpr::create(Dot,
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
 1276     MCSymbolRefExpr::create(FnStart,
 1287       MCSymbolRefExpr::create(ExTab,
 1319   const MCSymbolRefExpr *PersonalityRef = MCSymbolRefExpr::create(
 1367       MCSymbolRefExpr::create(Personality,
lib/Target/AVR/MCTargetDesc/AVRMCELFStreamer.cpp
   39   MCELFStreamer::EmitValue(MCSymbolRefExpr::create(Sym, Kind, getContext()),
lib/Target/AVR/MCTargetDesc/AVRMCExpr.cpp
   91     Sym = MCSymbolRefExpr::create(&Sym->getSymbol(), Modifier, Context);
lib/Target/Hexagon/HexagonMCInstLower.cpp
   85   ME = MCSymbolRefExpr::create(Symbol, RelocationType, MC);
lib/Target/Lanai/LanaiMCInstLower.cpp
   85       MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, Ctx);
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
 2055           MCSymbolRefExpr::create(JalSym, MCSymbolRefExpr::VK_None,
 3211         MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, getContext());
 3224         MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, getContext());
 3238           MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, getContext());
 3242           MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, getContext());
 3331       MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, getContext());
 3383       MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, getContext());
 3466       MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, getContext());
 6029         MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, getContext());
lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
 1026       MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, Context);
 1057       MCSymbolRefExpr::create(CurPCSym, MCSymbolRefExpr::VK_None, Context),
lib/Target/Mips/MipsAsmPrinter.cpp
 1207   const MCExpr *TargetExpr = MCSymbolRefExpr::create(
lib/Target/Mips/MipsMCInstLower.cpp
  161   const MCExpr *Expr = MCSymbolRefExpr::create(Symbol, Kind, *Ctx);
lib/Target/Mips/MipsTargetObjectFile.cpp
  191       MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, getContext());
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  326   Expr = MCSymbolRefExpr::create(Symbol, MCSymbolRefExpr::VK_None,
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
 1341     return MCSymbolRefExpr::create(&SRE->getSymbol(), Variant, Context);
lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp
  152     Sym = MCSymbolRefExpr::create(&Sym->getSymbol(), Modifier, Context);
lib/Target/PowerPC/PPCAsmPrinter.cpp
  497     MCSymbolRefExpr::create(TlsGetAddr, Kind, OutContext);
  507   const MCExpr *SymVar = MCSymbolRefExpr::create(MOSymbol, VK, OutContext);
  590       MCBinaryExpr::createSub(MCSymbolRefExpr::create(GOTSymbol,
  654         MCSymbolRefExpr::create(PICOffset, MCSymbolRefExpr::VK_None, OutContext);
  656         MCSymbolRefExpr::create(MF->getPICBaseSymbol(),
  697         MCSymbolRefExpr::create(MOSymbol, MCSymbolRefExpr::VK_GOT,
  709         MCSymbolRefExpr::create(TOCEntry, MCSymbolRefExpr::VK_None, OutContext);
  757         MCSymbolRefExpr::create(TOCEntry, VK, OutContext);
  785     const MCExpr *Exp = MCSymbolRefExpr::create(TOCEntry,
  815     const MCExpr *Exp = MCSymbolRefExpr::create(TOCEntry,
  850         MCSymbolRefExpr::create(MOSymbol, VK, OutContext);
  892         MCSymbolRefExpr::create(MOSymbol, VK, OutContext);
  914         MCSymbolRefExpr::create(getMCSymbolForTOCPseudoMO(MO, *this),
  928         MCSymbolRefExpr::create(MOSymbol, MCSymbolRefExpr::VK_PPC_GOT_TPREL_HA,
  946     const MCExpr *Exp = MCSymbolRefExpr::create(
  986     const MCExpr *SymGotTlsL = MCSymbolRefExpr::create(
  988     const MCExpr *SymGotTlsHA = MCSymbolRefExpr::create(
 1007       MCSymbolRefExpr::create(MOSymbol, MCSymbolRefExpr::VK_PPC_GOT_TLSGD_HA,
 1024     const MCExpr *SymGotTlsGD = MCSymbolRefExpr::create(
 1052       MCSymbolRefExpr::create(MOSymbol, MCSymbolRefExpr::VK_PPC_GOT_TLSLD_HA,
 1069     const MCExpr *SymGotTlsLD = MCSymbolRefExpr::create(
 1099       MCSymbolRefExpr::create(MOSymbol, MCSymbolRefExpr::VK_PPC_DTPREL_HA,
 1119       MCSymbolRefExpr::create(MOSymbol, MCSymbolRefExpr::VK_PPC_DTPREL_LO,
 1424     MCSymbolRefExpr::create(Symbol2, MCSymbolRefExpr::VK_PPC_TOCBASE, OutContext),
lib/Target/PowerPC/PPCMCInstLower.cpp
  116   const MCExpr *Expr = MCSymbolRefExpr::create(Symbol, RefKind, Ctx);
lib/Target/PowerPC/PPCTargetObjectFile.cpp
   53     MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_DTPREL, getContext());
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
 1193     Res = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, getContext());
 1237   Res = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, getContext());
lib/Target/RISCV/MCTargetDesc/RISCVMCAsmInfo.cpp
   44       MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, Ctx);
lib/Target/RISCV/RISCVMCInstLower.cpp
   78       MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, Ctx);
lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
  942       const MCExpr *Res = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None,
lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
 1317     const MCExpr *Base = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None,
 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),
  564       MCSymbolRefExpr::create(fentry, MCSymbolRefExpr::VK_PLT, Ctx);
  674     MCSymbolRefExpr::create(getSymbol(ZCPV->getGlobalValue()),
lib/Target/SystemZ/SystemZMCInstLower.cpp
   70   const MCExpr *Expr = MCSymbolRefExpr::create(Symbol, Kind, Ctx);
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
  520       const MCExpr *Expr = MCSymbolRefExpr::create(
lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
  236         const MCExpr *Expr = MCSymbolRefExpr::create(
lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
  146   const MCExpr *Expr = MCSymbolRefExpr::create(Sym, Kind, Ctx);
  177       MCSymbolRefExpr::create(WasmSym, MCSymbolRefExpr::VK_WASM_TYPEINDEX, Ctx);
lib/Target/X86/AsmParser/X86AsmParser.cpp
 1527               MCSymbolRefExpr::create(Sym, Variant, getContext());
 1664   Val = MCSymbolRefExpr::create(Sym, Variant, getParser().getContext());
lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
  117     MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, Context);
lib/Target/X86/MCTargetDesc/X86WinCOFFTargetStreamer.cpp
  406   OS.EmitValue(MCSymbolRefExpr::create(FPO->Function,
lib/Target/X86/X86ISelLowering.cpp
 2225   return MCSymbolRefExpr::create(MBB->getSymbol(),
lib/Target/X86/X86MCInstLower.cpp
  212     Expr = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_TLVP, Ctx);
  282     Expr = MCSymbolRefExpr::create(Sym, RefKind, Ctx);
  904   const MCSymbolRefExpr *Sym = MCSymbolRefExpr::create(
  934       const MCExpr *Expr = MCSymbolRefExpr::create(
  945               .addExpr(MCSymbolRefExpr::create(TlsGetAddr,
  970           MCSymbolRefExpr::create(TlsGetAddr, MCSymbolRefExpr::VK_GOT, Ctx);
  980               .addExpr(MCSymbolRefExpr::create(TlsGetAddr,
 1191       MCSymbolRefExpr::create(fentry, MCSymbolRefExpr::VK_None, Ctx);
lib/Target/X86/X86TargetObjectFile.cpp
   34       MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext());
   57     MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext());
   64   return MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_DTPOFF, getContext());
lib/Target/XCore/XCoreMCInstLower.cpp
   64   const MCSymbolRefExpr *MCSym = MCSymbolRefExpr::create(Symbol, Kind, *Ctx);