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

Derived Classes

include/llvm/MC/MCSymbolCOFF.h
   17 class MCSymbolCOFF : public MCSymbol {
include/llvm/MC/MCSymbolELF.h
   14 class MCSymbolELF : public MCSymbol {
include/llvm/MC/MCSymbolMachO.h
   15 class MCSymbolMachO : public MCSymbol {
include/llvm/MC/MCSymbolWasm.h
   16 class MCSymbolWasm : public MCSymbol {
include/llvm/MC/MCSymbolXCOFF.h
   19 class MCSymbolXCOFF : public MCSymbol {

Declarations

include/llvm/CodeGen/AsmPrinter.h
   68 class MCSymbol;
include/llvm/CodeGen/AsmPrinterHandler.h
   25 class MCSymbol;
include/llvm/CodeGen/DIE.h
   44 class MCSymbol;
include/llvm/CodeGen/DwarfStringPoolEntry.h
   17 class MCSymbol;
include/llvm/CodeGen/FastISel.h
   53 class MCSymbol;
include/llvm/CodeGen/GCMetadata.h
   52 class MCSymbol;
include/llvm/CodeGen/MachineBasicBlock.h
   39 class MCSymbol;
include/llvm/CodeGen/MachineFunction.h
   66 class MCSymbol;
include/llvm/CodeGen/MachineModuleInfoImpls.h
   23 class MCSymbol;
include/llvm/CodeGen/MachineOperand.h
   41 class MCSymbol;
include/llvm/CodeGen/SelectionDAG.h
   72 class MCSymbol;
include/llvm/CodeGen/SelectionDAGNodes.h
   63 class MCSymbol;
include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
   29 class MCSymbol;
include/llvm/CodeGen/WinEHFuncInfo.h
   33 class MCSymbol;
include/llvm/MC/ConstantPools.h
   29 class MCSymbol;
include/llvm/MC/MCAsmInfo.h
   31 class MCSymbol;
include/llvm/MC/MCAsmLayout.h
   19 class MCSymbol;
include/llvm/MC/MCContext.h
   56   class MCSymbol;
include/llvm/MC/MCDwarf.h
   39 class MCSymbol;
include/llvm/MC/MCELFObjectWriter.h
   27 class MCSymbol;
include/llvm/MC/MCExpr.h
   26 class MCSymbol;
include/llvm/MC/MCFragment.h
   28 class MCSymbol;
include/llvm/MC/MCLinkerOptimizationHint.h
   30 class MCSymbol;
include/llvm/MC/MCObjectWriter.h
   27 class MCSymbol;
include/llvm/MC/MCParser/MCAsmParserUtils.h
   16 class MCSymbol;
include/llvm/MC/MCSection.h
   29 class MCSymbol;
include/llvm/MC/MCSectionCOFF.h
   23 class MCSymbol;
include/llvm/MC/MCSectionELF.h
   23 class MCSymbol;
include/llvm/MC/MCSectionWasm.h
   24 class MCSymbol;
include/llvm/MC/MCSectionXCOFF.h
   22 class MCSymbol;
include/llvm/MC/MCWin64EH.h
   22 class MCSymbol;
include/llvm/MC/MCWinCOFFStreamer.h
   23 class MCSymbol;
include/llvm/MC/MCWinEH.h
   18 class MCSymbol;
include/llvm/Target/TargetLoweringObjectFile.h
   32 class MCSymbol;
include/llvm/Target/TargetMachine.h
   35 class MCSymbol;
lib/CodeGen/AsmPrinter/AddressPool.h
   18 class MCSymbol;
lib/CodeGen/AsmPrinter/CodeViewDebug.h
   48 class MCSymbol;
lib/CodeGen/AsmPrinter/DebugLocStream.h
   22 class MCSymbol;
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
   40 class MCSymbol;
lib/CodeGen/AsmPrinter/DwarfDebug.h
   61 class MCSymbol;
lib/CodeGen/AsmPrinter/DwarfStringPool.h
   21 class MCSymbol;
lib/CodeGen/AsmPrinter/EHStreamer.h
   26 class MCSymbol;
lib/Target/AArch64/AArch64MCInstLower.h
   21 class MCSymbol;
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
   26 class MCSymbol;
lib/Target/ARM/ARMAsmPrinter.h
   22 class MCSymbol;
lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.h
   23 class MCSymbol;
lib/Target/AVR/AVRMCInstLower.h
   22 class MCSymbol;
lib/Target/BPF/BPFMCInstLower.h
   19 class MCSymbol;
lib/Target/BPF/BTFDebug.h
   28 class MCSymbol;
lib/Target/Lanai/LanaiMCInstLower.h
   19 class MCSymbol;
lib/Target/MSP430/MSP430MCInstLower.h
   19   class MCSymbol;
lib/Target/Mips/MipsAsmPrinter.h
   30 class MCSymbol;
lib/Target/PowerPC/PPCTargetStreamer.h
   18 class MCSymbol;
lib/Target/WebAssembly/WebAssemblyAsmPrinter.h
   19 class MCSymbol;
lib/Target/WebAssembly/WebAssemblyMCInstLower.h
   25 class MCSymbol;
lib/Target/X86/X86AsmPrinter.h
   26 class MCSymbol;

References

include/llvm/ADT/ArrayRef.h
  108         const ArrayRef<U *> &A,
  110            std::is_convertible<U *const *, T const *>::value>::type * = nullptr)
  118       const SmallVectorTemplateCommon<U *, DummyT> &Vec,
  120           std::is_convertible<U *const *, T const *>::value>::type * = nullptr)
  127     ArrayRef(const std::vector<U *, A> &Vec,
  129                  std::is_convertible<U *const *, T const *>::value>::type* = 0)
include/llvm/ADT/DenseMapInfo.h
   39   static inline T* getEmptyKey() {
   41     Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   45   static inline T* getTombstoneKey() {
   47     Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   51   static unsigned getHashValue(const T *PtrVal) {
   56   static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
   56   static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
include/llvm/CodeGen/AccelTable.h
  144     MCSymbol *Sym;
  295                              StringRef Prefix, const MCSymbol *SecBegin,
  303                          StringRef Prefix, const MCSymbol *SecBegin) {
  315     ArrayRef<MCSymbol *> CUs,
include/llvm/CodeGen/AsmPrinter.h
  113   MCSymbol *CurrentFnSym = nullptr;
  117   MCSymbol *CurrentFnDescSym = nullptr;
  122   MCSymbol *CurrentFnSymForSize = nullptr;
  127   MapVector<const MCSymbol *, GOTEquivUsePair> GlobalGOTEquivs;
  130   MCSymbol *CurrentFnBegin = nullptr;
  131   MCSymbol *CurrentFnEnd = nullptr;
  132   MCSymbol *CurExceptionSym = nullptr;
  211   virtual const MCSymbol *getFunctionFrameSymbol() const { return nullptr; }
  213   MCSymbol *getFunctionBegin() const { return CurrentFnBegin; }
  214   MCSymbol *getFunctionEnd() const { return CurrentFnEnd; }
  215   MCSymbol *getCurExceptionSym();
  240   MCSymbol *getSymbol(const GlobalValue *GV) const;
  261     const MCSymbol *Sled;
  262     const MCSymbol *Function;
  268     void emit(int, MCStreamer *, const MCSymbol *) const;
  278   void recordSled(MCSymbol *Sled, const MachineInstr &MI, SledKind Kind,
  418   virtual MCSymbol *GetCPISymbol(unsigned CPID) const;
  448   MCSymbol *createTempSymbol(const Twine &Name) const;
  452   MCSymbol *getSymbolWithGlobalValueBase(const GlobalValue *GV,
  456   MCSymbol *GetExternalSymbolSymbol(StringRef Sym) const;
  459   MCSymbol *GetJTISymbol(unsigned JTID, bool isLinkerPrivate = false) const;
  463   MCSymbol *GetJTSetSymbol(unsigned UID, unsigned MBBID) const;
  467   MCSymbol *GetBlockAddressSymbol(const BlockAddress *BA) const;
  468   MCSymbol *GetBlockAddressSymbol(const BasicBlock *BB) const;
  492   void EmitLabelDifference(const MCSymbol *Hi, const MCSymbol *Lo,
  492   void EmitLabelDifference(const MCSymbol *Hi, const MCSymbol *Lo,
  496   void EmitLabelDifferenceAsULEB128(const MCSymbol *Hi,
  497                                     const MCSymbol *Lo) const;
  502   void EmitLabelPlusOffset(const MCSymbol *Label, uint64_t Offset,
  507   void EmitLabelReference(const MCSymbol *Label, unsigned Size,
  513   void EmitDwarfOffset(const MCSymbol *Label, uint64_t Offset) const;
  539   void emitDwarfSymbolReference(const MCSymbol *Label,
  555   void EmitCallSiteOffset(const MCSymbol *Hi, const MCSymbol *Lo,
  555   void EmitCallSiteOffset(const MCSymbol *Hi, const MCSymbol *Lo,
  639   void EmitVisibility(MCSymbol *Sym, unsigned Visibility,
  644   void EmitLinkage(const GlobalValue *GV, MCSymbol *GVSym) const;
include/llvm/CodeGen/AsmPrinterHandler.h
   27 typedef MCSymbol *ExceptionSymbolProvider(AsmPrinter *Asm);
   37   virtual void setSymbolSize(const MCSymbol *Sym, uint64_t Size) = 0;
   62                             MCSymbol *Sym = nullptr) {}
include/llvm/CodeGen/DIE.h
  219   const MCSymbol *Label;
  222   explicit DIELabel(const MCSymbol *L) : Label(L) {}
  225   const MCSymbol *getValue() const { return Label; }
  256   const MCSymbol *LabelHi;
  257   const MCSymbol *LabelLo;
  260   DIEDelta(const MCSymbol *Hi, const MCSymbol *Lo) : LabelHi(Hi), LabelLo(Lo) {}
  260   DIEDelta(const MCSymbol *Hi, const MCSymbol *Lo) : LabelHi(Hi), LabelLo(Lo) {}
  877   virtual const MCSymbol *getCrossSectionRelativeBaseAddress() const {
include/llvm/CodeGen/DebugHandlerBase.h
   68   MCSymbol *PrevLabel = nullptr;
   90   DenseMap<const MachineInstr *, MCSymbol *> LabelsBeforeInsn;
   93   DenseMap<const MachineInstr *, MCSymbol *> LabelsAfterInsn;
  122   MCSymbol *getLabelBeforeInsn(const MachineInstr *MI);
  125   MCSymbol *getLabelAfterInsn(const MachineInstr *MI);
include/llvm/CodeGen/DwarfStringPoolEntry.h
   23   MCSymbol *Symbol;
   46   MCSymbol *getSymbol() const {
include/llvm/CodeGen/FastISel.h
   87     MCSymbol *Symbol = nullptr;
  127                                 MCSymbol *Target, ArgListTy &&ArgsList,
  167                                 MCSymbol *Target, ArgListTy &&ArgsList,
  509   bool lowerCallTo(const CallInst *CI, MCSymbol *Symbol, unsigned NumArgs);
include/llvm/CodeGen/FaultMaps.h
   39   void recordFaultingOp(FaultKind FaultTy, const MCSymbol *HandlerLabel);
   66     bool operator()(const MCSymbol *LHS, const MCSymbol *RHS) const {
   66     bool operator()(const MCSymbol *LHS, const MCSymbol *RHS) const {
   71   std::map<const MCSymbol *, FunctionFaultInfos, MCSymbolComparator>
   75   void emitFunctionInfo(const MCSymbol *FnLabel, const FunctionFaultInfos &FFI);
include/llvm/CodeGen/GCMetadata.h
   57   MCSymbol *Label;    ///< A label.
   60   GCPoint(MCSymbol *L, DebugLoc DL)
  125   void addSafePoint(MCSymbol *Label, const DebugLoc &DL) {
include/llvm/CodeGen/MachineBasicBlock.h
  134   mutable MCSymbol *CachedMCSymbol = nullptr;
  804   MCSymbol *getSymbol() const;
include/llvm/CodeGen/MachineFunction.h
  213   SmallVector<MCSymbol *, 1> BeginLabels;  // Labels prior to invoke.
  214   SmallVector<MCSymbol *, 1> EndLabels;    // Labels after invoke.
  216   MCSymbol *LandingPadLabel = nullptr;     // Label at beginning of landing pad.
  309   std::vector<MCSymbol *> LongjmpTargets;
  318   DenseMap<MCSymbol*, SmallVector<unsigned, 4>> LPadToCallSiteMap;
  324   DenseMap<MCSymbol*, unsigned> CallSiteMap;
  327   std::vector<std::pair<MCSymbol *, MDNode *>> CodeViewAnnotations;
  804       ArrayRef<MachineMemOperand *> MMOs, MCSymbol *PreInstrSymbol = nullptr,
  805       MCSymbol *PostInstrSymbol = nullptr, MDNode *HeapAllocMarker = nullptr);
  816   MCSymbol *getJTISymbol(unsigned JTI, MCContext &Ctx,
  821   MCSymbol *getPICBaseSymbol() const;
  835   const std::vector<MCSymbol *> &getLongjmpTargets() const {
  841   void addLongjmpTarget(MCSymbol *Target) { LongjmpTargets.push_back(Target); }
  862   void tidyLandingPads(DenseMap<MCSymbol *, uintptr_t> *LPMap = nullptr,
  873                  MCSymbol *BeginLabel, MCSymbol *EndLabel);
  873                  MCSymbol *BeginLabel, MCSymbol *EndLabel);
  878   MCSymbol *addLandingPad(MachineBasicBlock *LandingPad);
  904   void setCallSiteLandingPad(MCSymbol *Sym, ArrayRef<unsigned> Sites);
  923   SmallVectorImpl<unsigned> &getCallSiteLandingPad(MCSymbol *Sym) {
  930   bool hasCallSiteLandingPad(MCSymbol *Sym) {
  935   void setCallSiteBeginLabel(MCSymbol *BeginLabel, unsigned Site) {
  940   unsigned getCallSiteBeginLabel(MCSymbol *BeginLabel) const {
  947   bool hasCallSiteBeginLabel(MCSymbol *BeginLabel) const {
  952   void addCodeViewAnnotation(MCSymbol *Label, MDNode *MD) {
  956   ArrayRef<std::pair<MCSymbol *, MDNode *>> getCodeViewAnnotations() const {
include/llvm/CodeGen/MachineInstr.h
  139       : TrailingObjects<ExtraInfo, MachineMemOperand *, MCSymbol *, MDNode *> {
  143                              MCSymbol *PreInstrSymbol = nullptr,
  144                              MCSymbol *PostInstrSymbol = nullptr,
  150           totalSizeToAlloc<MachineMemOperand *, MCSymbol *, MDNode *>(
  162         Result->getTrailingObjects<MCSymbol *>()[0] = PreInstrSymbol;
  164         Result->getTrailingObjects<MCSymbol *>()[HasPreInstrSymbol] =
  176     MCSymbol *getPreInstrSymbol() const {
  177       return HasPreInstrSymbol ? getTrailingObjects<MCSymbol *>()[0] : nullptr;
  180     MCSymbol *getPostInstrSymbol() const {
  182                  ? getTrailingObjects<MCSymbol *>()[HasPreInstrSymbol]
  207     size_t numTrailingObjects(OverloadToken<MCSymbol *>) const {
  240                  PointerSumTypeMember<EIIK_PreInstrSymbol, MCSymbol *>,
  241                  PointerSumTypeMember<EIIK_PostInstrSymbol, MCSymbol *>,
  588   MCSymbol *getPreInstrSymbol() const {
  591     if (MCSymbol *S = Info.get<EIIK_PreInstrSymbol>())
  600   MCSymbol *getPostInstrSymbol() const {
  603     if (MCSymbol *S = Info.get<EIIK_PostInstrSymbol>())
 1613   void setPreInstrSymbol(MachineFunction &MF, MCSymbol *Symbol);
 1620   void setPostInstrSymbol(MachineFunction &MF, MCSymbol *Symbol);
 1696                     MCSymbol *PreInstrSymbol, MCSymbol *PostInstrSymbol,
 1696                     MCSymbol *PreInstrSymbol, MCSymbol *PostInstrSymbol,
include/llvm/CodeGen/MachineInstrBuilder.h
  258   const MachineInstrBuilder &addSym(MCSymbol *Sym,
include/llvm/CodeGen/MachineModuleInfo.h
   62   using StubValueTy = PointerIntPair<MCSymbol *, 1, bool>;
   63   using SymbolListTy = std::vector<std::pair<MCSymbol *, StubValueTy>>;
   70   static SymbolListTy getSortedStubs(DenseMap<MCSymbol*, StubValueTy>&);
  227   MCSymbol *getAddrLabelSymbol(const BasicBlock *BB) {
  234   ArrayRef<MCSymbol *> getAddrLabelSymbolToEmit(const BasicBlock *BB);
  241                                      std::vector<MCSymbol*> &Result);
include/llvm/CodeGen/MachineModuleInfoImpls.h
   31   DenseMap<MCSymbol *, StubValueTy> GVStubs;
   36   DenseMap<MCSymbol *, StubValueTy> ThreadLocalGVStubs;
   65   DenseMap<MCSymbol *, StubValueTy> GVStubs;
   87   DenseMap<MCSymbol *, StubValueTy> GVStubs;
include/llvm/CodeGen/MachineOperand.h
  173     MCSymbol *Sym;           // For MO_MCSymbol.
  259   static void printSymbol(raw_ostream &OS, MCSymbol &Sym);
  566   MCSymbol *getMCSymbol() const {
  736   void ChangeToMCSymbol(MCSymbol *Sym);
  887   static MachineOperand CreateMCSymbol(MCSymbol *Sym,
include/llvm/CodeGen/SelectionDAG.h
  680   SDValue getMCSymbol(MCSymbol *Sym, EVT VT);
  685   SDValue getEHLabel(const SDLoc &dl, SDValue Root, MCSymbol *Label);
  687                        MCSymbol *Label);
 1753   DenseMap<MCSymbol *, SDNode *> MCSymbols;
include/llvm/CodeGen/SelectionDAGNodes.h
 2109   MCSymbol *Label;
 2111   LabelSDNode(unsigned Opcode, unsigned Order, const DebugLoc &dl, MCSymbol *L)
 2117   MCSymbol *getLabel() const { return Label; }
 2149   MCSymbol *Symbol;
 2151   MCSymbolSDNode(MCSymbol *Symbol, EVT VT)
 2155   MCSymbol *getMCSymbol() const { return Symbol; }
include/llvm/CodeGen/StackMaps.h
  263   using FnInfoMap = MapVector<const MCSymbol *, FunctionInfo>;
include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
   51                             const MCSymbol *Sym) const override;
   80   MCSymbol *getCFIPersonalitySymbol(const GlobalValue *GV,
   86                                   const MCSymbol *KeySym) const override;
   88                                   const MCSymbol *KeySym) const override;
  125   MCSymbol *getCFIPersonalitySymbol(const GlobalValue *GV,
  131                                           const MCSymbol *Sym,
  163                                   const MCSymbol *KeySym) const override;
  165                                   const MCSymbol *KeySym) const override;
  202                                   const MCSymbol *KeySym) const override;
  204                                   const MCSymbol *KeySym) const override;
  225                                   const MCSymbol *KeySym) const override;
  227                                   const MCSymbol *KeySym) const override;
include/llvm/CodeGen/WinEHFuncInfo.h
   94   DenseMap<MCSymbol *, std::pair<int, MCSymbol *>> LabelToStateMap;
   94   DenseMap<MCSymbol *, std::pair<int, MCSymbol *>> LabelToStateMap;
  104   void addIPToStateRange(const InvokeInst *II, MCSymbol *InvokeBegin,
  105                          MCSymbol *InvokeEnd);
include/llvm/MC/ConstantPools.h
   33   ConstantPoolEntry(MCSymbol *L, const MCExpr *Val, unsigned Sz, SMLoc Loc_)
   36   MCSymbol *Label;
include/llvm/MC/MCAsmBackend.h
  184   virtual bool isMicroMips(const MCSymbol *Sym) const {
include/llvm/MC/MCAsmInfo.h
  449   virtual const MCExpr *getExprForPersonalitySymbol(const MCSymbol *Sym,
  453   virtual const MCExpr *getExprForFDESymbol(const MCSymbol *Sym,
include/llvm/MC/MCAsmLayout.h
   93   bool getSymbolOffset(const MCSymbol &S, uint64_t &Val) const;
   96   uint64_t getSymbolOffset(const MCSymbol &S) const;
   99   const MCSymbol *getBaseSymbol(const MCSymbol &Symbol) const;
   99   const MCSymbol *getBaseSymbol(const MCSymbol &Symbol) const;
include/llvm/MC/MCAssembler.h
   46   MCSymbol *Symbol;
   56   MCSymbol *Start;
   57   MCSymbol *End;
   65   using SymbolDataListType = std::vector<const MCSymbol *>;
  133   mutable SmallPtrSet<const MCSymbol *, 32> ThumbFuncs;
  213   std::vector<std::pair<StringRef, const MCSymbol *>> Symvers;
  235   const MCSymbol *getAtom(const MCSymbol &S) const;
  235   const MCSymbol *getAtom(const MCSymbol &S) const;
  241   bool isSymbolLinkerVisible(const MCSymbol &SD) const;
  248   bool isThumbFunc(const MCSymbol *Func) const;
  251   void setIsThumbFunc(const MCSymbol *Func) { ThumbFuncs.insert(Func); }
  440   void registerSymbol(const MCSymbol &Symbol, bool *Created = nullptr);
include/llvm/MC/MCCodeView.h
   32   const MCSymbol *Label = nullptr;
   42   MCCVLoc(const MCSymbol *Label, unsigned functionid, unsigned fileNum,
   51   const MCSymbol *getLabel() const { return Label; }
   67   void setLabel(const MCSymbol *L) { Label = L; }
  165   void recordCVLoc(MCContext &Ctx, const MCSymbol *Label, unsigned FunctionId,
  182                                 const MCSymbol *FuncBegin,
  183                                 const MCSymbol *FuncEnd);
  189                                       const MCSymbol *FnStartSym,
  190                                       const MCSymbol *FnEndSym);
  198                ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  198                ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  242     MCSymbol *ChecksumTableOffset;
include/llvm/MC/MCContext.h
   67     using SymbolTable = StringMap<MCSymbol *, BumpPtrAllocator &>;
  108     DenseMap<std::pair<unsigned, unsigned>, MCSymbol *> LocalSymbols;
  286     MCSymbol *createSymbolImpl(const StringMapEntry<bool> *Name,
  288     MCSymbol *createSymbol(StringRef Name, bool AlwaysAddSuffix,
  291     MCSymbol *getOrCreateDirectionalLocalSymbol(unsigned LocalLabelVal,
  343     MCSymbol *createLinkerPrivateTempSymbol();
  347     MCSymbol *createTempSymbol(bool CanBeUnnamed = true);
  349     MCSymbol *createTempSymbol(const Twine &Name, bool AlwaysAddSuffix,
  354     MCSymbol *createDirectionalLocalSymbol(unsigned LocalLabelVal);
  358     MCSymbol *getDirectionalLocalSymbol(unsigned LocalLabelVal, bool Before);
  364     MCSymbol *getOrCreateSymbol(const Twine &Name);
  370     MCSymbol *getOrCreateFrameAllocSymbol(StringRef FuncName, unsigned Idx);
  372     MCSymbol *getOrCreateParentFrameOffsetSymbol(StringRef FuncName);
  374     MCSymbol *getOrCreateLSDASymbol(StringRef FuncName);
  377     MCSymbol *lookupSymbol(const Twine &Name) const;
  390     MCSymbol *getInlineAsmLabel(StringRef Name) const {
  396     void registerInlineAsmLabel(MCSymbol *Sym);
  484     getAssociativeCOFFSection(MCSectionCOFF *Sec, const MCSymbol *KeySym,
include/llvm/MC/MCDwarf.h
  154   MCSymbol *Label;
  162   MCDwarfLineEntry(MCSymbol *label, const MCDwarfLoc loc)
  165   MCSymbol *getLabel() const { return Label; }
  214   MCSymbol *Label = nullptr;
  233   std::pair<MCSymbol *, MCSymbol *>
  233   std::pair<MCSymbol *, MCSymbol *>
  236   std::pair<MCSymbol *, MCSymbol *>
  236   std::pair<MCSymbol *, MCSymbol *>
  346   MCSymbol *getLabel() const {
  350   void setLabel(MCSymbol *Label) {
  416   MCSymbol *Label;
  420                        MCSymbol *label)
  427   MCSymbol *getLabel() const { return Label; }
  431   static void Make(MCSymbol *Symbol, MCStreamer *MCOS, SourceMgr &SrcMgr,
  458   MCSymbol *Label;
  466   MCCFIInstruction(OpType Op, MCSymbol *L, unsigned R, int O, StringRef V)
  472   MCCFIInstruction(OpType Op, MCSymbol *L, unsigned R1, unsigned R2)
  480   static MCCFIInstruction createDefCfa(MCSymbol *L, unsigned Register,
  487   static MCCFIInstruction createDefCfaRegister(MCSymbol *L, unsigned Register) {
  494   static MCCFIInstruction createDefCfaOffset(MCSymbol *L, int Offset) {
  501   static MCCFIInstruction createAdjustCfaOffset(MCSymbol *L, int Adjustment) {
  507   static MCCFIInstruction createOffset(MCSymbol *L, unsigned Register,
  515   static MCCFIInstruction createRelOffset(MCSymbol *L, unsigned Register,
  522   static MCCFIInstruction createRegister(MCSymbol *L, unsigned Register1,
  528   static MCCFIInstruction createWindowSave(MCSymbol *L) {
  533   static MCCFIInstruction createNegateRAState(MCSymbol *L) {
  540   static MCCFIInstruction createRestore(MCSymbol *L, unsigned Register) {
  546   static MCCFIInstruction createUndefined(MCSymbol *L, unsigned Register) {
  552   static MCCFIInstruction createSameValue(MCSymbol *L, unsigned Register) {
  557   static MCCFIInstruction createRememberState(MCSymbol *L) {
  562   static MCCFIInstruction createRestoreState(MCSymbol *L) {
  568   static MCCFIInstruction createEscape(MCSymbol *L, StringRef Vals) {
  573   static MCCFIInstruction createGnuArgsSize(MCSymbol *L, int Size) {
  578   MCSymbol *getLabel() const { return Label; }
  609   MCSymbol *Begin = nullptr;
  610   MCSymbol *End = nullptr;
  611   const MCSymbol *Personality = nullptr;
  612   const MCSymbol *Lsda = nullptr;
include/llvm/MC/MCELFObjectWriter.h
   90   virtual bool needsRelocateWithSymbol(const MCSymbol &Sym,
include/llvm/MC/MCELFStreamer.h
   43   void EmitLabel(MCSymbol *Symbol, SMLoc Loc = SMLoc()) override;
   44   void EmitLabel(MCSymbol *Symbol, SMLoc Loc, MCFragment *F) override;
   46   void EmitThumbFunc(MCSymbol *Func) override;
   47   void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol) override;
   47   void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol) override;
   48   bool EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) override;
   49   void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) override;
   50   void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
   53   void emitELFSize(MCSymbol *Symbol, const MCExpr *Value) override;
   55                               const MCSymbol *Aliasee) override;
   57   void EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
   60   void EmitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
   63   void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
include/llvm/MC/MCExpr.h
  320   const MCSymbol *Symbol;
  322   explicit MCSymbolRefExpr(const MCSymbol *Symbol, VariantKind Kind,
  329   static const MCSymbolRefExpr *create(const MCSymbol *Symbol, MCContext &Ctx) {
  333   static const MCSymbolRefExpr *create(const MCSymbol *Symbol, VariantKind Kind,
  342   const MCSymbol &getSymbol() const { return *Symbol; }
include/llvm/MC/MCFragment.h
   66   const MCSymbol *Atom;
  101   const MCSymbol *getAtom() const { return Atom; }
  102   void setAtom(const MCSymbol *Value) { Atom = Value; }
  572   const MCSymbol *Sym;
  575   MCSymbolIdFragment(const MCSymbol *Sym, MCSection *Sec = nullptr)
  581   const MCSymbol *getSymbol() { return Sym; }
  582   const MCSymbol *getSymbol() const { return Sym; }
  597   const MCSymbol *FnStartSym;
  598   const MCSymbol *FnEndSym;
  607                               unsigned StartLineNum, const MCSymbol *FnStartSym,
  608                               const MCSymbol *FnEndSym,
  617   const MCSymbol *getFnStartSym() const { return FnStartSym; }
  618   const MCSymbol *getFnEndSym() const { return FnEndSym; }
  632   SmallVector<std::pair<const MCSymbol *, const MCSymbol *>, 2> Ranges;
  632   SmallVector<std::pair<const MCSymbol *, const MCSymbol *>, 2> Ranges;
  641       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  641       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  649   ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> getRanges() const {
  649   ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> getRanges() const {
include/llvm/MC/MCLinkerOptimizationHint.h
  106   SmallVector<MCSymbol *, 3> Args;
  115   using LOHArgs = SmallVectorImpl<MCSymbol *>;
include/llvm/MC/MCMachObjectWriter.h
   84     const MCSymbol *Symbol;
   99     const MCSymbol *Sym;
  101     RelAndSymbol(const MCSymbol *Sym, const MachO::any_relocation_info &MRE)
  121   MachSymbolData *findSymbolData(const MCSymbol &Sym);
  133   const MCSymbol &findAliasedSymbol(const MCSymbol &Sym) const;
  133   const MCSymbol &findAliasedSymbol(const MCSymbol &Sym) const;
  152   uint64_t getSymbolAddress(const MCSymbol &S, const MCAsmLayout &Layout) const;
  159   bool doesSymbolRequireExternRelocation(const MCSymbol &S);
  227   void addRelocation(const MCSymbol *RelSymbol, const MCSection *Sec,
  262                                               const MCSymbol &A,
  263                                               const MCSymbol &B,
  267                                               const MCSymbol &SymA,
include/llvm/MC/MCObjectFileInfo.h
  172   mutable DenseMap<const MCSymbol *, unsigned> StackSizesUniquing;
include/llvm/MC/MCObjectStreamer.h
   40   SmallVector<MCSymbol *, 2> PendingLabels;
   42     const MCSymbol *Sym;
   45     PendingMCFixup(const MCSymbol *McSym, MCDataFragment *F, MCFixup McFixup)
   53   MCSymbol *EmitCFILabel() override;
   99   void visitUsedSymbol(const MCSymbol &Sym) override;
  109   void EmitLabel(MCSymbol *Symbol, SMLoc Loc = SMLoc()) override;
  110   virtual void EmitLabel(MCSymbol *Symbol, SMLoc Loc, MCFragment *F);
  111   void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) override;
  116   void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol) override;
  116   void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol) override;
  143   void EmitDwarfAdvanceLineAddr(int64_t LineDelta, const MCSymbol *LastLabel,
  144                                 const MCSymbol *Label,
  146   void EmitDwarfAdvanceFrameAddr(const MCSymbol *LastLabel,
  147                                  const MCSymbol *Label);
  151   void EmitCVLinetableDirective(unsigned FunctionId, const MCSymbol *Begin,
  152                                 const MCSymbol *End) override;
  156                                       const MCSymbol *FnStartSym,
  157                                       const MCSymbol *FnEndSym) override;
  159       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  159       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  181   void EmitAddrsigSym(const MCSymbol *Sym) override;
  194   void emitAbsoluteSymbolDiff(const MCSymbol *Hi, const MCSymbol *Lo,
  194   void emitAbsoluteSymbolDiff(const MCSymbol *Hi, const MCSymbol *Lo,
  197   void emitAbsoluteSymbolDiffAsULEB128(const MCSymbol *Hi,
  198                                        const MCSymbol *Lo) override;
include/llvm/MC/MCObjectWriter.h
   84                                                       const MCSymbol &A,
   85                                                       const MCSymbol &B,
   89                                                       const MCSymbol &SymA,
  101   virtual void addAddrsigSymbol(const MCSymbol *Sym) {}
include/llvm/MC/MCParser/MCAsmParserUtils.h
   26                                MCAsmParser &Parser, MCSymbol *&Symbol,
include/llvm/MC/MCParser/MCTargetAsmParser.h
  481   virtual void doBeforeLabelEmit(MCSymbol *Symbol) {}
  483   virtual void onLabelParsed(MCSymbol *Symbol) {}
include/llvm/MC/MCSection.h
   59   MCSymbol *Begin;
   60   MCSymbol *End = nullptr;
   99   MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin);
  110   MCSymbol *getBeginSymbol() { return Begin; }
  111   const MCSymbol *getBeginSymbol() const {
  114   void setBeginSymbol(MCSymbol *Sym) {
  118   MCSymbol *getEndSymbol(MCContext &Ctx);
include/llvm/MC/MCSectionCOFF.h
   46   MCSymbol *COMDATSymbol;
   55                 MCSymbol *COMDATSymbol, int Selection, SectionKind K,
   56                 MCSymbol *Begin)
   71   MCSymbol *getCOMDATSymbol() const { return COMDATSymbol; }
include/llvm/MC/MCSectionELF.h
   48   const MCSymbol *AssociatedSymbol;
   55                MCSymbol *Begin, const MCSymbolELF *AssociatedSymbol)
   87   const MCSymbol *getAssociatedSymbol() const { return AssociatedSymbol; }
include/llvm/MC/MCSectionMachO.h
   37                  unsigned reserved2, SectionKind K, MCSymbol *Begin);
include/llvm/MC/MCSectionWasm.h
   50                 unsigned UniqueID, MCSymbol *Begin)
include/llvm/MC/MCSectionXCOFF.h
   44                  MCSymbol *Begin)
include/llvm/MC/MCStreamer.h
  102   virtual void emitLabel(MCSymbol *Symbol);
  104   virtual void emitAssignment(MCSymbol *Symbol, const MCExpr *Value);
  138   virtual void emitPersonality(const MCSymbol *Personality);
  165   virtual void emitThumbSet(MCSymbol *Symbol, const MCExpr *Value);
  211   DenseMap<const MCSymbol *, unsigned> SymbolOrdering;
  248   virtual void visitUsedSymbol(const MCSymbol &Sym);
  271   virtual MCSymbol *EmitCFILabel();
  362   unsigned GetSymbolOrder(const MCSymbol *Sym) const {
  427   MCSymbol *endSection(MCSection *Section);
  433   void AssignFragment(MCSymbol *Symbol, MCFragment *Fragment);
  445   virtual void EmitLabel(MCSymbol *Symbol, SMLoc Loc = SMLoc());
  447   virtual void EmitEHSymAttributes(const MCSymbol *Symbol, MCSymbol *EHSymbol);
  447   virtual void EmitEHSymAttributes(const MCSymbol *Symbol, MCSymbol *EHSymbol);
  475   virtual void EmitThumbFunc(MCSymbol *Func);
  488   virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value);
  497   virtual void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol);
  497   virtual void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol);
  500   virtual bool EmitSymbolAttribute(MCSymbol *Symbol,
  507   virtual void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue);
  512   virtual void BeginCOFFSymbolDef(const MCSymbol *Symbol);
  527   virtual void EmitCOFFSafeSEH(MCSymbol const *Symbol);
  530   virtual void EmitCOFFSymbolIndex(MCSymbol const *Symbol);
  535   virtual void EmitCOFFSectionIndex(MCSymbol const *Symbol);
  540   virtual void EmitCOFFSecRel32(MCSymbol const *Symbol, uint64_t Offset);
  545   virtual void EmitCOFFImgRel32(MCSymbol const *Symbol, int64_t Offset);
  553   virtual void EmitXCOFFLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
  560   virtual void emitELFSize(MCSymbol *Symbol, const MCExpr *Value);
  569                                       const MCSymbol *Aliasee);
  581   virtual void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
  589   virtual void EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
  599   virtual void EmitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
  610   virtual void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
  667   void EmitSymbolValue(const MCSymbol *Sym, unsigned Size,
  863                                         const MCSymbol *FnStart,
  864                                         const MCSymbol *FnEnd);
  871                                               const MCSymbol *FnStartSym,
  872                                               const MCSymbol *FnEndSym);
  877       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  877       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  881       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  881       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  885       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  885       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  889       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  889       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  893       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  893       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  907   virtual void EmitCVFPOData(const MCSymbol *ProcSym, SMLoc Loc = {}) {}
  912   virtual void emitAbsoluteSymbolDiff(const MCSymbol *Hi, const MCSymbol *Lo,
  912   virtual void emitAbsoluteSymbolDiff(const MCSymbol *Hi, const MCSymbol *Lo,
  916   virtual void emitAbsoluteSymbolDiffAsULEB128(const MCSymbol *Hi,
  917                                                const MCSymbol *Lo);
  919   virtual MCSymbol *getDwarfLineTableSymbol(unsigned CUID);
  927   virtual void EmitCFIPersonality(const MCSymbol *Sym, unsigned Encoding);
  928   virtual void EmitCFILsda(const MCSymbol *Sym, unsigned Encoding);
  944   virtual void EmitWinCFIStartProc(const MCSymbol *Symbol, SMLoc Loc = SMLoc());
  963   virtual void EmitWinEHHandler(const MCSymbol *Sym, bool Unwind, bool Except,
  990   virtual void EmitAddrsigSym(const MCSymbol *Sym) {}
include/llvm/MC/MCSymbol.h
  200   MCSymbol(const MCSymbol &) = delete;
  201   MCSymbol &operator=(const MCSymbol &) = delete;
  201   MCSymbol &operator=(const MCSymbol &) = delete;
  434 inline raw_ostream &operator<<(raw_ostream &OS, const MCSymbol &Sym) {
include/llvm/MC/MCSymbolCOFF.h
   17 class MCSymbolCOFF : public MCSymbol {
   61   static bool classof(const MCSymbol *S) { return S->isCOFF(); }
include/llvm/MC/MCSymbolELF.h
   14 class MCSymbolELF : public MCSymbol {
   46   static bool classof(const MCSymbol *S) { return S->isELF(); }
include/llvm/MC/MCSymbolMachO.h
   15 class MCSymbolMachO : public MCSymbol {
  136   static bool classof(const MCSymbol *S) { return S->isMachO(); }
include/llvm/MC/MCSymbolWasm.h
   16 class MCSymbolWasm : public MCSymbol {
   37   static bool classof(const MCSymbol *S) { return S->isWasm(); }
include/llvm/MC/MCSymbolXCOFF.h
   19 class MCSymbolXCOFF : public MCSymbol {
   24   static bool classof(const MCSymbol *S) { return S->isXCOFF(); }
include/llvm/MC/MCWasmStreamer.h
   49   void EmitThumbFunc(MCSymbol *Func) override;
   50   void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol) override;
   50   void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol) override;
   51   bool EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) override;
   52   void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) override;
   53   void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
   56   void emitELFSize(MCSymbol *Symbol, const MCExpr *Value) override;
   58   void EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
   61   void EmitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
   64   void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
include/llvm/MC/MCWin64EH.h
   26   static WinEH::Instruction PushNonVol(MCSymbol *L, unsigned Reg) {
   29   static WinEH::Instruction Alloc(MCSymbol *L, unsigned Size) {
   33   static WinEH::Instruction PushMachFrame(MCSymbol *L, bool Code) {
   36   static WinEH::Instruction SaveNonVol(MCSymbol *L, unsigned Reg,
   42   static WinEH::Instruction SaveXMM(MCSymbol *L, unsigned Reg,
   48   static WinEH::Instruction SetFPReg(MCSymbol *L, unsigned Reg, unsigned Off) {
include/llvm/MC/MCWinCOFFStreamer.h
   43   void EmitLabel(MCSymbol *Symbol, SMLoc Loc = SMLoc()) override;
   45   void EmitThumbFunc(MCSymbol *Func) override;
   46   bool EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) override;
   47   void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) override;
   48   void BeginCOFFSymbolDef(MCSymbol const *Symbol) override;
   52   void EmitCOFFSafeSEH(MCSymbol const *Symbol) override;
   53   void EmitCOFFSymbolIndex(MCSymbol const *Symbol) override;
   54   void EmitCOFFSectionIndex(MCSymbol const *Symbol) override;
   55   void EmitCOFFSecRel32(MCSymbol const *Symbol, uint64_t Offset) override;
   56   void EmitCOFFImgRel32(MCSymbol const *Symbol, int64_t Offset) override;
   57   void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
   59   void EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
   61   void EmitZerofill(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
   63   void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
   72   const MCSymbol *CurSymbol;
include/llvm/MC/MCWinEH.h
   22   const MCSymbol *Label;
   27   Instruction(unsigned Op, MCSymbol *L, unsigned Reg, unsigned Off)
   32   const MCSymbol *Begin = nullptr;
   33   const MCSymbol *End = nullptr;
   34   const MCSymbol *FuncletOrFuncEnd = nullptr;
   35   const MCSymbol *ExceptionHandler = nullptr;
   36   const MCSymbol *Function = nullptr;
   37   const MCSymbol *PrologEnd = nullptr;
   38   const MCSymbol *Symbol = nullptr;
   47   MapVector<MCSymbol*, std::vector<Instruction>> EpilogMap;
   50   FrameInfo(const MCSymbol *Function, const MCSymbol *BeginFuncEHLabel)
   50   FrameInfo(const MCSymbol *Function, const MCSymbol *BeginFuncEHLabel)
   52   FrameInfo(const MCSymbol *Function, const MCSymbol *BeginFuncEHLabel,
   52   FrameInfo(const MCSymbol *Function, const MCSymbol *BeginFuncEHLabel,
include/llvm/MC/MCXCOFFStreamer.h
   22   bool EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) override;
   23   void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
   25   void EmitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
   29   void EmitXCOFFLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
include/llvm/Support/Casting.h
   34   using SimpleType = From; // The real type this represents...
   37   static SimpleType &getSimplifiedValue(From &Val) { return Val; }
   41   using NonConstSimpleType = typename simplify_type<From>::SimpleType;
   47   static RetType getSimplifiedValue(const From& Val) {
   57   static inline bool doit(const From &Val) {
   76   static inline bool doit(const From &Val) {
   77     return isa_impl<To, From>::doit(Val);
  104   static inline bool doit(const From *Val) {
  106     return isa_impl<To, From>::doit(*Val);
  141 template <class X, class Y> LLVM_NODISCARD inline bool isa(const Y &Val) {
  142   return isa_impl_wrap<X, const Y,
  143                        typename simplify_type<const Y>::SimpleType>::doit(Val);
  236       std::is_same<X, typename simplify_type<X>::SimpleType>::value;
  236       std::is_same<X, typename simplify_type<X>::SimpleType>::value;
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  266                           typename simplify_type<Y*>::SimpleType>::doit(Val);
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  367 dyn_cast_or_null(Y *Val) {
include/llvm/Support/PointerLikeTypeTraits.h
   56   static inline void *getAsVoidPointer(T *P) { return P; }
   57   static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
   59   enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
   91   typedef PointerLikeTypeTraits<T *> NonConst;
   93   static inline const void *getAsVoidPointer(const T *P) {
   96   static inline const T *getFromVoidPointer(const void *P) {
include/llvm/Support/type_traits.h
   55 struct add_const_past_pointer { using type = const T; };
include/llvm/Target/TargetLoweringObjectFile.h
   78                                     const MCSymbol *Sym) const;
  139   MCSymbol *getSymbolWithGlobalValueBase(const GlobalValue *GV,
  144   virtual MCSymbol *getCFIPersonalitySymbol(const GlobalValue *GV,
  157                                           const MCSymbol *KeySym) const {
  162                                           const MCSymbol *KeySym) const {
  168   virtual const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const;
  195                                                   const MCSymbol *Sym,
include/llvm/Target/TargetMachine.h
  317   MCSymbol *getSymbol(const GlobalValue *GV) const;
lib/CodeGen/AsmPrinter/ARMException.cpp
   77       MCSymbol *PerSym = Asm->getSymbol(Per);
   94                                  MCSymbol *TTBaseLabel) {
lib/CodeGen/AsmPrinter/AccelTable.cpp
  106   void emitOffsets(const MCSymbol *Base) const;
  162   const MCSymbol *SecBegin;
  169                         ArrayRef<Atom> Atoms, const MCSymbol *SecBegin)
  218   ArrayRef<MCSymbol *> CompUnits;
  220   MCSymbol *ContributionStart = Asm->createTempSymbol("names_start");
  221   MCSymbol *ContributionEnd = Asm->createTempSymbol("names_end");
  222   MCSymbol *AbbrevStart = Asm->createTempSymbol("names_abbrev_start");
  223   MCSymbol *AbbrevEnd = Asm->createTempSymbol("names_abbrev_end");
  224   MCSymbol *EntryPool = Asm->createTempSymbol("names_entries");
  241       ArrayRef<MCSymbol *> CompUnits,
  264 void AccelTableWriter::emitOffsets(const MCSymbol *Base) const {
  517     ArrayRef<MCSymbol *> CompUnits,
  545                                    StringRef Prefix, const MCSymbol *SecBegin,
  554   std::vector<MCSymbol *> CompUnits;
  586     ArrayRef<MCSymbol *> CUs,
lib/CodeGen/AsmPrinter/AddressPool.cpp
   19 unsigned AddressPool::getIndex(const MCSymbol *Sym, bool TLS) {
   26 MCSymbol *AddressPool::emitHeader(AsmPrinter &Asm, MCSection *Section) {
   29   MCSymbol *BeginLabel = Asm.createTempSymbol(Prefix + "start");
   30   MCSymbol *EndLabel = Asm.createTempSymbol(Prefix + "end");
   54   MCSymbol *EndLabel = nullptr;
lib/CodeGen/AsmPrinter/AddressPool.h
   30   DenseMap<const MCSymbol *, AddressPoolEntry> Pool;
   43   unsigned getIndex(const MCSymbol *Sym, bool TLS = false);
   53   MCSymbol *getLabel() { return AddressTableBaseSym; }
   54   void setLabel(MCSymbol *Sym) { AddressTableBaseSym = Sym; }
   57   MCSymbol *emitHeader(AsmPrinter &Asm, MCSection *Section);
   60   MCSymbol *AddressTableBaseSym = nullptr;
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  395 void AsmPrinter::EmitLinkage(const GlobalValue *GV, MCSymbol *GVSym) const {
  444 MCSymbol *AsmPrinter::getSymbol(const GlobalValue *GV) const {
  478   MCSymbol *GVSym = getSymbol(GV);
  479   MCSymbol *EmittedSym = GVSym;
  581     MCSymbol *MangSym =
  621   MCSymbol *EmittedInitSym = GVSym;
  692       MCSymbol *PrefixSym = OutContext.createLinkerPrivateTempSymbol();
  716   std::vector<MCSymbol*> DeadBlockSyms;
  725       MCSymbol *CurPos = OutContext.createTempSymbol();
  975   MCSymbol *FrameAllocSym = MI.getOperand(0).getMCSymbol();
 1000   const MCSymbol *FunctionSymbol = getFunctionBegin();
 1064       if (MCSymbol *S = MI.getPreInstrSymbol())
 1119       if (MCSymbol *S = MI.getPostInstrSymbol())
 1169     MCSymbol *Sym = GetBlockAddressSymbol(&BB);
 1276     const MCSymbol *GOTEquivSym = getSymbol(&G);
 1303   MCSymbol *Name = getSymbol(&GIS);
 1410     MCSymbol *Name = getSymbol(&F);
 1535     MCSymbol *AddrSymbol =
 1648 MCSymbol *AsmPrinter::getCurExceptionSym() {
 1755       MCSymbol *Sym = GetCPISymbol(CPI);
 1883     MCSymbol *MBBSym = MBB->getSymbol();
 1892     MCSymbol *MBBSym = MBB->getSymbol();
 2027     const MCSymbol *KeySym = nullptr;
 2115 void AsmPrinter::EmitLabelDifference(const MCSymbol *Hi, const MCSymbol *Lo,
 2115 void AsmPrinter::EmitLabelDifference(const MCSymbol *Hi, const MCSymbol *Lo,
 2123 void AsmPrinter::EmitLabelPlusOffset(const MCSymbol *Label, uint64_t Offset,
 2611   const MCSymbol *GOTEquivSym = &SymA->getSymbol();
 2620   const MCSymbol *BaseSym = AP.getSymbol(BaseGV);
 2658   const MCSymbol *FinalSym = AP.getSymbol(FinalGV);
 2776 MCSymbol *AsmPrinter::createTempSymbol(const Twine &Name) const {
 2780 MCSymbol *AsmPrinter::GetBlockAddressSymbol(const BlockAddress *BA) const {
 2784 MCSymbol *AsmPrinter::GetBlockAddressSymbol(const BasicBlock *BB) const {
 2789 MCSymbol *AsmPrinter::GetCPISymbol(unsigned CPID) const {
 2800         if (MCSymbol *Sym = S->getCOMDATSymbol()) {
 2816 MCSymbol *AsmPrinter::GetJTISymbol(unsigned JTID, bool isLinkerPrivate) const {
 2822 MCSymbol *AsmPrinter::GetJTSetSymbol(unsigned UID, unsigned MBBID) const {
 2829 MCSymbol *AsmPrinter::getSymbolWithGlobalValueBase(const GlobalValue *GV,
 2835 MCSymbol *AsmPrinter::GetExternalSymbolSymbol(StringRef Sym) const {
 2949       for (MCSymbol *Sym : MMI->getAddrLabelSymbolToEmit(BB))
 2989 void AsmPrinter::EmitVisibility(MCSymbol *Sym, unsigned Visibility,
 3107                                          const MCSymbol *CurrentFnSym) const {
 3159   MCSymbol *SledsStart = OutContext.createTempSymbol("xray_sleds_start", true);
 3164   MCSymbol *SledsEnd = OutContext.createTempSymbol("xray_sleds_end", true);
 3179 void AsmPrinter::recordSled(MCSymbol *Sled, const MachineInstr &MI,
lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
   54 void AsmPrinter::EmitLabelDifferenceAsULEB128(const MCSymbol *Hi,
   55                                               const MCSymbol *Lo) const {
  151 void AsmPrinter::emitDwarfSymbolReference(const MCSymbol *Label,
  182 void AsmPrinter::EmitDwarfOffset(const MCSymbol *Label, uint64_t Offset) const {
  186 void AsmPrinter::EmitCallSiteOffset(const MCSymbol *Hi,
  187                                     const MCSymbol *Lo,
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
  433               MCSymbol *Sym = AP->GetBlockAddressSymbol(BA);
  437               const MCSymbol *Sym = MI->getOperand(OpNo).getMBB()->getSymbol();
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  572   MCSymbol *CompilerInfo = beginCVSubsection(DebugSubsectionKind::Symbols);
  596     MCSymbol *SymbolsEnd = beginCVSubsection(DebugSubsectionKind::Symbols);
  766   MCSymbol *CompilerEnd = beginSymbolRecord(SymbolKind::S_COMPILE3);
  841   MCSymbol *BISubsecEnd = beginCVSubsection(DebugSubsectionKind::Symbols);
  842   MCSymbol *BIEnd = beginSymbolRecord(SymbolKind::S_BUILDINFO);
  854   MCSymbol *InlineEnd = beginCVSubsection(DebugSubsectionKind::InlineeLines);
  890   MCSymbol *InlineEnd = beginSymbolRecord(SymbolKind::S_INLINESITE);
  921 void CodeViewDebug::switchToDebugSectionForSymbol(const MCSymbol *GVSym) {
  927   const MCSymbol *KeySym = GVSec ? GVSec->getCOMDATSymbol() : nullptr;
  945                                           const MCSymbol *Fn) {
  950   MCSymbol *SymbolsEnd = beginCVSubsection(DebugSubsectionKind::Symbols);
  953   MCSymbol *ThunkRecordEnd = beginSymbolRecord(SymbolKind::S_THUNK32);
  986   const MCSymbol *Fn = Asm->getSymbol(GV);
 1017   MCSymbol *SymbolsEnd = beginCVSubsection(DebugSubsectionKind::Symbols);
 1021     MCSymbol *ProcRecordEnd = beginSymbolRecord(ProcKind);
 1052     MCSymbol *FrameProcEnd = beginSymbolRecord(SymbolKind::S_FRAMEPROC);
 1085       MCSymbol *Label = Annot.first;
 1087       MCSymbol *AnnotEnd = beginSymbolRecord(SymbolKind::S_ANNOTATION);
 1103       const MCSymbol *BeginLabel = std::get<0>(HeapAllocSite);
 1104       const MCSymbol *EndLabel = std::get<1>(HeapAllocSite);
 1106       MCSymbol *HeapAllocEnd = beginSymbolRecord(SymbolKind::S_HEAPALLOCSITE);
 1185       const MCSymbol *Begin = getLabelBeforeInsn(Range.first);
 1186       const MCSymbol *End = getLabelAfterInsn(Range.second);
 1273     const MCSymbol *Begin = getLabelBeforeInsn(Entry.getInstr());
 1274     const MCSymbol *End;
 1285     SmallVectorImpl<std::pair<const MCSymbol *, const MCSymbol *>> &R =
 1285     SmallVectorImpl<std::pair<const MCSymbol *, const MCSymbol *>> &R =
 2616   MCSymbol *LocalEnd = beginSymbolRecord(SymbolKind::S_LOCAL);
 2705   MCSymbol *RecordEnd = beginSymbolRecord(SymbolKind::S_BLOCK32);
 2914 MCSymbol *CodeViewDebug::beginCVSubsection(DebugSubsectionKind Kind) {
 2915   MCSymbol *BeginLabel = MMI->getContext().createTempSymbol(),
 2924 void CodeViewDebug::endCVSubsection(MCSymbol *EndLabel) {
 2937 MCSymbol *CodeViewDebug::beginSymbolRecord(SymbolKind SymKind) {
 2938   MCSymbol *BeginLabel = MMI->getContext().createTempSymbol(),
 2949 void CodeViewDebug::endSymbolRecord(MCSymbol *SymEnd) {
 2972     MCSymbol *UDTRecordEnd = beginSymbolRecord(SymbolKind::S_UDT);
 3036     MCSymbol *EndLabel = beginCVSubsection(DebugSubsectionKind::Symbols);
 3045     MCSymbol *GVSym = Asm->getSymbol(GV);
 3049     MCSymbol *EndLabel = beginCVSubsection(DebugSubsectionKind::Symbols);
 3082     MCSymbol *GVSym = Asm->getSymbol(GV);
 3088     MCSymbol *DataEnd = beginSymbolRecord(DataSym);
 3107     MCSymbol *SConstantEnd = beginSymbolRecord(SymbolKind::S_CONSTANT);
lib/CodeGen/AsmPrinter/CodeViewDebug.h
   90     SmallVector<std::pair<const MCSymbol *, const MCSymbol *>, 1> Ranges;
   90     SmallVector<std::pair<const MCSymbol *, const MCSymbol *>, 1> Ranges;
  122     const MCSymbol *Begin;
  123     const MCSymbol *End;
  150     std::vector<std::pair<MCSymbol *, MDNode *>> Annotations;
  151     std::vector<std::tuple<const MCSymbol *, const MCSymbol *, const DIType *>>
  151     std::vector<std::tuple<const MCSymbol *, const MCSymbol *, const DIType *>>
  154     const MCSymbol *Begin = nullptr;
  155     const MCSymbol *End = nullptr;
  216   void switchToDebugSectionForSymbol(const MCSymbol *GVSym);
  307                              const MCSymbol *Fn);
  323   MCSymbol *beginCVSubsection(codeview::DebugSubsectionKind Kind);
  324   void endCVSubsection(MCSymbol *EndLabel);
  328   MCSymbol *beginSymbolRecord(codeview::SymbolKind Kind);
  329   void endSymbolRecord(MCSymbol *SymEnd);
  458   void setSymbolSize(const MCSymbol *, uint64_t) override {}
lib/CodeGen/AsmPrinter/DIE.cpp
  648     if (const MCSymbol *SectionSym =
  812   MCSymbol *Label = DD->getDebugLocs().getList(Index).Label;
lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
  116 MCSymbol *DebugHandlerBase::getLabelBeforeInsn(const MachineInstr *MI) {
  117   MCSymbol *Label = LabelsBeforeInsn.lookup(MI);
  123 MCSymbol *DebugHandlerBase::getLabelAfterInsn(const MachineInstr *MI) {
  132   MCSymbol *Start = Asm->getFunctionBegin();
  135   MCSymbol *AfterInsn = getLabelAfterInsn(MI);
  287   DenseMap<const MachineInstr *, MCSymbol *>::iterator I =
  317   DenseMap<const MachineInstr *, MCSymbol *>::iterator I =
lib/CodeGen/AsmPrinter/DebugLocEntry.h
   94   const MCSymbol *Begin;
   95   const MCSymbol *End;
  105   DebugLocEntry(const MCSymbol *Begin, const MCSymbol *End,
  105   DebugLocEntry(const MCSymbol *Begin, const MCSymbol *End,
  124   const MCSymbol *getBeginSym() const { return Begin; }
  125   const MCSymbol *getEndSym() const { return End; }
lib/CodeGen/AsmPrinter/DebugLocStream.h
   35     MCSymbol *Label = nullptr;
   41     const MCSymbol *Begin;
   42     const MCSymbol *End;
   52   MCSymbol *Sym;
   63   MCSymbol *getSym() const {
   66   void setSym(MCSymbol *Sym) {
   98   void startEntry(const MCSymbol *BeginSym, const MCSymbol *EndSym) {
   98   void startEntry(const MCSymbol *BeginSym, const MCSymbol *EndSym) {
  182   EntryBuilder(ListBuilder &List, const MCSymbol *Begin, const MCSymbol *End)
  182   EntryBuilder(ListBuilder &List, const MCSymbol *Begin, const MCSymbol *End)
lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
   78     MCSymbol *Sym = Asm->getSymbol(Personality);
   83 static MCSymbol *getExceptionSym(AsmPrinter *Asm) {
  156   const MCSymbol *Sym = TLOF.getCFIPersonalitySymbol(P, Asm->TM, MMI);
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
   66                                        const MCSymbol *Label) {
   87                                             const MCSymbol *Label) {
  234       const MCSymbol *Sym = Asm->getSymbol(Global);
  343   MCSymbol *LineTableStartSym;
  366 void DwarfCompileUnit::attachLowHighPC(DIE &D, const MCSymbol *Begin,
  367                                        const MCSymbol *End) {
  490     const MCSymbol *RangeSectionSym =
  666     if (const MCSymbol *FrameSymbol = Asm->getFunctionFrameSymbol())
  944     const MCSymbol *PCAddr, const MCExpr *PCOffset, unsigned CallReg) {
 1063     if (const auto *Sym = Label->getSymbol())
 1289   MCSymbol *Label = DD->getAddressPool().getLabel();
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
   56   MCSymbol *LabelBegin;
   59   MCSymbol *MacroLabelBegin;
   77   const MCSymbol *BaseAddress = nullptr;
  153                        const MCSymbol *Label);
  158                             const MCSymbol *Label);
  178   void attachLowHighPC(DIE &D, const MCSymbol *Begin, const MCSymbol *End);
  178   void attachLowHighPC(DIE &D, const MCSymbol *Begin, const MCSymbol *End);
  251                                  bool IsTail, const MCSymbol *PCAddr,
  291   MCSymbol *getLabelBegin() const {
  296   MCSymbol *getMacroLabelBegin() const {
  352   void setBaseAddress(const MCSymbol *Base) { BaseAddress = Base; }
  353   const MCSymbol *getBaseAddress() const { return BaseAddress; }
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  754       const MCSymbol *PCAddr =
 1100         const MCSymbol *Sym = TLOF.getDwarfRangesSection()->getBeginSymbol();
 1405     const MCSymbol *StartLabel =
 1410     const MCSymbol *EndLabel;
 1489                                             const MCSymbol *Sym) {
 1612     MCSymbol *Sym = getLabelBeforeInsn(MI);
 2080   MCSymbol *BeginLabel = Asm->createTempSymbol("pub" + Name + "_begin");
 2081   MCSymbol *EndLabel = Asm->createTempSymbol("pub" + Name + "_end");
 2268                                       MCSymbol *TableStart,
 2269                                       MCSymbol *TableEnd) {
 2288 static MCSymbol *emitRnglistsTableHeader(AsmPrinter *Asm,
 2290   MCSymbol *TableStart = Asm->createTempSymbol("debug_rnglist_table_start");
 2291   MCSymbol *TableEnd = Asm->createTempSymbol("debug_rnglist_table_end");
 2308 static MCSymbol *emitLoclistsTableHeader(AsmPrinter *Asm,
 2310   MCSymbol *TableStart = Asm->createTempSymbol("debug_loclist_table_start");
 2311   MCSymbol *TableEnd = Asm->createTempSymbol("debug_loclist_table_end");
 2327     DwarfDebug &DD, AsmPrinter *Asm, MCSymbol *Sym, const Ranges &R,
 2347   const MCSymbol *CUBase = CU.getBaseAddress();
 2352       const MCSymbol *Begin = P.second.front()->Begin;
 2353       const MCSymbol *NewBase = DD.getSectionLabel(&Begin->getSection());
 2379       const MCSymbol *Begin = RS->Begin;
 2380       const MCSymbol *End = RS->End;
 2438   MCSymbol *TableEnd = nullptr;
 2480   const MCSymbol *Start, *End;
 2543     const MCSymbol *StartSym = List[0].Sym;
 2652                                 const DwarfFile &Holder, MCSymbol *TableEnd) {
 2677   MCSymbol *TableEnd = nullptr;
 2709   MCSymbol *TableEnd = emitRnglistsTableHeader(Asm, Holder);
 3036 const MCSymbol *DwarfDebug::getSectionLabel(const MCSection *S) {
lib/CodeGen/AsmPrinter/DwarfDebug.h
  231   const MCSymbol *Sym;                  /// Symbol before DBG_LABEL instruction.
  235   DbgLabel(const DILabel *L, const DILocation *IA, const MCSymbol *Sym = nullptr)
  241   const MCSymbol *getSymbol() const { return Sym; }
  277   SymbolCU(DwarfCompileUnit *CU, const MCSymbol *Sym) : Sym(Sym), CU(CU) {}
  279   const MCSymbol *Sym;
  306   DenseMap<const MCSymbol *, uint64_t> SymSize;
  341   DenseMap<const MCSection *, const MCSymbol *> SectionLabels;
  435                                   const MCSymbol *Sym = nullptr);
  641   void setSymbolSize(const MCSymbol *Sym, uint64_t Size) override {
  755   void addSectionLabel(const MCSymbol *Sym);
  756   const MCSymbol *getSectionLabel(const MCSection *S);
lib/CodeGen/AsmPrinter/DwarfException.h
   72   void emitTypeInfos(unsigned TTypeEncoding, MCSymbol *TTBaseLabel) override;
lib/CodeGen/AsmPrinter/DwarfFile.cpp
   55   if (MCSymbol *EndLabel = TheU->getEndLabel())
lib/CodeGen/AsmPrinter/DwarfFile.h
   36   const MCSymbol *Begin;
   37   const MCSymbol *End;
   43   MCSymbol *RangeSym;
   49   RangeSpanList(MCSymbol *Sym, const DwarfCompileUnit &CU,
   52   MCSymbol *getSym() const { return RangeSym; }
   77   MCSymbol *StringOffsetsStartSym = nullptr;
   81   MCSymbol *RnglistsTableBaseSym = nullptr;
  154   MCSymbol *getStringOffsetsStartSym() const { return StringOffsetsStartSym; }
  155   void setStringOffsetsStartSym(MCSymbol *Sym) { StringOffsetsStartSym = Sym; }
  157   MCSymbol *getRnglistsTableBaseSym() const { return RnglistsTableBaseSym; }
  158   void setRnglistsTableBaseSym(MCSymbol *Sym) { RnglistsTableBaseSym = Sym; }
lib/CodeGen/AsmPrinter/DwarfStringPool.cpp
   57                                                    MCSymbol *StartSym) {
lib/CodeGen/AsmPrinter/DwarfStringPool.h
   43                                     MCSymbol *StartSym);
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  295                                                  const MCSymbol *Label) {
  299 void DwarfUnit::addLabel(DIELoc &Die, dwarf::Form Form, const MCSymbol *Label) {
  342 void DwarfUnit::addOpAddress(DIELoc &Die, const MCSymbol *Sym) {
  361                               const MCSymbol *Hi, const MCSymbol *Lo) {
  361                               const MCSymbol *Hi, const MCSymbol *Lo) {
 1609     MCSymbol *BeginLabel = Asm->createTempSymbol(Prefix + "start");
 1659                            const MCSymbol *Hi, const MCSymbol *Lo) {
 1659                            const MCSymbol *Hi, const MCSymbol *Lo) {
 1668                            const MCSymbol *Label, const MCSymbol *Sec) {
 1668                            const MCSymbol *Label, const MCSymbol *Sec) {
 1693 const MCSymbol *DwarfUnit::getCrossSectionRelativeBaseAddress() const {
lib/CodeGen/AsmPrinter/DwarfUnit.h
   52   MCSymbol *EndLabel = nullptr;
   87   MCSymbol *getEndLabel() const { return EndLabel; }
  159                                         const MCSymbol *Label);
  161   void addLabel(DIELoc &Die, dwarf::Form Form, const MCSymbol *Label);
  168   void addOpAddress(DIELoc &Die, const MCSymbol *Sym);
  171   void addLabelDelta(DIE &Die, dwarf::Attribute Attribute, const MCSymbol *Hi,
  172                      const MCSymbol *Lo);
  281                                       const MCSymbol *Hi, const MCSymbol *Lo);
  281                                       const MCSymbol *Hi, const MCSymbol *Lo);
  285                                       const MCSymbol *Label,
  286                                       const MCSymbol *Sec);
  340   const MCSymbol *getCrossSectionRelativeBaseAddress() const override;
lib/CodeGen/AsmPrinter/EHStreamer.cpp
  209       MCSymbol *BeginLabel = LandingPad->BeginLabels[j];
  231   MCSymbol *LastLabel = nullptr;
  252       MCSymbol *BeginLabel = MI.getOperand(0).getMCSymbol();
  349 MCSymbol *EHStreamer::emitExceptionTable() {
  432   MCSymbol *GCCETSym =
  442   MCSymbol *TTBaseLabel = nullptr;
  448     MCSymbol *TTBaseRefLabel = Asm->createTempSymbol("ttbaseref");
  457   MCSymbol *CstBeginLabel = Asm->createTempSymbol("cst_begin");
  458   MCSymbol *CstEndLabel = Asm->createTempSymbol("cst_end");
  515       MCSymbol *EHFuncBeginSym = Asm->getFunctionBegin();
  517       MCSymbol *BeginLabel = S.BeginLabel;
  520       MCSymbol *EndLabel = S.EndLabel;
  613 void EHStreamer::emitTypeInfos(unsigned TTypeEncoding, MCSymbol *TTBaseLabel) {
lib/CodeGen/AsmPrinter/EHStreamer.h
   51   using RangeMapType = DenseMap<MCSymbol *, PadRange>;
   63     MCSymbol *BeginLabel; // Null indicates the start of the function.
   64     MCSymbol *EndLabel;   // Null indicates the end of the function.
  113   MCSymbol *emitExceptionTable();
  115   virtual void emitTypeInfos(unsigned TTypeEncoding, MCSymbol *TTBaseLabel);
  129   void setSymbolSize(const MCSymbol *Sym, uint64_t Size) override {}
lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp
   86       MCSymbol *Label = PI->Label;
lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
   67   MCSymbol *Sym = AP.OutContext.getOrCreateSymbol(TmpStr);
lib/CodeGen/AsmPrinter/WasmException.cpp
   29     MCSymbol *ExceptionSym = Asm->GetExternalSymbolSymbol("__cpp_exception");
   54   MCSymbol *LSDALabel = emitExceptionTable();
   60   MCSymbol *LSDAEndLabel = Asm->createTempSymbol("GCC_except_table_end");
lib/CodeGen/AsmPrinter/WinCFGuard.cpp
   59   for (const MCSymbol *S : LongjmpTargets) {
lib/CodeGen/AsmPrinter/WinCFGuard.h
   26   std::vector<const MCSymbol *> LongjmpTargets;
   32   void setSymbolSize(const MCSymbol *Sym, uint64_t Size) override {}
lib/CodeGen/AsmPrinter/WinException.cpp
  169 static MCSymbol *getMCSymbolForMBB(AsmPrinter *Asm,
  189                                 MCSymbol *Sym) {
  226     const MCSymbol *PersHandlerSym =
  277       MCSymbol *FuncInfoXData = Asm->OutContext.getOrCreateSymbol(
  298 const MCExpr *WinException::create32bitRef(const MCSymbol *Value) {
  313 const MCExpr *WinException::getLabel(const MCSymbol *Label) {
  322 const MCExpr *WinException::getOffset(const MCSymbol *OffsetOf,
  323                                       const MCSymbol *OffsetFrom) {
  329 const MCExpr *WinException::getOffsetPlusOne(const MCSymbol *OffsetOf,
  330                                              const MCSymbol *OffsetFrom) {
  367   const MCSymbol *PreviousEndLabel;
  371   const MCSymbol *NewStartLabel;
  440   const MCSymbol *CurrentEndLabel = nullptr;
  475       MCSymbol *Label = MI.getOperand(0).getMCSymbol();
  565     MCSymbol *ParentFrameOffset =
  574   MCSymbol *TableBegin =
  576   MCSymbol *TableEnd =
  593   const MCSymbol *LastStartLabel = nullptr;
  616                                           const MCSymbol *BeginLabel,
  617                                           const MCSymbol *EndLabel, int State) {
  666   MCSymbol *FuncInfoXData = nullptr;
  682   MCSymbol *UnwindMapXData = nullptr;
  683   MCSymbol *TryBlockMapXData = nullptr;
  684   MCSymbol *IPToStateXData = nullptr;
  758       MCSymbol *CleanupSym =
  777     SmallVector<MCSymbol *, 1> HandlerMaps;
  781       MCSymbol *HandlerMapXData = nullptr;
  822       MCSymbol *HandlerMapXData = HandlerMaps[I];
  846         MCSymbol *HandlerSym =
  905     MCSymbol *StartLabel;
  927       const MCSymbol *ChangeLabel = StateChange.NewStartLabel;
  957   MCSymbol *ParentFrameOffset =
  981   MCSymbol *LSDALabel = Asm->OutContext.getOrCreateLSDASymbol(FLinkageName);
 1044     const MCSymbol *ExceptOrFinally =
 1095   MCSymbol *FuncBeginSym = Asm->getFunctionBegin();
 1096   MCSymbol *FuncEndSym = Asm->getFunctionEnd();
 1100     const MCSymbol *StartLabel; // Start of protected region
 1101     const MCSymbol *EndLabel;   // End of protected region
 1146   SmallVector<std::pair<const MCSymbol *, int>, 4> HandlerStack;
 1148   std::unique_ptr<MCSymbol *[]> EndSymbolMap(new MCSymbol *[NumStates]);
 1148   std::unique_ptr<MCSymbol *[]> EndSymbolMap(new MCSymbol *[NumStates]);
 1158     MCSymbol *EndSymbol = FuncEndSym;
 1175     const MCSymbol *CurrentStartLabel = nullptr;
 1276     MCSymbol *BeginSym = getMCSymbolForMBB(Asm, HandlerBlock);
 1278     MCSymbol *EndSym = EndSymbolMap[Clause.State];
lib/CodeGen/AsmPrinter/WinException.h
   52                               const MCSymbol *BeginLabel,
   53                               const MCSymbol *EndLabel, int State);
   75   const MCExpr *create32bitRef(const MCSymbol *Value);
   77   const MCExpr *getLabel(const MCSymbol *Label);
   78   const MCExpr *getOffset(const MCSymbol *OffsetOf, const MCSymbol *OffsetFrom);
   78   const MCExpr *getOffset(const MCSymbol *OffsetOf, const MCSymbol *OffsetFrom);
   79   const MCExpr *getOffsetPlusOne(const MCSymbol *OffsetOf,
   80                                  const MCSymbol *OffsetFrom);
  109   void beginFunclet(const MachineBasicBlock &MBB, MCSymbol *Sym) override;
lib/CodeGen/CFGuardLongjmp.cpp
  111     MCSymbol *SjSymbol = MF.getContext().getOrCreateSymbol(SymbolName);
lib/CodeGen/FaultMaps.cpp
   31                                  const MCSymbol *HandlerLabel) {
   33   MCSymbol *FaultingLabel = OutContext.createTempSymbol();
   80 void FaultMaps::emitFunctionInfo(const MCSymbol *FnLabel,
lib/CodeGen/GCRootLowering.cpp
   64   MCSymbol *InsertLabel(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI,
  256 MCSymbol *GCMachineCodeAnalysis::InsertLabel(MachineBasicBlock &MBB,
  259   MCSymbol *Label = MBB.getParent()->getContext().createTempSymbol();
  270   MCSymbol *Label = InsertLabel(*CI->getParent(), RAI, CI->getDebugLoc());
lib/CodeGen/GlobalISel/IRTranslator.cpp
 1700   MCSymbol *BeginSymbol = Context.createTempSymbol();
 1706   MCSymbol *EndSymbol = Context.createTempSymbol();
lib/CodeGen/MIRParser/MIParser.cpp
  473   bool parsePreOrPostInstrSymbol(MCSymbol *&Symbol);
  514   MCSymbol *getOrCreateMCSymbol(StringRef Name);
  927   MCSymbol *PreInstrSymbol = nullptr;
  931   MCSymbol *PostInstrSymbol = nullptr;
 1808   MCSymbol *Symbol = getOrCreateMCSymbol(Token.stringValue());
 2941 bool MIParser::parsePreOrPostInstrSymbol(MCSymbol *&Symbol) {
 3028 MCSymbol *MIParser::getOrCreateMCSymbol(StringRef Name) {
lib/CodeGen/MIRPrinter.cpp
  773   if (MCSymbol *PreInstrSymbol = MI.getPreInstrSymbol()) {
  780   if (MCSymbol *PostInstrSymbol = MI.getPostInstrSymbol()) {
lib/CodeGen/MachineBasicBlock.cpp
   59 MCSymbol *MachineBasicBlock::getSymbol() const {
lib/CodeGen/MachineFunction.cpp
  451     ArrayRef<MachineMemOperand *> MMOs, MCSymbol *PreInstrSymbol,
  452     MCSymbol *PostInstrSymbol, MDNode *HeapAllocMarker) {
  608 MCSymbol *MachineFunction::getJTISymbol(unsigned JTI, MCContext &Ctx,
  623 MCSymbol *MachineFunction::getPICBaseSymbol() const {
  646                                 MCSymbol *BeginLabel, MCSymbol *EndLabel) {
  646                                 MCSymbol *BeginLabel, MCSymbol *EndLabel) {
  652 MCSymbol *MachineFunction::addLandingPad(MachineBasicBlock *LandingPad) {
  653   MCSymbol *LandingPadLabel = Ctx.createTempSymbol();
  715 void MachineFunction::tidyLandingPads(DenseMap<MCSymbol *, uintptr_t> *LPMap,
  733         MCSymbol *BeginLabel = LandingPad.BeginLabels[j];
  734         MCSymbol *EndLabel = LandingPad.EndLabels[j];
  785 void MachineFunction::setCallSiteLandingPad(MCSymbol *Sym,
lib/CodeGen/MachineInstr.cpp
  321                                 MCSymbol *PreInstrSymbol,
  322                                 MCSymbol *PostInstrSymbol,
  467 void MachineInstr::setPreInstrSymbol(MachineFunction &MF, MCSymbol *Symbol) {
  482 void MachineInstr::setPostInstrSymbol(MachineFunction &MF, MCSymbol *Symbol) {
 1688   if (MCSymbol *PreInstrSymbol = getPreInstrSymbol()) {
 1696   if (MCSymbol *PostInstrSymbol = getPostInstrSymbol()) {
lib/CodeGen/MachineModuleInfo.cpp
   65     TinyPtrVector<MCSymbol *> Symbols;
   80   DenseMap<AssertingVH<Function>, std::vector<MCSymbol*>>
   91   ArrayRef<MCSymbol *> getAddrLabelSymbolToEmit(BasicBlock *BB);
   94                                      std::vector<MCSymbol*> &Result);
  102 ArrayRef<MCSymbol *> MMIAddrLabelMap::getAddrLabelSymbolToEmit(BasicBlock *BB) {
  125 takeDeletedSymbolsForFunction(Function *F, std::vector<MCSymbol*> &Result) {
  126   DenseMap<AssertingVH<Function>, std::vector<MCSymbol*>>::iterator I =
  149   for (MCSymbol *Sym : Entry.Symbols) {
  235 ArrayRef<MCSymbol *>
  245                               std::vector<MCSymbol*> &Result) {
lib/CodeGen/MachineModuleInfoImpls.cpp
   29 using PairTy = std::pair<MCSymbol *, MachineModuleInfoImpl::StubValueTy>;
lib/CodeGen/MachineOperand.cpp
  197 void MachineOperand::ChangeToMCSymbol(MCSymbol *Sym) {
  586 void MachineOperand::printSymbol(raw_ostream &OS, MCSymbol &Sym) {
  625     if (MCSymbol *Label = CFI.getLabel())
  631     if (MCSymbol *Label = CFI.getLabel())
  636     if (MCSymbol *Label = CFI.getLabel())
  641     if (MCSymbol *Label = CFI.getLabel())
  648     if (MCSymbol *Label = CFI.getLabel())
  654     if (MCSymbol *Label = CFI.getLabel())
  660     if (MCSymbol *Label = CFI.getLabel())
  667     if (MCSymbol *Label = CFI.getLabel())
  674     if (MCSymbol *Label = CFI.getLabel())
  680     if (MCSymbol *Label = CFI.getLabel())
  686     if (MCSymbol *Label = CFI.getLabel())
  698     if (MCSymbol *Label = CFI.getLabel())
  704     if (MCSymbol *Label = CFI.getLabel())
  712     if (MCSymbol *Label = CFI.getLabel())
  717     if (MCSymbol *Label = CFI.getLabel())
lib/CodeGen/ModuloSchedule.cpp
 1996     if (MCSymbol *Sym = MI.getPostInstrSymbol()) {
 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);
 1105 bool FastISel::lowerCallTo(const CallInst *CI, MCSymbol *Symbol,
lib/CodeGen/SelectionDAG/InstrEmitter.cpp
 1027     MCSymbol *S = cast<LabelSDNode>(Node)->getLabel();
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 1530 SDValue SelectionDAG::getMCSymbol(MCSymbol *Sym, EVT VT) {
 1782                                  MCSymbol *Label) {
 1787                                    SDValue Root, MCSymbol *Label) {
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 6435     MCSymbol *Label =
 6653       MCSymbol *FrameAllocSym =
 6675     MCSymbol *FrameAllocSym =
 7028   MCSymbol *BeginLabel = nullptr;
 7076     MCSymbol *EndLabel = MMI.getContext().createTempSymbol();
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 1256   MCSymbol *Label = MF->addLandingPad(MBB);
lib/CodeGen/StackMaps.cpp
  302   MCSymbol *MILabel = OutContext.createTempSymbol();
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  339     const MCSymbol *From = GetSym(E->getOperand(0));
  340     const MCSymbol *To = GetSym(E->getOperand(1));
  355 MCSymbol *TargetLoweringObjectFileELF::getCFIPersonalitySymbol(
  368     MCStreamer &Streamer, const DataLayout &DL, const MCSymbol *Sym) const {
  395     MCSymbol *SSym = getSymbolWithGlobalValueBase(GV, ".DW.stub", TM);
  401       MCSymbol *Sym = TM.getSymbol(GV);
  756                                               const MCSymbol *KeySym) {
  793     unsigned Priority, const MCSymbol *KeySym) const {
  799     unsigned Priority, const MCSymbol *KeySym) const {
 1074     MCSymbol *SSym = getSymbolWithGlobalValueBase(GV, "$non_lazy_ptr", TM);
 1080       MCSymbol *Sym = TM.getSymbol(GV);
 1093 MCSymbol *TargetLoweringObjectFileMachO::getCFIPersonalitySymbol(
 1100   MCSymbol *SSym = getSymbolWithGlobalValueBase(GV, "$non_lazy_ptr", TM);
 1106     MCSymbol *Sym = TM.getSymbol(GV);
 1114     const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV,
 1160   const MCSymbol *BaseSym = &MV.getSymB()->getSymbol();
 1169   MCSymbol *Stub = Ctx.getOrCreateSymbol(Name);
 1314       MCSymbol *Sym = TM.getSymbol(ComdatGV);
 1368       MCSymbol *Sym = TM.getSymbol(ComdatGV);
 1430   MCSymbol *Sym = TM.getSymbol(&F);
 1509                                                    const MCSymbol *KeySym,
 1545     unsigned Priority, const MCSymbol *KeySym) const {
 1552     unsigned Priority, const MCSymbol *KeySym) const {
 1814     unsigned Priority, const MCSymbol *KeySym) const {
 1822     unsigned Priority, const MCSymbol *KeySym) const {
 1875     unsigned Priority, const MCSymbol *KeySym) const {
 1880     unsigned Priority, const MCSymbol *KeySym) const {
lib/CodeGen/WinEHPrepare.cpp
 1240                                       MCSymbol *InvokeBegin,
 1241                                       MCSymbol *InvokeEnd) {
lib/MC/ConstantPools.cpp
   48   MCSymbol *CPEntryLabel = Context.createTempSymbol();
lib/MC/ELFObjectWriter.cpp
  112   static uint64_t SymbolValue(const MCSymbol &Sym, const MCAsmLayout &Layout);
  192   using RevGroupMapTy = DenseMap<const MCSymbol *, unsigned>;
  240   std::vector<const MCSymbol *> AddrsigSyms;
  260                                               const MCSymbol &SymA,
  278   void addAddrsigSymbol(const MCSymbol *Sym) override {
  465 uint64_t ELFWriter::SymbolValue(const MCSymbol &Sym,
  655   for (const MCSymbol &S : Asm.symbols()) {
  801   for (const MCSymbol *Sym : OWriter.AddrsigSyms)
 1050     const MCSymbol *Sym = Section.getAssociatedSymbol();
 1103   std::map<const MCSymbol *, std::vector<const MCSectionELF *>> GroupMembers;
 1171     const MCSymbol *SignatureSymbol = Group->getGroup();
 1280   for (const std::pair<StringRef, const MCSymbol *> &P : Asm.Symvers) {
 1325   for (const MCSymbol *&Sym : AddrsigSyms) {
 1326     if (const MCSymbol *R = Renames.lookup(cast<MCSymbolELF>(Sym)))
 1535     const MCAssembler &Asm, const MCSymbol &SA, const MCFragment &FB,
lib/MC/MCAsmInfo.cpp
   82 MCAsmInfo::getExprForPersonalitySymbol(const MCSymbol *Sym,
   89 MCAsmInfo::getExprForFDESymbol(const MCSymbol *Sym,
   97   MCSymbol *PCSym = Context.createTempSymbol();
lib/MC/MCAsmStreamer.cpp
  139                               const MCSymbol *Aliasee) override;
  142   void EmitLabel(MCSymbol *Symbol, SMLoc Loc = SMLoc()) override;
  151   void EmitThumbFunc(MCSymbol *Func) override;
  153   void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) override;
  154   void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol) override;
  154   void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol) override;
  155   bool EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) override;
  157   void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) override;
  158   void BeginCOFFSymbolDef(const MCSymbol *Symbol) override;
  162   void EmitCOFFSafeSEH(MCSymbol const *Symbol) override;
  163   void EmitCOFFSymbolIndex(MCSymbol const *Symbol) override;
  164   void EmitCOFFSectionIndex(MCSymbol const *Symbol) override;
  165   void EmitCOFFSecRel32(MCSymbol const *Symbol, uint64_t Offset) override;
  166   void EmitCOFFImgRel32(MCSymbol const *Symbol, int64_t Offset) override;
  167   void EmitXCOFFLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
  169   void emitELFSize(MCSymbol *Symbol, const MCExpr *Value) override;
  170   void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
  178   void EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
  181   void EmitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
  185   void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
  242   MCSymbol *getDwarfLineTableSymbol(unsigned CUID) override;
  254   void EmitCVLinetableDirective(unsigned FunctionId, const MCSymbol *FnStart,
  255                                 const MCSymbol *FnEnd) override;
  259                                       const MCSymbol *FnStartSym,
  260                                       const MCSymbol *FnEndSym) override;
  263       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges);
  263       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges);
  266       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  266       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  270       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  270       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  274       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  274       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  278       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  278       ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  284   void EmitCVFPOData(const MCSymbol *ProcSym, SMLoc L) override;
  293   void EmitCFIPersonality(const MCSymbol *Sym, unsigned Encoding) override;
  294   void EmitCFILsda(const MCSymbol *Sym, unsigned Encoding) override;
  310   void EmitWinCFIStartProc(const MCSymbol *Symbol, SMLoc Loc) override;
  326   void EmitWinEHHandler(const MCSymbol *Sym, bool Unwind, bool Except,
  344   void EmitAddrsigSym(const MCSymbol *Sym) override;
  456                                            const MCSymbol *Aliasee) {
  463 void MCAsmStreamer::EmitLabel(MCSymbol *Symbol, SMLoc Loc) {
  483   for (const MCSymbol *Arg : Args) {
  585 void MCAsmStreamer::EmitThumbFunc(MCSymbol *Func) {
  597 void MCAsmStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
  615 void MCAsmStreamer::EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol) {
  615 void MCAsmStreamer::EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol) {
  623 bool MCAsmStreamer::EmitSymbolAttribute(MCSymbol *Symbol,
  690 void MCAsmStreamer::EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) {
  707 void MCAsmStreamer::BeginCOFFSymbolDef(const MCSymbol *Symbol) {
  729 void MCAsmStreamer::EmitCOFFSafeSEH(MCSymbol const *Symbol) {
  735 void MCAsmStreamer::EmitCOFFSymbolIndex(MCSymbol const *Symbol) {
  741 void MCAsmStreamer::EmitCOFFSectionIndex(MCSymbol const *Symbol) {
  747 void MCAsmStreamer::EmitCOFFSecRel32(MCSymbol const *Symbol, uint64_t Offset) {
  755 void MCAsmStreamer::EmitCOFFImgRel32(MCSymbol const *Symbol, int64_t Offset) {
  768 void MCAsmStreamer::EmitXCOFFLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
  783 void MCAsmStreamer::emitELFSize(MCSymbol *Symbol, const MCExpr *Value) {
  792 void MCAsmStreamer::EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
  807 void MCAsmStreamer::EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
  829 void MCAsmStreamer::EmitZerofill(MCSection *Section, MCSymbol *Symbol,
  858 void MCAsmStreamer::EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
 1334 MCSymbol *MCAsmStreamer::getDwarfLineTableSymbol(unsigned CUID) {
 1404                                              const MCSymbol *FnStart,
 1405                                              const MCSymbol *FnEnd) {
 1417                                                    const MCSymbol *FnStartSym,
 1418                                                    const MCSymbol *FnEndSym) {
 1430     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges) {
 1430     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges) {
 1432   for (std::pair<const MCSymbol *, const MCSymbol *> Range : Ranges) {
 1432   for (std::pair<const MCSymbol *, const MCSymbol *> Range : Ranges) {
 1441     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
 1441     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
 1451     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
 1451     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
 1460     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
 1460     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
 1469     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
 1469     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
 1492 void MCAsmStreamer::EmitCVFPOData(const MCSymbol *ProcSym, SMLoc L) {
 1601 void MCAsmStreamer::EmitCFIPersonality(const MCSymbol *Sym,
 1609 void MCAsmStreamer::EmitCFILsda(const MCSymbol *Sym, unsigned Encoding) {
 1698 void MCAsmStreamer::EmitWinCFIStartProc(const MCSymbol *Symbol, SMLoc Loc) {
 1731 void MCAsmStreamer::EmitWinEHHandler(const MCSymbol *Sym, bool Unwind,
 1991 void MCAsmStreamer::EmitAddrsigSym(const MCSymbol *Sym) {
 2018     if (auto *Label = Tables.begin()->second.getLabel()) {
lib/MC/MCAssembler.cpp
  134 bool MCAssembler::isThumbFunc(const MCSymbol *Symbol) const {
  157   const MCSymbol &Sym = Ref->getSymbol();
  165 bool MCAssembler::isSymbolLinkerVisible(const MCSymbol &Symbol) const {
  180 const MCSymbol *MCAssembler::getAtom(const MCSymbol &S) const {
  180 const MCSymbol *MCAssembler::getAtom(const MCSymbol &S) const {
  239       const MCSymbol &SA = A->getSymbol();
  254     const MCSymbol &Sym = A->getSymbol();
  259     const MCSymbol &Sym = B->getSymbol();
  452 void MCAssembler::registerSymbol(const MCSymbol &Symbol, bool *Created) {
lib/MC/MCCodeView.cpp
  130 void CodeViewContext::recordCVLoc(MCContext &Ctx, const MCSymbol *Label,
  172   MCSymbol *StringBegin = Ctx.createTempSymbol("strtab_begin", false),
  199   MCSymbol *FileBegin = Ctx.createTempSymbol("filechecksums_begin", false),
  328                                                const MCSymbol *FuncBegin,
  329                                                const MCSymbol *FuncEnd) {
  331   MCSymbol *LineBegin = Ctx.createTempSymbol("linetable_begin", false),
  425                                                      const MCSymbol *FnStartSym,
  426                                                      const MCSymbol *FnEndSym) {
  436     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  436     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  444 static unsigned computeLabelDiff(MCAsmLayout &Layout, const MCSymbol *Begin,
  445                                  const MCSymbol *End) {
  504   const MCSymbol *LastLabel = Frag.getFnStartSym();
  619   const MCSymbol *LastLabel = nullptr;
  620   for (std::pair<const MCSymbol *, const MCSymbol *> Range : Frag.getRanges()) {
  620   for (std::pair<const MCSymbol *, const MCSymbol *> Range : Frag.getRanges()) {
  632     const MCSymbol *RangeBegin = Frag.getRanges()[I].first;
lib/MC/MCContext.cpp
  129 MCSymbol *MCContext::getOrCreateSymbol(const Twine &Name) {
  135   MCSymbol *&Sym = Symbols[NameRef];
  142 MCSymbol *MCContext::getOrCreateFrameAllocSymbol(StringRef FuncName,
  148 MCSymbol *MCContext::getOrCreateParentFrameOffsetSymbol(StringRef FuncName) {
  153 MCSymbol *MCContext::getOrCreateLSDASymbol(StringRef FuncName) {
  158 MCSymbol *MCContext::createSymbolImpl(const StringMapEntry<bool> *Name,
  174   return new (Name, *this) MCSymbol(MCSymbol::SymbolKindUnset, Name,
  174   return new (Name, *this) MCSymbol(MCSymbol::SymbolKindUnset, Name,
  178 MCSymbol *MCContext::createSymbol(StringRef Name, bool AlwaysAddSuffix,
  212 MCSymbol *MCContext::createTempSymbol(const Twine &Name, bool AlwaysAddSuffix,
  219 MCSymbol *MCContext::createLinkerPrivateTempSymbol() {
  225 MCSymbol *MCContext::createTempSymbol(bool CanBeUnnamed) {
  243 MCSymbol *MCContext::getOrCreateDirectionalLocalSymbol(unsigned LocalLabelVal,
  245   MCSymbol *&Sym = LocalSymbols[std::make_pair(LocalLabelVal, Instance)];
  251 MCSymbol *MCContext::createDirectionalLocalSymbol(unsigned LocalLabelVal) {
  256 MCSymbol *MCContext::getDirectionalLocalSymbol(unsigned LocalLabelVal,
  264 MCSymbol *MCContext::lookupSymbol(const Twine &Name) const {
  277 void MCContext::registerInlineAsmLabel(MCSymbol *Sym) {
  304   MCSymbol *Begin = nullptr;
  315   if (const MCSymbol *Group = Section->getGroup())
  336   MCSymbol *&Sym = Symbols[Section];
  440   MCSymbol *COMDATSymbol = nullptr;
  454   MCSymbol *Begin = nullptr;
  475                                                     const MCSymbol *KeySym,
  523   MCSymbol *Begin = createSymbol(CachedName, false, false);
  554   MCSymbol *Begin = nullptr;
lib/MC/MCDwarf.cpp
   50   MCSymbol *LineStrLabel = nullptr;
   92   MCSymbol *LineSym = MCOS->getContext().createTempSymbol();
  116                                                   const MCSymbol &Start,
  117                                                   const MCSymbol &End,
  137 makeStartPlusIntExpr(MCContext &Ctx, const MCSymbol &Start, int IntVal) {
  158   MCSymbol *LastLabel = nullptr;
  199     MCSymbol *Label = LineEntry.getLabel();
  217   MCSymbol *SectionEnd = MCOS->endSection(Section);
  269 std::pair<MCSymbol *, MCSymbol *>
  269 std::pair<MCSymbol *, MCSymbol *>
  300   MCSymbol *ABS = Context.createTempSymbol();
  447 std::pair<MCSymbol *, MCSymbol *>
  447 std::pair<MCSymbol *, MCSymbol *>
  454   MCSymbol *LineStartSym = Label;
  461   MCSymbol *LineEndSym = context.createTempSymbol();
  484   MCSymbol *ProEndSym = context.createTempSymbol(); // Lprologue_end
  526   MCSymbol *LineEndSym = Header.Emit(MCOS, Params, LineStr).second;
  855                                 const MCSymbol *InfoSectionSymbol) {
  904     const MCSymbol *StartSymbol = Sec->getBeginSymbol();
  905     MCSymbol *EndSymbol = Sec->getEndSymbol(context);
  926                              const MCSymbol *AbbrevSectionSymbol,
  927                              const MCSymbol *LineSectionSymbol,
  928                              const MCSymbol *RangesSectionSymbol) {
  935   MCSymbol *InfoStart = context.createTempSymbol();
  937   MCSymbol *InfoEnd = context.createTempSymbol();
  996     MCSymbol *StartSymbol = (*TextSection)->getBeginSymbol();
  997     MCSymbol *EndSymbol = (*TextSection)->getEndSymbol(context);
 1109     const MCSymbol *StartSymbol = Sec->getBeginSymbol();
 1110     MCSymbol *EndSymbol = Sec->getEndSymbol(context);
 1143   MCSymbol *LineSectionSymbol = nullptr;
 1146   MCSymbol *AbbrevSectionSymbol = nullptr;
 1147   MCSymbol *InfoSectionSymbol = nullptr;
 1148   MCSymbol *RangesSectionSymbol = nullptr;
 1207 void MCGenDwarfLabelEntry::Make(MCSymbol *Symbol, MCStreamer *MCOS,
 1236   MCSymbol *Label = context.createTempSymbol();
 1275 static void emitFDESymbol(MCObjectStreamer &streamer, const MCSymbol &symbol,
 1289 static void EmitPersonality(MCStreamer &streamer, const MCSymbol &symbol,
 1315   const MCSymbol &EmitCIE(const MCDwarfFrameInfo &F);
 1316   void EmitFDE(const MCSymbol &cieStart, const MCDwarfFrameInfo &frame,
 1317                bool LastInSection, const MCSymbol &SectionStart);
 1319                            MCSymbol *BaseLabel);
 1462                                            MCSymbol *BaseLabel) {
 1464     MCSymbol *Label = Instr.getLabel();
 1470       MCSymbol *ThisSym = Label;
 1560 const MCSymbol &FrameEmitterImpl::EmitCIE(const MCDwarfFrameInfo &Frame) {
 1565   MCSymbol *sectionStart = context.createTempSymbol();
 1568   MCSymbol *sectionEnd = context.createTempSymbol();
 1676 void FrameEmitterImpl::EmitFDE(const MCSymbol &cieStart,
 1679                                const MCSymbol &SectionStart) {
 1681   MCSymbol *fdeStart = context.createTempSymbol();
 1682   MCSymbol *fdeEnd = context.createTempSymbol();
 1758   CIEKey(const MCSymbol *Personality, unsigned PersonalityEncoding,
 1786   const MCSymbol *Personality;
 1856   MCSymbol *SectionStart = Context.createTempSymbol();
 1859   DenseMap<CIEKey, const MCSymbol *> CIEStarts;
 1861   const MCSymbol *DummyDebugKey = nullptr;
 1882     const MCSymbol *&CIEStart = IsEH ? CIEStarts[Key] : DummyDebugKey;
lib/MC/MCELFObjectTargetWriter.cpp
   20 bool MCELFObjectTargetWriter::needsRelocateWithSymbol(const MCSymbol &Sym,
lib/MC/MCELFStreamer.cpp
   99 void MCELFStreamer::EmitLabel(MCSymbol *S, SMLoc Loc) {
  109 void MCELFStreamer::EmitLabel(MCSymbol *S, SMLoc Loc, MCFragment *F) {
  155   const MCSymbol *Grp = SectionELF->getGroup();
  163 void MCELFStreamer::EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol) {
  163 void MCELFStreamer::EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol) {
  189 bool MCELFStreamer::EmitSymbolAttribute(MCSymbol *S, MCSymbolAttr Attribute) {
  288 void MCELFStreamer::EmitCommonSymbol(MCSymbol *S, uint64_t Size,
  325 void MCELFStreamer::emitELFSize(MCSymbol *Symbol, const MCExpr *Value) {
  330                                            const MCSymbol *Aliasee) {
  334 void MCELFStreamer::EmitLocalCommonSymbol(MCSymbol *S, uint64_t Size,
  467   const MCSymbol *S = &SRE->getSymbol();
  682 void MCELFStreamer::EmitThumbFunc(MCSymbol *Func) {
  686 void MCELFStreamer::EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) {
  690 void MCELFStreamer::EmitZerofill(MCSection *Section, MCSymbol *Symbol,
  696 void MCELFStreamer::EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
lib/MC/MCExpr.cpp
   57     const MCSymbol &Sym = SRE.getSymbol();
  176 MCSymbolRefExpr::MCSymbolRefExpr(const MCSymbol *Symbol, VariantKind Kind,
  185 const MCSymbolRefExpr *MCSymbolRefExpr::create(const MCSymbol *Sym,
  518   const MCSymbol &SA = A->getSymbol();
  519   const MCSymbol &SB = B->getSymbol();
  585   const MCSymbol &CheckSym = A ? A->getSymbol() : B->getSymbol();
  683 static bool canExpand(const MCSymbol &Sym, bool InSet) {
  714     const MCSymbol &Sym = SRE->getSymbol();
  896     return MCSymbol::AbsolutePseudoFragment;
  900     const MCSymbol &Sym = SRE->getSymbol();
  913     if (LHS_F == MCSymbol::AbsolutePseudoFragment)
  915     if (RHS_F == MCSymbol::AbsolutePseudoFragment)
  920       return MCSymbol::AbsolutePseudoFragment;
lib/MC/MCFragment.cpp
   84 static bool getLabelOffset(const MCAsmLayout &Layout, const MCSymbol &S,
   96 static bool getSymbolOffsetImpl(const MCAsmLayout &Layout, const MCSymbol &S,
  129 bool MCAsmLayout::getSymbolOffset(const MCSymbol &S, uint64_t &Val) const {
  133 uint64_t MCAsmLayout::getSymbolOffset(const MCSymbol &S) const {
  139 const MCSymbol *MCAsmLayout::getBaseSymbol(const MCSymbol &Symbol) const {
  139 const MCSymbol *MCAsmLayout::getBaseSymbol(const MCSymbol &Symbol) const {
  163   const MCSymbol &ASym = A->getSymbol();
  455     for (std::pair<const MCSymbol *, const MCSymbol *> RangeStartEnd :
  455     for (std::pair<const MCSymbol *, const MCSymbol *> RangeStartEnd :
lib/MC/MCMachOStreamer.cpp
   85   void EmitLabel(MCSymbol *Symbol, SMLoc Loc = SMLoc()) override;
   86   void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) override;
   87   void EmitEHSymAttributes(const MCSymbol *Symbol, MCSymbol *EHSymbol) override;
   87   void EmitEHSymAttributes(const MCSymbol *Symbol, MCSymbol *EHSymbol) override;
   95   void EmitThumbFunc(MCSymbol *Func) override;
   96   bool EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) override;
   97   void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) override;
   98   void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
  101   void EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
  103   void EmitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
  106   void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
  164     MCSymbol *Label = getContext().createLinkerPrivateTempSymbol();
  170 void MCMachOStreamer::EmitEHSymAttributes(const MCSymbol *Symbol,
  171                                           MCSymbol *EHSymbol) {
  181 void MCMachOStreamer::EmitLabel(MCSymbol *Symbol, SMLoc Loc) {
  199 void MCMachOStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
  204       const MCSymbol &SymA = SymAExpr->getSymbol();
  214   MCSymbol *Start = getContext().createTempSymbol();
  284 void MCMachOStreamer::EmitThumbFunc(MCSymbol *Symbol) {
  291 bool MCMachOStreamer::EmitSymbolAttribute(MCSymbol *Sym,
  399 void MCMachOStreamer::EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) {
  405 void MCMachOStreamer::EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
  415 void MCMachOStreamer::EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
  422 void MCMachOStreamer::EmitZerofill(MCSection *Section, MCSymbol *Symbol,
  450 void MCMachOStreamer::EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
  481   DenseMap<const MCFragment *, const MCSymbol *> DefiningSymbolMap;
  482   for (const MCSymbol &Symbol : getAssembler().symbols()) {
  495     const MCSymbol *CurrentAtom = nullptr;
  497       if (const MCSymbol *Symbol = DefiningSymbolMap.lookup(&Frag))
lib/MC/MCNullStreamer.cpp
   28     bool EmitSymbolAttribute(MCSymbol *Symbol,
   33     void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
   35     void EmitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
   39     void BeginCOFFSymbolDef(const MCSymbol *Symbol) override {}
lib/MC/MCObjectFileInfo.cpp
  864   if (const MCSymbol *Group = ElfSec.getGroup()) {
  869   const MCSymbol *Link = TextSec.getBeginSymbol();
lib/MC/MCObjectStreamer.cpp
   54   for (MCSymbol *Sym : PendingLabels) {
   85 absoluteSymbolDiff(MCAssembler &Asm, const MCSymbol *Hi, const MCSymbol *Lo) {
   85 absoluteSymbolDiff(MCAssembler &Asm, const MCSymbol *Hi, const MCSymbol *Lo) {
   97 void MCObjectStreamer::emitAbsoluteSymbolDiff(const MCSymbol *Hi,
   98                                               const MCSymbol *Lo,
  107 void MCObjectStreamer::emitAbsoluteSymbolDiffAsULEB128(const MCSymbol *Hi,
  108                                                        const MCSymbol *Lo) {
  180 void MCObjectStreamer::visitUsedSymbol(const MCSymbol &Sym) {
  215 MCSymbol *MCObjectStreamer::EmitCFILabel() {
  216   MCSymbol *Label = getContext().createTempSymbol("cfi", true);
  232 void MCObjectStreamer::EmitLabel(MCSymbol *Symbol, SMLoc Loc) {
  250 void MCObjectStreamer::EmitLabel(MCSymbol *Symbol, SMLoc Loc, MCFragment *F) {
  278 void MCObjectStreamer::EmitWeakReference(MCSymbol *Alias,
  279                                          const MCSymbol *Symbol) {
  307 void MCObjectStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
  407 static const MCExpr *buildSymbolDiff(MCObjectStreamer &OS, const MCSymbol *A,
  408                                      const MCSymbol *B) {
  420                                  int64_t LineDelta, const MCSymbol *Label,
  433                                                 const MCSymbol *LastLabel,
  434                                                 const MCSymbol *Label,
  451 void MCObjectStreamer::EmitDwarfAdvanceFrameAddr(const MCSymbol *LastLabel,
  452                                                  const MCSymbol *Label) {
  471   MCSymbol *LineSym = getContext().createTempSymbol();
  479                                                 const MCSymbol *Begin,
  480                                                 const MCSymbol *End) {
  488     const MCSymbol *FnStartSym, const MCSymbol *FnEndSym) {
  488     const MCSymbol *FnStartSym, const MCSymbol *FnEndSym) {
  497     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  497     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  713 void MCObjectStreamer::EmitAddrsigSym(const MCSymbol *Sym) {
lib/MC/MCObjectWriter.cpp
   27   const MCSymbol &SA = A->getSymbol();
   28   const MCSymbol &SB = B->getSymbol();
   39     const MCAssembler &Asm, const MCSymbol &A, const MCSymbol &B,
   39     const MCAssembler &Asm, const MCSymbol &A, const MCSymbol &B,
   46     const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB,
lib/MC/MCParser/AsmParser.cpp
  173   SmallVector<std::tuple<SMLoc, CppHashInfoTy, MCSymbol *>, 4> DirLabels;
  907       MCSymbol *SectionStartSym = getContext().createTempSymbol();
  967         MCSymbol *Sym = TableEntry.getValue();
  982     for (std::tuple<SMLoc, CppHashInfoTy, MCSymbol *> &LocSym : DirLabels) {
 1102           MCSymbol *Sym = Ctx.createTempSymbol();
 1161     MCSymbol *Sym = getContext().getInlineAsmLabel(SymbolName);
 1205         MCSymbol *Sym =
 1228     MCSymbol *Sym = Ctx.createTempSymbol();
 1826     MCSymbol *Sym;
 2828   MCSymbol *Sym;
 3820   MCSymbol *FnStartSym = getContext().getOrCreateSymbol(FnStartName);
 3821   MCSymbol *FnEndSym = getContext().getOrCreateSymbol(FnEndName);
 3855   MCSymbol *FnStartSym = getContext().getOrCreateSymbol(FnStartName);
 3856   MCSymbol *FnEndSym = getContext().getOrCreateSymbol(FnEndName);
 3874   std::vector<std::pair<const MCSymbol *, const MCSymbol *>> Ranges;
 3874   std::vector<std::pair<const MCSymbol *, const MCSymbol *>> Ranges;
 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);
 5180     MCSymbol *Sym = getContext().lookupSymbol(Name);
 5739   MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
 5998 static bool isSymbolUsedInExpression(const MCSymbol *Sym, const MCExpr *Value) {
 6009     const MCSymbol &S =
 6024                                MCAsmParser &Parser, MCSymbol *&Sym,
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);
  630       if (const MCSymbol *Group = Section->getGroup()) {
  648         MCSymbol *SectionStartSymbol = getContext().createTempSymbol();
  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
  234         MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
lib/MC/MCSection.cpp
   23 MCSection::MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin)
   28 MCSymbol *MCSection::getEndSymbol(MCContext &Ctx) {
lib/MC/MCStreamer.cpp
   51 void MCTargetStreamer::emitLabel(MCSymbol *Symbol) {}
   89 void MCTargetStreamer::emitAssignment(MCSymbol *Symbol, const MCExpr *Value) {}
  166 void MCStreamer::EmitSymbolValue(const MCSymbol *Sym, unsigned Size,
  247 MCSymbol *MCStreamer::getDwarfLineTableSymbol(unsigned CUID) {
  324                                           const MCSymbol *Begin,
  325                                           const MCSymbol *End) {}
  330                                                 const MCSymbol *FnStartSym,
  331                                                 const MCSymbol *FnEndSym) {}
  346     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  346     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  350     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  350     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  358     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  358     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  367     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  367     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  375     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  375     ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges,
  383 void MCStreamer::EmitEHSymAttributes(const MCSymbol *Symbol,
  384                                      MCSymbol *EHSymbol) {
  391 void MCStreamer::AssignFragment(MCSymbol *Symbol, MCFragment *Fragment) {
  400 void MCStreamer::EmitLabel(MCSymbol *Symbol, SMLoc Loc) {
  460 MCSymbol *MCStreamer::EmitCFILabel() {
  467   MCSymbol *Label = EmitCFILabel();
  478   MCSymbol *Label = EmitCFILabel();
  488   MCSymbol *Label = EmitCFILabel();
  498   MCSymbol *Label = EmitCFILabel();
  509   MCSymbol *Label = EmitCFILabel();
  519   MCSymbol *Label = EmitCFILabel();
  528 void MCStreamer::EmitCFIPersonality(const MCSymbol *Sym,
  537 void MCStreamer::EmitCFILsda(const MCSymbol *Sym, unsigned Encoding) {
  546   MCSymbol *Label = EmitCFILabel();
  556   MCSymbol *Label = EmitCFILabel();
  565   MCSymbol *Label = EmitCFILabel();
  575   MCSymbol *Label = EmitCFILabel();
  585   MCSymbol *Label = EmitCFILabel();
  594   MCSymbol *Label = EmitCFILabel();
  611   MCSymbol *Label = EmitCFILabel();
  621   MCSymbol *Label = EmitCFILabel();
  631   MCSymbol *Label = EmitCFILabel();
  641   MCSymbol *Label = EmitCFILabel();
  671 void MCStreamer::EmitWinCFIStartProc(const MCSymbol *Symbol, SMLoc Loc) {
  680   MCSymbol *StartProc = EmitCFILabel();
  695   MCSymbol *Label = EmitCFILabel();
  706   MCSymbol *Label = EmitCFILabel();
  715   MCSymbol *StartProc = EmitCFILabel();
  731   MCSymbol *Label = EmitCFILabel();
  737 void MCStreamer::EmitWinEHHandler(const MCSymbol *Sym, bool Unwind, bool Except,
  779   const MCSymbol *KeySym = nullptr;
  824   MCSymbol *Label = EmitCFILabel();
  845   MCSymbol *Label = EmitCFILabel();
  864   MCSymbol *Label = EmitCFILabel();
  880   MCSymbol *Label = EmitCFILabel();
  895   MCSymbol *Label = EmitCFILabel();
  910   MCSymbol *Label = EmitCFILabel();
  921   MCSymbol *Label = EmitCFILabel();
  926 void MCStreamer::EmitCOFFSafeSEH(MCSymbol const *Symbol) {}
  928 void MCStreamer::EmitCOFFSymbolIndex(MCSymbol const *Symbol) {}
  930 void MCStreamer::EmitCOFFSectionIndex(MCSymbol const *Symbol) {}
  932 void MCStreamer::EmitCOFFSecRel32(MCSymbol const *Symbol, uint64_t Offset) {}
  934 void MCStreamer::EmitCOFFImgRel32(MCSymbol const *Symbol, int64_t Offset) {}
  970 void MCStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
  985 void MCStreamer::visitUsedSymbol(const MCSymbol &Sym) {
 1021 void MCStreamer::emitAbsoluteSymbolDiff(const MCSymbol *Hi, const MCSymbol *Lo,
 1021 void MCStreamer::emitAbsoluteSymbolDiff(const MCSymbol *Hi, const MCSymbol *Lo,
 1035   MCSymbol *SetLabel = Context.createTempSymbol("set", true);
 1040 void MCStreamer::emitAbsoluteSymbolDiffAsULEB128(const MCSymbol *Hi,
 1041                                                  const MCSymbol *Lo) {
 1051 void MCStreamer::EmitThumbFunc(MCSymbol *Func) {}
 1052 void MCStreamer::EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) {}
 1053 void MCStreamer::BeginCOFFSymbolDef(const MCSymbol *Symbol) {
 1066 void MCStreamer::EmitXCOFFLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
 1070 void MCStreamer::emitELFSize(MCSymbol *Symbol, const MCExpr *Value) {}
 1072                                         const MCSymbol *Aliasee) {}
 1073 void MCStreamer::EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
 1075 void MCStreamer::EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
 1078 void MCStreamer::EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol) {}
 1078 void MCStreamer::EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol) {}
 1109     MCSymbol *Sym = Section->getBeginSymbol();
 1115 MCSymbol *MCStreamer::endSection(MCSection *Section) {
 1118   MCSymbol *Sym = Section->getEndSymbol(Context);
lib/MC/MCSymbol.cpp
   40   static_assert((unsigned)alignof(MCSymbol) <= alignof(NameEntryStorageTy),
lib/MC/MCWasmStreamer.cpp
   64   const MCSymbol *Grp = SectionWasm->getGroup();
   72 void MCWasmStreamer::EmitWeakReference(MCSymbol *Alias,
   73                                        const MCSymbol *Symbol) {
   80 bool MCWasmStreamer::EmitSymbolAttribute(MCSymbol *S, MCSymbolAttr Attribute) {
  137 void MCWasmStreamer::EmitCommonSymbol(MCSymbol *S, uint64_t Size,
  142 void MCWasmStreamer::emitELFSize(MCSymbol *Symbol, const MCExpr *Value) {
  146 void MCWasmStreamer::EmitLocalCommonSymbol(MCSymbol *S, uint64_t Size,
  212 void MCWasmStreamer::EmitThumbFunc(MCSymbol *Func) {
  216 void MCWasmStreamer::EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) {
  220 void MCWasmStreamer::EmitZerofill(MCSection *Section, MCSymbol *Symbol,
  226 void MCWasmStreamer::EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
lib/MC/MCWin64EH.cpp
   52 static void EmitAbsDifference(MCStreamer &Streamer, const MCSymbol *LHS,
   53                               const MCSymbol *RHS) {
   61 static void EmitUnwindCode(MCStreamer &streamer, const MCSymbol *begin,
  130                                  const MCSymbol *Base,
  131                                  const MCSymbol *Other) {
  160   MCSymbol *Label = context.createTempSymbol();
  251 static int64_t GetAbsDifference(MCStreamer &Streamer, const MCSymbol *LHS,
  252                                 const MCSymbol *RHS) {
  332 static void ARM64EmitUnwindCode(MCStreamer &streamer, const MCSymbol *begin,
  463 static MCSymbol*
  465                    const std::vector<MCSymbol *>& Epilogs,
  467   for (auto *EpilogStart : Epilogs) {
  499   MCSymbol *Label = context.createTempSymbol();
  547   MapVector<MCSymbol *, uint32_t> EpilogInfo;
  549   std::vector<MCSymbol *> AddedEpilogs;
  552     MCSymbol *EpilogStart = I.first;
  556     MCSymbol* MatchingEpilog =
  605     MCSymbol *EpilogStart = I.first;
lib/MC/MCWinCOFFStreamer.cpp
   85 void MCWinCOFFStreamer::EmitLabel(MCSymbol *S, SMLoc Loc) {
  106 void MCWinCOFFStreamer::EmitThumbFunc(MCSymbol *Func) {
  110 bool MCWinCOFFStreamer::EmitSymbolAttribute(MCSymbol *S,
  132 void MCWinCOFFStreamer::EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) {
  136 void MCWinCOFFStreamer::BeginCOFFSymbolDef(MCSymbol const *S) {
  181 void MCWinCOFFStreamer::EmitCOFFSafeSEH(MCSymbol const *Symbol) {
  208 void MCWinCOFFStreamer::EmitCOFFSymbolIndex(MCSymbol const *Symbol) {
  219 void MCWinCOFFStreamer::EmitCOFFSectionIndex(const MCSymbol *Symbol) {
  228 void MCWinCOFFStreamer::EmitCOFFSecRel32(const MCSymbol *Symbol,
  246 void MCWinCOFFStreamer::EmitCOFFImgRel32(const MCSymbol *Symbol,
  265 void MCWinCOFFStreamer::EmitCommonSymbol(MCSymbol *S, uint64_t Size,
  297 void MCWinCOFFStreamer::EmitLocalCommonSymbol(MCSymbol *S, uint64_t Size,
  311 void MCWinCOFFStreamer::EmitZerofill(MCSection *Section, MCSymbol *Symbol,
  317 void MCWinCOFFStreamer::EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
lib/MC/MCXCOFFStreamer.cpp
   30 bool MCXCOFFStreamer::EmitSymbolAttribute(MCSymbol *Sym,
   46 void MCXCOFFStreamer::EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
   64 void MCXCOFFStreamer::EmitZerofill(MCSection *Section, MCSymbol *Symbol,
   97 void MCXCOFFStreamer::EmitXCOFFLocalCommonSymbol(MCSymbol *Symbol,
lib/MC/MachObjectWriter.cpp
   55 bool MachObjectWriter::doesSymbolRequireExternRelocation(const MCSymbol &S) {
   87 uint64_t MachObjectWriter::getSymbolAddress(const MCSymbol &S,
  316 MachObjectWriter::findSymbolData(const MCSymbol &Sym) {
  326 const MCSymbol &MachObjectWriter::findAliasedSymbol(const MCSymbol &Sym) const {
  326 const MCSymbol &MachObjectWriter::findAliasedSymbol(const MCSymbol &Sym) const {
  327   const MCSymbol *S = &Sym;
  340   const MCSymbol *Symbol = MSD.Symbol;
  341   const MCSymbol &Data = *Symbol;
  342   const MCSymbol *AliasedSymbol = &findAliasedSymbol(*Symbol);
  348   const MCSymbol &OrigSymbol = *Symbol;
  495       MCSymbol &Symbol = *it->Symbol;
  554   for (const MCSymbol &Symbol : Asm.symbols()) {
  567   for (const MCSymbol &Symbol : Asm.symbols()) {
  593   for (const MCSymbol &Symbol : Asm.symbols()) {
  666     const MCAssembler &Asm, const MCSymbol &A, const MCSymbol &B,
  666     const MCAssembler &Asm, const MCSymbol &A, const MCSymbol &B,
  678     const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB,
  688   const MCSymbol &SA = findAliasedSymbol(SymA);
lib/MC/WasmObjectWriter.cpp
  249   DenseMap<const MCSection *, const MCSymbol *> SectionFunctions;
  413   for (const MCSymbol &S : Asm.symbols()) {
  482     const MCSymbol *SectionSymbol = nullptr;
 1144   for (const MCSymbol &S : Asm.symbols()) {
 1199   for (const MCSymbol &S : Asm.symbols()) {
 1260       MCSymbol *Begin = Sec.getBeginSymbol();
 1284   for (const MCSymbol &S : Asm.symbols()) {
 1402   for (const MCSymbol &S : Asm.symbols()) {
 1432   for (const MCSymbol &S : Asm.symbols()) {
lib/MC/WinCOFFObjectWriter.cpp
   85   const MCSymbol *MC = nullptr;
  131   using symbol_map = DenseMap<MCSymbol const *, COFFSymbol *>;
  150   std::vector<const MCSymbol *> AddrsigSyms;
  167   COFFSymbol *GetOrCreateCOFFSymbol(const MCSymbol *Symbol);
  172   COFFSymbol *getLinkedSymbol(const MCSymbol &Symbol);
  173   void DefineSymbol(const MCSymbol &Symbol, MCAssembler &Assembler,
  199                                               const MCSymbol &SymA,
  212   void addAddrsigSymbol(const MCSymbol *Sym) override {
  246 COFFSymbol *WinCOFFObjectWriter::GetOrCreateCOFFSymbol(const MCSymbol *Symbol) {
  303     if (const MCSymbol *S = MCSec.getCOMDATSymbol()) {
  326 static uint64_t getSymbolValue(const MCSymbol &Symbol,
  338 COFFSymbol *WinCOFFObjectWriter::getLinkedSymbol(const MCSymbol &Symbol) {
  347   const MCSymbol &Aliasee = SymRef->getSymbol();
  355 void WinCOFFObjectWriter::DefineSymbol(const MCSymbol &MCSym,
  359   const MCSymbol *Base = Layout.getBaseSymbol(MCSym);
  675   for (const MCSymbol &Symbol : Asm.symbols())
  681     const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB,
  703   const MCSymbol &A = Target.getSymA()->getSymbol();
  727     const MCSymbol *B = &SymB->getSymbol();
 1010     const MCSymbol *AssocMCSym = MCSec.getCOMDATSymbol();
 1039     for (const MCSymbol *S : AddrsigSyms) {
lib/MC/XCOFFObjectWriter.cpp
  294   for (const MCSymbol &S : Asm.symbols()) {
lib/Object/RecordStreamer.cpp
   17 void RecordStreamer::markDefined(const MCSymbol &Symbol) {
   36 void RecordStreamer::markGlobal(const MCSymbol &Symbol,
   56 void RecordStreamer::markUsed(const MCSymbol &Symbol) {
   73 void RecordStreamer::visitUsedSymbol(const MCSymbol &Sym) { markUsed(Sym); }
   89 void RecordStreamer::EmitLabel(MCSymbol *Symbol, SMLoc Loc) {
   94 void RecordStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
   99 bool RecordStreamer::EmitSymbolAttribute(MCSymbol *Symbol,
  108 void RecordStreamer::EmitZerofill(MCSection *Section, MCSymbol *Symbol,
  114 void RecordStreamer::EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
  119 RecordStreamer::State RecordStreamer::getSymbolState(const MCSymbol *Sym) {
  127                                             const MCSymbol *Aliasee) {
  155     const MCSymbol *Aliasee = Symver.first;
  220       MCSymbol *Alias = getContext().getOrCreateSymbol(AliasName);
lib/Object/RecordStreamer.h
   36   DenseMap<const MCSymbol *, std::vector<StringRef>> SymverAliasMap;
   39   State getSymbolState(const MCSymbol *Sym);
   41   void markDefined(const MCSymbol &Symbol);
   42   void markGlobal(const MCSymbol &Symbol, MCSymbolAttr Attribute);
   43   void markUsed(const MCSymbol &Symbol);
   44   void visitUsedSymbol(const MCSymbol &Sym) override;
   50   void EmitLabel(MCSymbol *Symbol, SMLoc Loc = SMLoc()) override;
   51   void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) override;
   52   bool EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) override;
   53   void EmitZerofill(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
   55   void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
   61   void BeginCOFFSymbolDef(const MCSymbol *Symbol) override {}
   68                               const MCSymbol *Aliasee) override;
lib/Target/AArch64/AArch64AsmPrinter.cpp
  103   std::map<HwasanMemaccessTuple, MCSymbol *> HwasanMemaccessSymbols;
  166   MCSymbol *GetCPISymbol(unsigned CPID) const override;
  177   using MInstToMCSymbol = std::map<const MachineInstr *, MCSymbol *>;
  244   MCSymbol *&Sym =
  272   MCSymbol *HwasanTagMismatchV1Sym =
  274   MCSymbol *HwasanTagMismatchV2Sym =
  288     MCSymbol *Sym = P.second;
  320     MCSymbol *HandleMismatchOrPartialSym = OutContext.createTempSymbol();
  327     MCSymbol *ReturnSym = OutContext.createTempSymbol();
  340       MCSymbol *HandleMismatchSym = OutContext.createTempSymbol();
  466   SmallVector<MCSymbol *, 3> MCArgs;
  486 MCSymbol *AArch64AsmPrinter::GetCPISymbol(unsigned CPID) const {
  520     MCSymbol *Sym = GetBlockAddressSymbol(MO.getBlockAddress());
  736     const MCSymbol *BaseSym = AFI->getJumpTableEntryPCRelSymbol(JTI);
  913     MCSymbol *LOHLabel = createTempSymbol("loh");
lib/Target/AArch64/AArch64FastISel.cpp
 3196   MCSymbol *Symbol = CLI.Symbol;
lib/Target/AArch64/AArch64FrameLowering.cpp
  921         MCSymbol *FrameLabel = MMI.getContext().createTempSymbol();
lib/Target/AArch64/AArch64MCInstLower.cpp
   36 MCSymbol *
   59   MCSymbol *MCSym = Ctx.getOrCreateSymbol(Name);
   74 MCSymbol *
   80                                                        MCSymbol *Sym) const {
  115                                                     MCSymbol *Sym) const {
  192                                                      MCSymbol *Sym) const {
  242                                                  MCSymbol *Sym) const {
lib/Target/AArch64/AArch64MCInstLower.h
   41                                      MCSymbol *Sym) const;
   43                                   MCSymbol *Sym) const;
   45                                    MCSymbol *Sym) const;
   46   MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;
   48   MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const;
   49   MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const;
lib/Target/AArch64/AArch64MachineFunctionInfo.h
  253   MCSymbol *getJumpTableEntryPCRelSymbol(int Idx) const {
  256   void setJumpTableEntryInfo(int Idx, unsigned Size, MCSymbol *PCRelSym) {
  310   DenseMap<int, std::pair<unsigned, MCSymbol *>> JumpTableEntryInfo;
lib/Target/AArch64/AArch64TargetObjectFile.cpp
   42     const MCSymbol *Sym = TM.getSymbol(GV);
   45     MCSymbol *PCSym = getContext().createTempSymbol();
   55 MCSymbol *AArch64_MachoTargetObjectFile::getCFIPersonalitySymbol(
   62     const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV,
   70   MCSymbol *PCSym = getContext().createTempSymbol();
lib/Target/AArch64/AArch64TargetObjectFile.h
   34   MCSymbol *getCFIPersonalitySymbol(const GlobalValue *GV,
   39                                           const MCSymbol *Sym,
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
 5303   MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
 5345   SmallVector<MCSymbol *, 3> Args;
lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
   54     const MCSymbol *Sym, unsigned Encoding, MCStreamer &Streamer) const {
   62   MCSymbol *PCSym = Context.createTempSymbol();
lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.h
   28   getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding,
lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
  125                                   const MCSymbol &Symbol, unsigned Log2Size) {
  164   const MCSymbol *RelSymbol = nullptr;
  220     const MCSymbol *A = &Target.getSymA()->getSymbol();
  221     const MCSymbol *A_Base = Asm.getAtom(*A);
  223     const MCSymbol *B = &Target.getSymB()->getSymbol();
  224     const MCSymbol *B_Base = Asm.getAtom(*B);
  301     const MCSymbol *Symbol = &Target.getSymA()->getSymbol();
  322     const MCSymbol *Base = Asm.getAtom(*Symbol);
lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.h
   77   MCSymbol *CurrentEpilog = nullptr;
lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.cpp
   71   MCSymbol *Label = S.EmitCFILabel();
  161   MCSymbol *Label = S.EmitCFILabel();
  185   MCSymbol *Label = S.EmitCFILabel();
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  302     MCSymbol *GVSym = getSymbol(GV);
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"));
 1124         MCSymbol *Sym =
 1132         MCSymbol *Sym =
 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
  211 void AMDGPUTargetAsmStreamer::emitAMDGPULDS(MCSymbol *Symbol, unsigned Size,
  508 void AMDGPUTargetELFStreamer::emitAMDGPULDS(MCSymbol *Symbol, unsigned Size,
  533   auto *DescBegin = Context.createTempSymbol();
  534   auto *DescEnd = Context.createTempSymbol();
  560   auto *DescBegin = Context.createTempSymbol();
  561   auto *DescEnd = Context.createTempSymbol();
  584   auto *DescBegin = Context.createTempSymbol();
  585   auto *DescEnd = Context.createTempSymbol();
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
   56   virtual void emitAMDGPULDS(MCSymbol *Symbol, unsigned Size,
  113   void emitAMDGPULDS(MCSymbol *Sym, unsigned Size, unsigned Align) override;
  160   void emitAMDGPULDS(MCSymbol *Sym, unsigned Size, unsigned Align) override;
lib/Target/ARC/ARCMCInstLower.cpp
   33   const MCSymbol *Symbol;
lib/Target/ARM/ARMAsmPrinter.cpp
  172     for (std::pair<unsigned, MCSymbol *> &TIP : ThumbIndirectPads) {
  242 MCSymbol *ARMAsmPrinter::GetCPISymbol(unsigned CPID) const {
  253 MCSymbol *ARMAsmPrinter::
  491 emitNonLazySymbolPointer(MCStreamer &OutStreamer, MCSymbol *StubLabel,
  765 static MCSymbol *getBFLabel(StringRef Prefix, unsigned FunctionNumber,
  768   MCSymbol *Label = Ctx.getOrCreateSymbol(Twine(Prefix)
  773 static MCSymbol *getPICLabel(StringRef Prefix, unsigned FunctionNumber,
  776   MCSymbol *Label = Ctx.getOrCreateSymbol(Twine(Prefix)
  802 MCSymbol *ARMAsmPrinter::GetARMGVSymbol(const GlobalValue *GV,
  812     MCSymbol *MCSym = getSymbolWithGlobalValueBase(GV, "$non_lazy_ptr");
  839     MCSymbol *MCSym = OutContext.getOrCreateSymbol(Name);
  878         MCSymbol *GVSym = getSymbol(GV);
  886   MCSymbol *MCSym;
  915     MCSymbol *PCLabel =
  927       MCSymbol *DotSym = OutContext.createTempSymbol();
  946   MCSymbol *JTISymbol = GetARMJTIPICJumpTableLabel(JTI);
  992   MCSymbol *JTISymbol = GetARMJTIPICJumpTableLabel(JTI);
 1020   MCSymbol *JTISymbol = GetARMJTIPICJumpTableLabel(JTI);
 1046     MCSymbol *TBInstPC = GetCPISymbol(MI->getOperand(0).getImm());
 1274     MCSymbol *CPISymbol = GetCPISymbol(MI->getOperand(1).getIndex());
 1289     MCSymbol *JTIPICSymbol =
 1330     MCSymbol *TRegSym = nullptr;
 1331     for (std::pair<unsigned, MCSymbol *> &TIP : ThumbIndirectPads) {
 1383     MCSymbol *GVSym = GetARMGVSymbol(GV, TF);
 1400     MCSymbol *GVSym = GetARMGVSymbol(GV, TF);
 1403     MCSymbol *LabelSym =
 1433     MCSymbol *GVSym = GetARMGVSymbol(GV, TF);
 1436     MCSymbol *LabelSym =
 1849     MCSymbol *Label = OutContext.createTempSymbol("SJLJEH", false, true);
lib/Target/ARM/ARMAsmPrinter.h
   51   SmallVector<std::pair<unsigned, MCSymbol*>, 4> ThumbIndirectPads;
  103   MCSymbol *GetCPISymbol(unsigned CPID) const override;
  145   MCOperand GetSymbolRef(const MachineOperand &MO, const MCSymbol *Symbol);
  146   MCSymbol *GetARMJTIPICJumpTableLabel(unsigned uid) const;
  148   MCSymbol *GetARMGVSymbol(const GlobalValue *GV, unsigned char TargetFlags);
lib/Target/ARM/ARMISelLowering.cpp
 9490       MCSymbol *Sym = II->getOperand(0).getMCSymbol();
lib/Target/ARM/ARMMCInstLower.cpp
   39                                       const MCSymbol *Symbol) {
lib/Target/ARM/ARMTargetObjectFile.cpp
   70 getDebugThreadLocalSymbol(const MCSymbol *Sym) const {
lib/Target/ARM/ARMTargetObjectFile.h
   33   const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const override;
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  661   void doBeforeLabelEmit(MCSymbol *Symbol) override;
  663   void onLabelParsed(MCSymbol *Symbol) override;
 8303       MCSymbol *Dot = getContext().createTempSymbol();
10617 void ARMAsmParser::doBeforeLabelEmit(MCSymbol *Symbol) {
10623 void ARMAsmParser::onLabelParsed(MCSymbol *Symbol) {
10643       MCSymbol *Func = getParser().getContext().getOrCreateSymbol(
11034   MCSymbol *PR = getParser().getContext().getOrCreateSymbol(Name);
11487   MCSymbol *Sym;
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
  872   const MCSymbol *Sym = A ? &A->getSymbol() : nullptr;
lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
   41     bool needsRelocateWithSymbol(const MCSymbol &Sym,
   54 bool ARMELFObjectWriter::needsRelocateWithSymbol(const MCSymbol &Sym,
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
   79   void emitPersonality(const MCSymbol *Personality) override;
  103   void emitThumbSet(MCSymbol *Symbol, const MCExpr *Value) override;
  121 void ARMTargetAsmStreamer::emitPersonality(const MCSymbol *Personality) {
  244 void ARMTargetAsmStreamer::emitThumbSet(MCSymbol *Symbol, const MCExpr *Value) {
  391   void emitPersonality(const MCSymbol *Personality) override;
  412   void emitLabel(MCSymbol *Symbol) override;
  415   void emitThumbSet(MCSymbol *Symbol, const MCExpr *Value) override;
  459   void emitPersonality(const MCSymbol *Per);
  667   void EmitThumbFunc(MCSymbol *Func) override {
  683                          SectionKind Kind, const MCSymbol &Fn);
  684   void SwitchToExTabSection(const MCSymbol &FnStart);
  685   void SwitchToExIdxSection(const MCSymbol &FnStart);
  698   MCSymbol *ExTab;
  699   MCSymbol *FnStart;
  700   const MCSymbol *Personality;
  722 void ARMTargetELFStreamer::emitPersonality(const MCSymbol *Personality) {
 1136 void ARMTargetELFStreamer::emitLabel(MCSymbol *Symbol) {
 1152 void ARMTargetELFStreamer::emitThumbSet(MCSymbol *Symbol, const MCExpr *Value) {
 1154     const MCSymbol &Sym = SRE->getSymbol();
 1197                                               const MCSymbol &Fn) {
 1223 inline void ARMELFStreamer::SwitchToExTabSection(const MCSymbol &FnStart) {
 1228 inline void ARMELFStreamer::SwitchToExIdxSection(const MCSymbol &FnStart) {
 1317   const MCSymbol *PersonalitySym = getContext().getOrCreateSymbol(Name);
 1398 void ARMELFStreamer::emitPersonality(const MCSymbol *Per) {
lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
   49                                 const MCSymbol &S, uint64_t FixedValue);
  161   const MCSymbol *A = &Target.getSymA()->getSymbol();
  176     const MCSymbol *SB = &B->getSymbol();
  275   const MCSymbol *A = &Target.getSymA()->getSymbol();
  291     const MCSymbol *SB = &B->getSymbol();
  333                                                    const MCSymbol &S,
  407   const MCSymbol *A = nullptr;
  429   const MCSymbol *RelSymbol = nullptr;
lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp
   91 void ARMTargetStreamer::emitPersonality(const MCSymbol *Personality) {}
  117 void ARMTargetStreamer::emitThumbSet(MCSymbol *Symbol, const MCExpr *Value) {}
lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.h
   45   void setPersonality(const MCSymbol *Per) {
lib/Target/ARM/MCTargetDesc/ARMWinCOFFStreamer.cpp
   25   void EmitThumbFunc(MCSymbol *Symbol) override;
   29 void ARMWinCOFFStreamer::EmitThumbFunc(MCSymbol *Symbol) {
lib/Target/AVR/AVRMCInstLower.cpp
   27                                              MCSymbol *Sym) const {
lib/Target/AVR/AVRMCInstLower.h
   32   MCOperand lowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;
lib/Target/AVR/AsmParser/AVRAsmParser.cpp
  652     MCSymbol *Symbol = getContext().getOrCreateSymbol(".text");
  669     MCSymbol *Symbol =
lib/Target/AVR/MCTargetDesc/AVRMCELFStreamer.cpp
   24     const MCSymbol *Sym, unsigned SizeInBytes, SMLoc Loc,
lib/Target/AVR/MCTargetDesc/AVRMCELFStreamer.h
   45       const MCSymbol *Sym, unsigned SizeInBytes, SMLoc Loc = SMLoc(),
lib/Target/AVR/MCTargetDesc/AVRTargetStreamer.cpp
   28   MCSymbol *DoCopyData = Context.getOrCreateSymbol("__do_copy_data");
   29   MCSymbol *DoClearBss = Context.getOrCreateSymbol("__do_clear_bss");
lib/Target/BPF/BPFAsmPrinter.cpp
   94     MCSymbol *BA = GetBlockAddressSymbol(MO.getBlockAddress());
lib/Target/BPF/BPFMCInstLower.cpp
   26 MCSymbol *
   31 MCSymbol *
   37                                              MCSymbol *Sym) const {
lib/Target/BPF/BPFMCInstLower.h
   36   MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;
   38   MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const;
   39   MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const;
lib/Target/BPF/BTFDebug.cpp
  694 void BTFDebug::constructLineInfo(const DISubprogram *SP, MCSymbol *Label,
  908   MCSymbol *FuncLabel = Asm->getFunctionBegin();
  941                                    const MCSymbol *ORSym, DIType *RootTy,
  993       MCSymbol *ORSym = OS.getContext().createTempSymbol();
 1034       MCSymbol *FuncLabel = Asm->getFunctionBegin();
 1043   MCSymbol *LineSym = OS.getContext().createTempSymbol();
lib/Target/BPF/BTFDebug.h
  176   std::vector<std::tuple<uint32_t, const MCSymbol *, uint32_t>> Vars;
  183   void addVar(uint32_t Id, const MCSymbol *Sym, uint32_t Size) {
  213   const MCSymbol *Label; ///< Func MCSymbol
  219   MCSymbol *Label;      ///< MCSymbol identifying insn for the lineinfo
  228   const MCSymbol *Label;  ///< MCSymbol identifying insn for the reloc
  290   void constructLineInfo(const DISubprogram *SP, MCSymbol *Label, uint32_t Line,
  297   void generateFieldReloc(const MachineInstr *MI, const MCSymbol *ORSym,
  345   void setSymbolSize(const MCSymbol *Symbol, uint64_t Size) override {}
lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp
   54       const MCSymbol &Sym = A->getSymbol();
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
  738   MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
 1490       MCSymbol *Sym;
lib/Target/Hexagon/HexagonAsmPrinter.cpp
  180 static MCSymbol *smallData(AsmPrinter &AP, const MachineInstr &MI,
  183   MCSymbol *Sym;
  218     MCSymbol *MOSymbol = nullptr;
  331       MCSymbol *Sym = smallData(*this, MI, *OutStreamer, Imm, 8);
  348       MCSymbol *Sym = smallData(*this, MI, *OutStreamer, Imm, 4);
lib/Target/Hexagon/HexagonFrameLowering.cpp
  894   MCSymbol *FrameLabel = MMI.getContext().createTempSymbol();
lib/Target/Hexagon/HexagonMCInstLower.cpp
   41 static MCOperand GetSymbolRef(const MachineOperand &MO, const MCSymbol *Symbol,
lib/Target/Hexagon/HexagonTargetStreamer.h
   21   virtual void EmitCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size,
   24   virtual void EmitLocalCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size,
lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp
   87 void HexagonMCELFStreamer::HexagonMCEmitCommonSymbol(MCSymbol *Symbol,
  139 void HexagonMCELFStreamer::HexagonMCEmitLocalCommonSymbol(MCSymbol *Symbol,
lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.h
   35   void HexagonMCEmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
   38   void HexagonMCEmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
  188   void EmitCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size,
  197   void EmitLocalCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size,
lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp
  766   MCSymbol *Sym = getContext().getOrCreateSymbol(Identifier);
lib/Target/Lanai/LanaiAsmPrinter.cpp
   86     MCSymbol *BA = GetBlockAddressSymbol(MO.getBlockAddress());
lib/Target/Lanai/LanaiMCInstLower.cpp
   32 MCSymbol *
   37 MCSymbol *
   42 MCSymbol *
   47 MCSymbol *LanaiMCInstLower::GetJumpTableSymbol(const MachineOperand &MO) const {
   56 MCSymbol *
   67                                                MCSymbol *Sym) const {
lib/Target/Lanai/LanaiMCInstLower.h
   36   MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;
   38   MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const;
   39   MCSymbol *GetBlockAddressSymbol(const MachineOperand &MO) const;
   40   MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const;
   41   MCSymbol *GetJumpTableSymbol(const MachineOperand &MO) const;
   42   MCSymbol *GetConstantPoolIndexSymbol(const MachineOperand &MO) const;
lib/Target/Lanai/MCTargetDesc/LanaiELFObjectWriter.cpp
   29   bool needsRelocateWithSymbol(const MCSymbol &SD,
   75 bool LanaiELFObjectWriter::needsRelocateWithSymbol(const MCSymbol & /*SD*/,
lib/Target/MSP430/AsmParser/MSP430AsmParser.cpp
  416     MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
lib/Target/MSP430/MSP430AsmPrinter.cpp
  171   const MCSymbol *FunctionSymbol = getSymbol(F);
lib/Target/MSP430/MSP430MCInstLower.cpp
   30 MCSymbol *MSP430MCInstLower::
   40 MCSymbol *MSP430MCInstLower::
   50 MCSymbol *MSP430MCInstLower::
   67 MCSymbol *MSP430MCInstLower::
   84 MCSymbol *MSP430MCInstLower::
   95 LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const {
lib/Target/MSP430/MSP430MCInstLower.h
   35   MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;
   37   MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const;
   38   MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const;
   39   MCSymbol *GetJumpTableSymbol(const MachineOperand &MO) const;
   40   MCSymbol *GetConstantPoolIndexSymbol(const MachineOperand &MO) const;
   41   MCSymbol *GetBlockAddressSymbol(const MachineOperand &MO) const;
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  142   MCSymbol *CurrentFn; // Pointer to the function being parsed. It may be a
  232   bool emitPartialAddress(MipsTargetStreamer &TOut, SMLoc IDLoc, MCSymbol *Sym);
 1742 static const MCSymbol *getSingleMCSymbol(const MCExpr *Expr) {
 1748     const MCSymbol *LHSSym = getSingleMCSymbol(BExpr->getLHS());
 1749     const MCSymbol *RHSSym = getSingleMCSymbol(BExpr->getRHS());
 2032     const MCSymbol *JalSym = getSingleMCSymbol(JalExpr);
 2052       MCSymbol *TmpLabel = getContext().createTempSymbol();
 3204                                        MCSymbol *Sym) {
 3329   MCSymbol *Sym = getContext().createTempSymbol();
 3381   MCSymbol *Sym = getContext().createTempSymbol();
 3464   MCSymbol *Sym = getContext().createTempSymbol();
 4123   MCSymbol *BrTarget;
 4158   MCSymbol *BrTargetEnd = Context.createTempSymbol();
 4974     MCSymbol * BrTarget = Context.createTempSymbol();
 5011     MCSymbol * BrTarget = Context.createTempSymbol();
 6026     MCSymbol *Sym = getContext().getOrCreateSymbol("$" + Identifier);
 6243   MCSymbol *Sym = getContext().lookupSymbol(Parser.getTok().getIdentifier());
 7099   MCSymbol *Sym;
 8247     MCSymbol *Sym = getContext().getOrCreateSymbol(SymbolName);
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
  576 bool MipsAsmBackend::isMicroMips(const MCSymbol *Sym) const {
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h
   93   bool isMicroMips(const MCSymbol *Sym) const override;
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
   65   bool needsRelocateWithSymbol(const MCSymbol &Sym,
  531 bool MipsELFObjectWriter::needsRelocateWithSymbol(const MCSymbol &Sym,
lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp
   61 MCSymbol *MipsELFStreamer::EmitCFILabel() {
   62   MCSymbol *Label = getContext().createTempSymbol("cfi", true);
   78     for (auto *L : Labels) {
   88 void MipsELFStreamer::EmitLabel(MCSymbol *Symbol, SMLoc Loc) {
lib/Target/Mips/MCTargetDesc/MipsELFStreamer.h
   33   SmallVector<MCSymbol*, 4> Labels;
   49   void EmitLabel(MCSymbol *Symbol, SMLoc Loc = SMLoc()) override;
   66   MCSymbol *EmitCFILabel() override;
lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
   75 void MipsTargetStreamer::emitDirectiveEnt(const MCSymbol &Symbol) {}
  142                                               const MCSymbol &Sym, bool IsReg) {
  514 void MipsTargetAsmStreamer::emitDirectiveEnt(const MCSymbol &Symbol) {
  710                                                  const MCSymbol &Sym,
  881 void MipsTargetELFStreamer::emitLabel(MCSymbol *S) {
  966 void MipsTargetELFStreamer::emitAssignment(MCSymbol *S, const MCExpr *Value) {
 1024   MCSymbol *Sym = Context.getOrCreateSymbol(Name);
 1054   MCSymbol *CurPCSym = Context.createTempSymbol();
 1066 void MipsTargetELFStreamer::emitDirectiveEnt(const MCSymbol &Symbol) {
 1165   MCSymbol *GP_Disp = MCA.getContext().getOrCreateSymbol(SymName);
 1231                                                  const MCSymbol &Sym,
 1252     MCSymbol *GPSym = MCA.getContext().getOrCreateSymbol("__gnu_local_gp");
lib/Target/Mips/MipsAsmPrinter.cpp
  170       MCSymbol *Callee = MO.getMCSymbol();
  172         MCSymbol *OffsetLabel = OutContext.createTempSymbol();
  701       MCSymbol *BA = GetBlockAddressSymbol(MO.getBlockAddress());
  852 void MipsAsmPrinter::EmitJal(const MCSubtargetInfo &STI, MCSymbol *Symbol) {
  974   MCSymbol *MSymbol = OutContext.getOrCreateSymbol(StringRef(Symbol));
 1068   MCSymbol *MType =
 1109   MCSymbol *Tmp = OutContext.createTempSymbol();
lib/Target/Mips/MipsAsmPrinter.h
   89   void EmitJal(const MCSubtargetInfo &STI, MCSymbol *Symbol);
lib/Target/Mips/MipsFastISel.cpp
  208   unsigned materializeExternalCallSym(MCSymbol *Syn);
  436 unsigned MipsFastISel::materializeExternalCallSym(MCSymbol *Sym) {
 1500   MCSymbol *Symbol = CLI.Symbol;
lib/Target/Mips/MipsISelLowering.cpp
 3007       MCSymbol *S = MF->getContext().getOrCreateSymbol(Sym);
lib/Target/Mips/MipsMCInstLower.cpp
   41   const MCSymbol *Symbol;
lib/Target/Mips/MipsTargetObjectFile.cpp
  189 MipsTargetObjectFile::getDebugThreadLocalSymbol(const MCSymbol *Sym) const {
lib/Target/Mips/MipsTargetObjectFile.h
   45     const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const override;
lib/Target/Mips/MipsTargetStreamer.h
   55   virtual void emitDirectiveEnt(const MCSymbol &Symbol);
   99                                     const MCSymbol &Sym, bool IsReg);
  238   void emitDirectiveEnt(const MCSymbol &Symbol) override;
  289                             const MCSymbol &Sym, bool IsReg) override;
  323   void emitLabel(MCSymbol *Symbol) override;
  324   void emitAssignment(MCSymbol *Symbol, const MCExpr *Value) override;
  335   void emitDirectiveEnt(const MCSymbol &Symbol) override;
  353                             const MCSymbol &Sym, bool IsReg) override;
lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.cpp
  307   const MCSymbol &Sym = cast<MCSymbolRefExpr>(Expr)->getSymbol();
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  324 MCOperand NVPTXAsmPrinter::GetSymbolRef(const MCSymbol *Symbol) {
  503 const MCSymbol *NVPTXAsmPrinter::getFunctionFrameSymbol() const {
 2112     const MCSymbol &Sym = SRE.getSymbol();
lib/Target/NVPTX/NVPTXAsmPrinter.h
  162               MCSymbol *Name = AP.getSymbol(GVar);
  212   MCOperand GetSymbolRef(const MCSymbol *Symbol);
  305   const MCSymbol *getFunctionFrameSymbol() const override;
lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
   31     bool needsRelocateWithSymbol(const MCSymbol &Sym,
  427 bool PPCELFObjectWriter::needsRelocateWithSymbol(const MCSymbol &Sym,
lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
  110   void emitTCEntry(const MCSymbol &S) override {
  145   void emitTCEntry(const MCSymbol &S) override {
  187   void emitAssignment(MCSymbol *S, const MCExpr *Value) override {
  223   void emitTCEntry(const MCSymbol &S) override {
  245   void emitTCEntry(const MCSymbol &S) override {
lib/Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp
  206   const MCSymbol *A = &Target.getSymA()->getSymbol();
  218     const MCSymbol *SB = &B->getSymbol();
  323   const MCSymbol *A = nullptr;
  332   const MCSymbol *RelSymbol = nullptr;
lib/Target/PowerPC/PPCAsmPrinter.cpp
   81   MapVector<const MCSymbol *, MCSymbol *> TOC;
   81   MapVector<const MCSymbol *, MCSymbol *> TOC;
   92   MCSymbol *lookUpOrCreateTOCEntry(const MCSymbol *Sym);
   92   MCSymbol *lookUpOrCreateTOCEntry(const MCSymbol *Sym);
  185   MCSymbol *SymToPrint;
  341 MCSymbol *PPCAsmPrinter::lookUpOrCreateTOCEntry(const MCSymbol *Sym) {
  341 MCSymbol *PPCAsmPrinter::lookUpOrCreateTOCEntry(const MCSymbol *Sym) {
  342   MCSymbol *&TOCEntry = TOC[Sym];
  454     MCSymbol *MOSymbol = getSymbol(GValue);
  480   MCSymbol *TlsGetAddr = OutContext.getOrCreateSymbol(Name);
  506   MCSymbol *MOSymbol = getSymbol(GValue);
  517 static MCSymbol *getMCSymbolForTOCPseudoMO(const MachineOperand &MO,
  587     MCSymbol *GOTSymbol =
  606     MCSymbol *PICBase = MF->getPICBaseSymbol();
  630       MCSymbol *BaseSymbol = OutContext.getOrCreateSymbol(
  650       MCSymbol *PICOffset =
  691     const MCSymbol *const MOSymbol = getMCSymbolForTOCPseudoMO(MO, *this);
  707     MCSymbol *TOCEntry = lookUpOrCreateTOCEntry(MOSymbol);
  751     MCSymbol *TOCEntry =
  778     MCSymbol *MOSymbol = getMCSymbolForTOCPseudoMO(MO, *this);
  784     MCSymbol *TOCEntry = lookUpOrCreateTOCEntry(MOSymbol);
  808     MCSymbol *MOSymbol = getMCSymbolForTOCPseudoMO(MO, *this);
  814     MCSymbol *TOCEntry = lookUpOrCreateTOCEntry(MOSymbol);
  838     const MCSymbol *MOSymbol = getMCSymbolForTOCPseudoMO(MO, *this);
  884     const MCSymbol *MOSymbol = getMCSymbolForTOCPseudoMO(MO, *this);
  926     MCSymbol *MOSymbol = getSymbol(GValue);
  945     MCSymbol *MOSymbol = getSymbol(GValue);
  956     MCSymbol *GOTSymbol = OutContext.getOrCreateSymbol(StringRef("_GLOBAL_OFFSET_TABLE_"));
  957     MCSymbol *GOTRef = OutContext.createTempSymbol();
  958     MCSymbol *NextInstr = OutContext.createTempSymbol();
  984     MCSymbol *GOTSymbol =
 1005     MCSymbol *MOSymbol = getSymbol(GValue);
 1023     MCSymbol *MOSymbol = getSymbol(GValue);
 1050     MCSymbol *MOSymbol = getSymbol(GValue);
 1068     MCSymbol *MOSymbol = getSymbol(GValue);
 1097     MCSymbol *MOSymbol = getSymbol(GValue);
 1117     MCSymbol *MOSymbol = getSymbol(GValue);
 1203     MCSymbol *BeginOfSled = OutContext.createTempSymbol();
 1204     MCSymbol *EndOfSled = OutContext.createTempSymbol();
 1248     MCSymbol *FallthroughLabel;
 1292     MCSymbol *BeginOfSled = OutContext.createTempSymbol();
 1341   MCSymbol *TOCSym = OutContext.getOrCreateSymbol(Twine(".LTOC"));
 1342   MCSymbol *CurrentPos = OutContext.createTempSymbol();
 1368       MCSymbol *RelocSymbol = PPCFI->getPICOffsetSymbol();
 1369       MCSymbol *PICBase = MF->getPICBaseSymbol();
 1395       MCSymbol *TOCSymbol = OutContext.getOrCreateSymbol(StringRef(".TOC."));
 1396       MCSymbol *GlobalEPSymbol = PPCFI->getGlobalEPSymbol();
 1416   MCSymbol *Symbol1 = CurrentFnSymForSize;
 1421   MCSymbol *Symbol2 = OutContext.getOrCreateSymbol(StringRef(".TOC."));
 1451       const MCSymbol *const TOCEntryTarget = TOCMapPair.first;
 1452       MCSymbol *const TOCEntryLabel = TOCMapPair.second;
 1508     MCSymbol *GlobalEntryLabel = PPCFI->getGlobalEPSymbol();
 1514       MCSymbol *TOCSymbol = OutContext.getOrCreateSymbol(StringRef(".TOC."));
 1533       MCSymbol *TOCOffset = PPCFI->getTOCOffsetSymbol();
 1548     MCSymbol *LocalEntryLabel = PPCFI->getLocalEPSymbol();
 1668           MCSymbol *NLPSym =
 1780   MCSymbol *EmittedInitSym = GVSym;
 1800   MCSymbol *TOCBaseSym = OutContext.getOrCreateSymbol(StringRef("TOC[TC0]"));
 1816   MCSymbol *TOCBaseSym = OutContext.getOrCreateSymbol(StringRef("TOC[TC0]"));
lib/Target/PowerPC/PPCFastISel.cpp
 1554   const MCSymbol *Symbol = CLI.Symbol;
lib/Target/PowerPC/PPCISelLowering.cpp
 5315     MCSymbol *S = Context.getOrCreateSymbol(Twine(".") +
lib/Target/PowerPC/PPCMCInstLower.cpp
   36 static MCSymbol *GetSymbolFromOperand(const MachineOperand &MO,
   60   MCSymbol *Sym = Ctx.getOrCreateSymbol(Name);
   81 static MCOperand GetSymbolRef(const MachineOperand &MO, const MCSymbol *Symbol,
lib/Target/PowerPC/PPCMachineFunctionInfo.cpp
   18 MCSymbol *PPCFunctionInfo::getPICOffsetSymbol() const {
   25 MCSymbol *PPCFunctionInfo::getGlobalEPSymbol() const {
   32 MCSymbol *PPCFunctionInfo::getLocalEPSymbol() const {
   39 MCSymbol *PPCFunctionInfo::getTOCOffsetSymbol() const {
lib/Target/PowerPC/PPCMachineFunctionInfo.h
  228   MCSymbol *getPICOffsetSymbol() const;
  230   MCSymbol *getGlobalEPSymbol() const;
  231   MCSymbol *getLocalEPSymbol() const;
  232   MCSymbol *getTOCOffsetSymbol() const;
lib/Target/PowerPC/PPCTargetObjectFile.cpp
   51 getDebugThreadLocalSymbol(const MCSymbol *Sym) const {
lib/Target/PowerPC/PPCTargetObjectFile.h
   28     const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const override;
lib/Target/PowerPC/PPCTargetStreamer.h
   26   virtual void emitTCEntry(const MCSymbol &S) = 0;
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
 1183   MCSymbol *Sym = getContext().getOrCreateSymbol(Identifier);
 1236   MCSymbol *Sym = getContext().getOrCreateSymbol(Identifier);
 1625   MCSymbol *TmpLabel = Ctx.createTempSymbol(
lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp
   28   bool needsRelocateWithSymbol(const MCSymbol &Sym,
lib/Target/RISCV/MCTargetDesc/RISCVMCAsmInfo.cpp
   32 const MCExpr *RISCVMCAsmInfo::getExprForFDESymbol(const MCSymbol *Sym,
lib/Target/RISCV/MCTargetDesc/RISCVMCAsmInfo.h
   27   const MCExpr *getExprForFDESymbol(const MCSymbol *Sym, unsigned Encoding,
lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
   59   const MCSymbol *AUIPCSymbol = &AUIPCSRE->getSymbol();
  120   const MCSymbol *AUIPCSymbol = &AUIPCSRE->getSymbol();
lib/Target/RISCV/RISCVMCInstLower.cpp
   28 static MCOperand lowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym,
lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
  940       MCSymbol *Sym = getContext().getOrCreateSymbol(Identifier);
lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
   35     bool needsRelocateWithSymbol(const MCSymbol &Sym,
  115 bool SparcELFObjectWriter::needsRelocateWithSymbol(const MCSymbol &Sym,
lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp
   50 SparcELFMCAsmInfo::getExprForPersonalitySymbol(const MCSymbol *Sym,
   63 SparcELFMCAsmInfo::getExprForFDESymbol(const MCSymbol *Sym,
lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.h
   29   getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding,
   31   const MCExpr* getExprForFDESymbol(const MCSymbol *Sym,
lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp
  205     MCSymbol *Symbol = Asm.getContext().getOrCreateSymbol("__tls_get_addr");
lib/Target/Sparc/SparcAsmPrinter.cpp
   74                                       MCSymbol *Sym, MCContext &OutContext) {
   81 static MCOperand createPCXCallOP(MCSymbol *Label,
   87                                     MCSymbol *GOTLabel, MCSymbol *StartLabel,
   87                                     MCSymbol *GOTLabel, MCSymbol *StartLabel,
   88                                     MCSymbol *CurLabel,
  156 static void EmitHiLo(MCStreamer &OutStreamer,  MCSymbol *GOTSym,
  172   MCSymbol *GOTLabel   =
  222   MCSymbol *StartLabel = OutContext.createTempSymbol();
  223   MCSymbol *EndLabel   = OutContext.createTempSymbol();
  224   MCSymbol *SethiLabel = OutContext.createTempSymbol();
lib/Target/Sparc/SparcMCInstLower.cpp
   35   const MCSymbol *Symbol = nullptr;
lib/Target/Sparc/SparcTargetObjectFile.cpp
   30     MCSymbol *SSym = getSymbolWithGlobalValueBase(GV, ".DW.stub", TM);
   36       MCSymbol *Sym = TM.getSymbol(GV);
lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
 1315     MCSymbol *Sym = Ctx.createTempSymbol();
lib/Target/SystemZ/SystemZAsmPrinter.cpp
  479     MCSymbol *DotSym = OutContext.createTempSymbol();
  492     MCSymbol *DotSym = OutContext.createTempSymbol();
  544     MCSymbol *DotSym = OutContext.createTempSymbol();
  562   MCSymbol *fentry = Ctx.getOrCreateSymbol("__fentry__");
lib/Target/SystemZ/SystemZMCInstLower.cpp
   38   const MCSymbol *Symbol;
lib/Target/TargetLoweringObjectFile.cpp
  116 MCSymbol *TargetLoweringObjectFile::getSymbolWithGlobalValueBase(
  127 MCSymbol *TargetLoweringObjectFile::getCFIPersonalitySymbol(
  135                                                     const MCSymbol *Sym) const {
  329     MCSymbol *PCSym = getContext().createTempSymbol();
  337 const MCExpr *TargetLoweringObjectFile::getDebugThreadLocalSymbol(const MCSymbol *Sym) const {
lib/Target/TargetMachine.cpp
  260 MCSymbol *TargetMachine::getSymbol(const GlobalValue *GV) const {
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
  198   MCSymbol *LastLabel = nullptr;
  199   MCSymbol *LastFunctionLabel = nullptr;
  515       MCSymbol *Sym = Ctx.createTempSymbol("typeindex", true);
  611   void onLabelParsed(MCSymbol *Symbol) override {
  832   void doBeforeLabelEmit(MCSymbol *Symbol) override {
lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
  233         MCSymbol *Sym = getContext().createTempSymbol("typeindex", true);
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
 1223     MCSymbol *S = Context.getOrCreateSymbol(Twine("GCC_except_table") +
lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
   47 MCSymbol *
   70 MCSymbol *WebAssemblyMCInstLower::GetExternalSymbolSymbol(
  126                                                      MCSymbol *Sym) const {
  171   MCSymbol *Sym = Printer.createTempSymbol("typeindex");
lib/Target/WebAssembly/WebAssemblyMCInstLower.h
   34   MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const;
   35   MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const;
   36   MCOperand lowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;
lib/Target/X86/AsmParser/X86AsmParser.cpp
 1523           MCSymbol *Sym =
 1662   MCSymbol *Sym = getContext().getOrCreateSymbol(Identifier);
 2202       MCSymbol *Sym = this->getContext().getOrCreateSymbol(Id);
 3685   MCSymbol *ProcSym = getContext().getOrCreateSymbol(ProcName);
lib/Target/X86/AsmParser/X86Operand.h
  106           const MCSymbol &Sym = SRE->getSymbol();
lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
  112 X86_64MCAsmInfoDarwin::getExprForPersonalitySymbol(const MCSymbol *Sym,
lib/Target/X86/MCTargetDesc/X86MCAsmInfo.h
   34   getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding,
lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
  266   const MCSymbol &S = Ref->getSymbol();
lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
  119   const MCSymbol *RelSymbol = nullptr;
  145     const MCSymbol *A = &Target.getSymA()->getSymbol();
  148     const MCSymbol *A_Base = Asm.getAtom(*A);
  150     const MCSymbol *B = &Target.getSymB()->getSymbol();
  153     const MCSymbol *B_Base = Asm.getAtom(*B);
  217     const MCSymbol *Symbol = &Target.getSymA()->getSymbol();
  377   const MCSymbol *A = &Target.getSymA()->getSymbol();
  393     const MCSymbol *SB = &B->getSymbol();
  531   const MCSymbol *A = nullptr;
  552   const MCSymbol *RelSymbol = nullptr;
lib/Target/X86/MCTargetDesc/X86TargetStreamer.h
   21   virtual bool emitFPOProc(const MCSymbol *ProcSym, unsigned ParamsSize,
   25   virtual bool emitFPOData(const MCSymbol *ProcSym, SMLoc L = {}) = 0;
lib/Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp
   30   void EmitCVFPOData(const MCSymbol *ProcSym, SMLoc Loc) override;
   49 void X86WinCOFFStreamer::EmitCVFPOData(const MCSymbol *ProcSym, SMLoc Loc) {
lib/Target/X86/MCTargetDesc/X86WinCOFFTargetStreamer.cpp
   33   bool emitFPOProc(const MCSymbol *ProcSym, unsigned ParamsSize,
   37   bool emitFPOData(const MCSymbol *ProcSym, SMLoc L) override;
   46   MCSymbol *Label;
   57   const MCSymbol *Function = nullptr;
   58   MCSymbol *Begin = nullptr;
   59   MCSymbol *PrologueEnd = nullptr;
   60   MCSymbol *End = nullptr;
   69   DenseMap<const MCSymbol *, std::unique_ptr<FPOData>> AllFPOData;
   80   MCSymbol *emitFPOLabel();
   87   bool emitFPOProc(const MCSymbol *ProcSym, unsigned ParamsSize,
   91   bool emitFPOData(const MCSymbol *ProcSym, SMLoc L) override;
   99 bool X86WinCOFFAsmTargetStreamer::emitFPOProc(const MCSymbol *ProcSym,
  117 bool X86WinCOFFAsmTargetStreamer::emitFPOData(const MCSymbol *ProcSym,
  160 MCSymbol *X86WinCOFFTargetStreamer::emitFPOLabel() {
  161   MCSymbol *Label = getContext().createTempSymbol("cfi", true);
  166 bool X86WinCOFFTargetStreamer::emitFPOProc(const MCSymbol *ProcSym,
  198   const MCSymbol *Fn = CurFPOData->Function;
  286   void emitFrameDataRecord(MCStreamer &OS, MCSymbol *Label);
  312 void FPOStateMachine::emitFrameDataRecord(MCStreamer &OS, MCSymbol *Label) {
  385 bool X86WinCOFFTargetStreamer::emitFPOData(const MCSymbol *ProcSym, SMLoc L) {
  398   MCSymbol *FrameBegin = Ctx.createTempSymbol(),
lib/Target/X86/X86AsmPrinter.cpp
  122     MCSymbol *GVSym;
  138       MCSymbol *Sym = getSymbolWithGlobalValueBase(GV, "$non_lazy_ptr");
  228     MCSymbol *Sym = GetBlockAddressSymbol(MO.getBlockAddress());
  601     MCSymbol *S = MMI->getContext().getOrCreateSymbol(StringRef("@feat.00"));
  634 emitNonLazySymbolPointer(MCStreamer &OutStreamer, MCSymbol *StubLabel,
  714       MCSymbol *S = MMI->getContext().getOrCreateSymbol(SymbolName);
lib/Target/X86/X86FastISel.cpp
 3183   MCSymbol *Symbol = CLI.Symbol;
lib/Target/X86/X86ISelDAGToDAG.cpp
   72     MCSymbol *MCSym;
lib/Target/X86/X86ISelLowering.cpp
22715   MCSymbol *OffsetSym =
23543     MCSymbol *S = Context.getOrCreateSymbol(Twine("GCC_except_table") +
23554     MCSymbol *LSDASym = MF.getMMI().getContext().getOrCreateLSDASymbol(
30950     MCSymbol *Sym = nullptr;
lib/Target/X86/X86MCInstLower.cpp
   66   MCSymbol *GetSymbolFromOperand(const MachineOperand &MO) const;
   67   MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;
  118 MCSymbol *X86MCInstLower::GetSymbolFromOperand(const MachineOperand &MO) const {
  123   MCSymbol *Sym = nullptr;
  192                                              MCSymbol *Sym) const {
  274       MCSymbol *Label = Ctx.createTempSymbol();
  926     const MCSymbol *TlsGetAddr = Ctx.getOrCreateSymbol("__tls_get_addr");
  967     const MCSymbol *TlsGetAddr = Ctx.getOrCreateSymbol("___tls_get_addr");
 1162   MCSymbol *HandlerLabel = FaultingMI.getOperand(2).getMBB()->getSymbol();
 1189   MCSymbol *fentry = Ctx.getOrCreateSymbol("__fentry__");
 1966     MCSymbol *PICBase = MF->getPICBaseSymbol();
 2012     MCSymbol *DotSym = OutContext.createTempSymbol();
 2016     MCSymbol *OpSym = MCInstLowering.GetSymbolFromOperand(MI->getOperand(2));
lib/Target/X86/X86RetpolineThunks.cpp
  251   MCSymbol *TargetSym = MF.getContext().createTempSymbol();
lib/Target/X86/X86SpeculativeLoadHardening.cpp
 2465   MCSymbol *RetSymbol =
lib/Target/X86/X86TargetObjectFile.cpp
   32     const MCSymbol *Sym = TM.getSymbol(GV);
   43 MCSymbol *X86_64MachoTargetObjectFile::getCFIPersonalitySymbol(
   50     const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV,
   63     const MCSymbol *Sym) const {
lib/Target/X86/X86TargetObjectFile.h
   29     MCSymbol *getCFIPersonalitySymbol(const GlobalValue *GV,
   34                                             const MCSymbol *Sym,
   49     const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const override;
lib/Target/XCore/XCoreAsmPrinter.cpp
   74     void emitArrayBound(MCSymbol *Sym, const GlobalVariable *GV);
   88 void XCoreAsmPrinter::emitArrayBound(MCSymbol *Sym, const GlobalVariable *GV) {
   94     MCSymbol *SymGlob = OutContext.getOrCreateSymbol(
  116   MCSymbol *GVSym = getSymbol(GV);
lib/Target/XCore/XCoreMCInstLower.cpp
   35   const MCSymbol *Symbol;
tools/dsymutil/CompileUnit.h
  251   MCSymbol *getLabelBegin() { return LabelBegin; }
  252   void setLabelBegin(MCSymbol *S) { LabelBegin = S; }
  259   MCSymbol *LabelBegin = nullptr;
tools/dsymutil/DwarfStreamer.cpp
  211   std::vector<MCSymbol *> CompUnits;
  231   auto *SectionBegin = Asm->createTempSymbol("namespac_begin");
  239   auto *SectionBegin = Asm->createTempSymbol("names_begin");
  247   auto *SectionBegin = Asm->createTempSymbol("objc_begin");
  255   auto *SectionBegin = Asm->createTempSymbol("types_begin");
  331     MCSymbol *BeginLabel = Asm->createTempSymbol("Barange");
  332     MCSymbol *EndLabel = Asm->createTempSymbol("Earange");
  462   MCSymbol *LineStartSym = MC->createTempSymbol();
  463   MCSymbol *LineEndSym = MC->createTempSymbol();
  612   MCSymbol *BeginLabel = MC->createTempSymbol();
  613   MCSymbol *EndLabel = MC->createTempSymbol();
  627   MCSymbol *HeaderBeginLabel = MC->createTempSymbol();
  628   MCSymbol *HeaderEndLabel = MC->createTempSymbol();
  722   MCSymbol *BeginLabel = Asm->createTempSymbol("pub" + SecName + "_begin");
  723   MCSymbol *EndLabel = Asm->createTempSymbol("pub" + SecName + "_end");
tools/dsymutil/DwarfStreamer.h
  177     MCSymbol *LabelBegin;
tools/llvm-exegesis/lib/SnippetFile.cpp
   89   void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
   91   bool EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) override {
   97   void EmitZerofill(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
tools/llvm-mca/CodeRegionGenerator.cpp
   55   bool EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) override {
   59   void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
   61   void EmitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
   65   void BeginCOFFSymbolDef(const MCSymbol *Symbol) override {}
unittests/CodeGen/MachineInstrTest.cpp
  386   MCSymbol *Sym1 = MC->createTempSymbol("pre_label", false);
  387   MCSymbol *Sym2 = MC->createTempSymbol("post_label", false);
  432   MCSymbol *Sym1 = MC->createTempSymbol("pre_label", false);
  433   MCSymbol *Sym2 = MC->createTempSymbol("post_label", false);
  469   MCSymbol *Sym1 = MC->createTempSymbol("pre_label", false);
  470   MCSymbol *Sym2 = MC->createTempSymbol("post_label", false);
unittests/DebugInfo/DWARF/DwarfGenerator.cpp
  128   const MCSymbol *SectionStart =
  226   MCSymbol *EndSymbol = nullptr;
  261 MCSymbol *dwarfgen::LineTable::writeDefaultPrologue(AsmPrinter &Asm) const {
  262   MCSymbol *UnitStart = Asm.createTempSymbol("line_unit_start");
  263   MCSymbol *UnitEnd = Asm.createTempSymbol("line_unit_end");
  277   MCSymbol *PrologueStart = Asm.createTempSymbol("line_prologue_start");
  278   MCSymbol *PrologueEnd = Asm.createTempSymbol("line_prologue_end");
unittests/DebugInfo/DWARF/DwarfGenerator.h
  211   MCSymbol *writeDefaultPrologue(AsmPrinter &Asm) const;
  255   MCSymbol *StringOffsetsStartSym;
  308   MCSymbol *getStringOffsetsStartSym() const { return StringOffsetsStartSym; }
usr/include/c++/7.4.0/type_traits
  381     : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
 1554     { typedef _Tp     type; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1983     { typedef _Up     type; };