Home
last modified time | relevance | path

Searched refs:MCSymbol (Results 1 – 25 of 195) sorted by relevance

12345678

/external/llvm/include/llvm/MC/
DMCDwarf.h36 class MCSymbol; variable
135 MCSymbol *Label;
143 MCLineEntry(MCSymbol *label, const MCDwarfLoc loc) in MCLineEntry()
146 MCSymbol *getLabel() const { return Label; } in getLabel()
182 MCSymbol *Label;
191 std::pair<MCSymbol *, MCSymbol *> Emit(MCStreamer *MCOS) const;
192 std::pair<MCSymbol *, MCSymbol *>
222 MCSymbol *getLabel() const { in getLabel()
226 void setLabel(MCSymbol *Label) { in setLabel()
288 MCSymbol *Label;
[all …]
DMCWinEH.h19 class MCSymbol; variable
24 const MCSymbol *Label;
29 Instruction(unsigned Op, MCSymbol *L, unsigned Reg, unsigned Off) in Instruction()
34 const MCSymbol *Begin;
35 const MCSymbol *End;
36 const MCSymbol *ExceptionHandler;
37 const MCSymbol *Function;
38 const MCSymbol *PrologEnd;
39 const MCSymbol *Symbol;
53 FrameInfo(const MCSymbol *Function, const MCSymbol *BeginFuncEHLabel) in FrameInfo()
[all …]
DMCWinCOFFStreamer.h24 class MCSymbol; variable
44 void EmitLabel(MCSymbol *Symbol) override;
46 void EmitThumbFunc(MCSymbol *Func) override;
47 bool EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) override;
48 void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) override;
49 void BeginCOFFSymbolDef(MCSymbol const *Symbol) override;
53 void EmitCOFFSectionIndex(MCSymbol const *Symbol) override;
54 void EmitCOFFSecRel32(MCSymbol const *Symbol) override;
55 void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) override;
56 void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
[all …]
DMCStreamer.h36 class MCSymbol; variable
83 virtual void emitLabel(MCSymbol *Symbol);
85 virtual void emitAssignment(MCSymbol *Symbol, const MCExpr *Value);
123 virtual void emitPersonality(const MCSymbol *Personality);
149 virtual void emitThumbSet(MCSymbol *Symbol, const MCExpr *Value);
186 MCSymbol *EmitCFICommon();
194 DenseMap<const MCSymbol *, unsigned> SymbolOrdering;
218 virtual void visitUsedSymbol(const MCSymbol &Sym);
307 unsigned GetSymbolOrder(const MCSymbol *Sym) const { in GetSymbolOrder()
369 MCSymbol *endSection(const MCSection *Section);
[all …]
DMCELFStreamer.h26 class MCSymbol; variable
53 void EmitLabel(MCSymbol *Symbol) override;
55 void EmitThumbFunc(MCSymbol *Func) override;
56 void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol) override;
57 bool EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) override;
58 void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) override;
59 void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
61 void BeginCOFFSymbolDef(const MCSymbol *Symbol) override;
66 void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) override;
68 void EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
[all …]
DMCContext.h32 class MCSymbol; variable
51 typedef StringMap<MCSymbol*, BumpPtrAllocator&> SymbolTable;
76 DenseMap<const MCSectionELF*, MCSymbol*> SectionSymbols;
84 DenseMap<std::pair<unsigned, unsigned>, MCSymbol*> LocalSymbols;
139 MapVector<const MCSection *, std::pair<MCSymbol *, MCSymbol *> >
207 MCSymbol *CreateSymbol(StringRef Name, bool AlwaysAddSuffix);
209 MCSymbol *getOrCreateDirectionalLocalSymbol(unsigned LocalLabelVal,
242 MCSymbol *CreateLinkerPrivateTempSymbol();
246 MCSymbol *CreateTempSymbol();
248 MCSymbol *createTempSymbol(const Twine &Name, bool AlwaysAddSuffix);
[all …]
DMCObjectStreamer.h60 MCSymbolData &getOrCreateSymbolData(const MCSymbol *Symbol) { in getOrCreateSymbolData()
92 void visitUsedSymbol(const MCSymbol &Sym) override;
99 void EmitLabel(MCSymbol *Symbol) override;
100 void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) override;
105 void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol) override;
128 void EmitDwarfAdvanceLineAddr(int64_t LineDelta, const MCSymbol *LastLabel,
129 const MCSymbol *Label,
131 void EmitDwarfAdvanceFrameAddr(const MCSymbol *LastLabel,
132 const MCSymbol *Label);
DMCWin64EH.h24 class MCSymbol; variable
28 static WinEH::Instruction PushNonVol(MCSymbol *L, unsigned Reg) { in PushNonVol()
31 static WinEH::Instruction Alloc(MCSymbol *L, unsigned Size) { in Alloc()
35 static WinEH::Instruction PushMachFrame(MCSymbol *L, bool Code) { in PushMachFrame()
38 static WinEH::Instruction SaveNonVol(MCSymbol *L, unsigned Reg, in SaveNonVol()
44 static WinEH::Instruction SaveXMM(MCSymbol *L, unsigned Reg, in SaveXMM()
50 static WinEH::Instruction SetFPReg(MCSymbol *L, unsigned Reg, unsigned Off) { in SetFPReg()
DMCSection.h25 class MCSymbol; variable
38 MCSymbol *Begin;
39 mutable MCSymbol *End;
42 MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin) in MCSection()
54 MCSymbol *getBeginSymbol() const { return Begin; } in getBeginSymbol()
55 MCSymbol *getEndSymbol(MCContext &Ctx) const;
DMCSymbol.h34 class MCSymbol {
67 MCSymbol(StringRef name, bool isTemporary) in MCSymbol() function
71 MCSymbol(const MCSymbol&) = delete;
72 void operator=(const MCSymbol&) = delete;
170 const MCSymbol &AliasedSymbol() const;
183 inline raw_ostream &operator<<(raw_ostream &OS, const MCSymbol &Sym) {
/external/llvm/lib/CodeGen/
DMachineModuleInfo.cpp59 PointerUnion<MCSymbol *, std::vector<MCSymbol*>*> Symbols;
75 DenseMap<AssertingVH<Function>, std::vector<MCSymbol*> >
87 if (I->second.Symbols.is<std::vector<MCSymbol*>*>()) in ~MMIAddrLabelMap()
88 delete I->second.Symbols.get<std::vector<MCSymbol*>*>(); in ~MMIAddrLabelMap()
91 MCSymbol *getAddrLabelSymbol(BasicBlock *BB);
92 std::vector<MCSymbol*> getAddrLabelSymbolToEmit(BasicBlock *BB);
95 std::vector<MCSymbol*> &Result);
102 MCSymbol *MMIAddrLabelMap::getAddrLabelSymbol(BasicBlock *BB) { in getAddrLabelSymbol()
110 if (Entry.Symbols.is<MCSymbol*>()) in getAddrLabelSymbol()
111 return Entry.Symbols.get<MCSymbol*>(); in getAddrLabelSymbol()
[all …]
/external/llvm/include/llvm/CodeGen/
DAsmPrinter.h55 class MCSymbol; variable
96 MCSymbol *CurrentFnSym;
101 MCSymbol *CurrentFnSymForSize;
106 MapVector<const MCSymbol *, GOTEquivUsePair> GlobalGOTEquivs;
109 MCSymbol *CurrentFnBegin;
110 MCSymbol *CurrentFnEnd;
111 MCSymbol *CurExceptionSym;
156 MCSymbol *getFunctionBegin() const { return CurrentFnBegin; } in getFunctionBegin()
157 MCSymbol *getFunctionEnd() const { return CurrentFnEnd; } in getFunctionEnd()
158 MCSymbol *getCurExceptionSym();
[all …]
DMachineModuleInfo.h69 SmallVector<MCSymbol *, 1> BeginLabels; // Labels prior to invoke.
70 SmallVector<MCSymbol *, 1> EndLabels; // Labels after invoke.
71 SmallVector<MCSymbol *, 1> ClauseLabels; // Labels for each clause.
72 MCSymbol *LandingPadLabel; // Label at beginning of landing pad.
90 typedef PointerIntPair<MCSymbol*, 1, bool> StubValueTy;
92 typedef std::vector<std::pair<MCSymbol*, StubValueTy> > SymbolListTy;
97 static SymbolListTy getSortedStubs(DenseMap<MCSymbol*, StubValueTy>&);
127 DenseMap<MCSymbol*, SmallVector<unsigned, 4> > LPadToCallSiteMap;
131 DenseMap<MCSymbol*, unsigned> CallSiteMap;
287 MCSymbol *getAddrLabelSymbol(const BasicBlock *BB);
[all …]
DMachineModuleInfoImpls.h21 class MCSymbol; variable
28 DenseMap<MCSymbol*, StubValueTy> FnStubs;
33 DenseMap<MCSymbol*, StubValueTy> GVStubs;
39 DenseMap<MCSymbol*, StubValueTy> HiddenGVStubs;
45 StubValueTy &getFnStubEntry(MCSymbol *Sym) { in getFnStubEntry()
50 StubValueTy &getGVStubEntry(MCSymbol *Sym) { in getGVStubEntry()
55 StubValueTy &getHiddenGVStubEntry(MCSymbol *Sym) { in getHiddenGVStubEntry()
77 DenseMap<MCSymbol*, StubValueTy> GVStubs;
83 StubValueTy &getGVStubEntry(MCSymbol *Sym) { in getGVStubEntry()
/external/llvm/lib/MC/
DMCStreamer.cpp35 void MCTargetStreamer::emitLabel(MCSymbol *Symbol) {} in emitLabel()
39 void MCTargetStreamer::emitAssignment(MCSymbol *Symbol, const MCExpr *Value) {} in emitAssignment()
113 void MCStreamer::EmitSymbolValue(const MCSymbol *Sym, unsigned Size, in EmitSymbolValue()
160 MCSymbol *MCStreamer::getDwarfLineTableSymbol(unsigned CUID) { in getDwarfLineTableSymbol()
182 void MCStreamer::EmitEHSymAttributes(const MCSymbol *Symbol, in EmitEHSymAttributes()
183 MCSymbol *EHSymbol) { in EmitEHSymAttributes()
190 void MCStreamer::AssignSection(MCSymbol *Symbol, const MCSection *Section) { in AssignSection()
201 void MCStreamer::EmitLabel(MCSymbol *Symbol) { in EmitLabel()
249 Frame.End = (MCSymbol *) 1; in EmitCFIEndProcImpl()
252 MCSymbol *MCStreamer::EmitCFICommon() { in EmitCFICommon()
[all …]
DMCContext.cpp101 MCSymbol *MCContext::GetOrCreateSymbol(const Twine &Name) { in GetOrCreateSymbol()
107 MCSymbol *&Sym = Symbols[NameRef]; in GetOrCreateSymbol()
114 MCSymbol *MCContext::getOrCreateSectionSymbol(const MCSectionELF &Section) { in getOrCreateSectionSymbol()
115 MCSymbol *&Sym = SectionSymbols[&Section]; in getOrCreateSectionSymbol()
121 MCSymbol *&OldSym = Symbols[Name]; in getOrCreateSectionSymbol()
128 Sym = new (*this) MCSymbol(NameIter->getKey(), /*isTemporary*/ false); in getOrCreateSectionSymbol()
136 MCSymbol *MCContext::getOrCreateFrameAllocSymbol(StringRef FuncName, in getOrCreateFrameAllocSymbol()
142 MCSymbol *MCContext::getOrCreateParentFrameOffsetSymbol(StringRef FuncName) { in getOrCreateParentFrameOffsetSymbol()
147 MCSymbol *MCContext::CreateSymbol(StringRef Name, bool AlwaysAddSuffix) { in CreateSymbol()
165 MCSymbol *Result = in CreateSymbol()
[all …]
DMCMachOStreamer.cpp72 void EmitLabel(MCSymbol *Symbol) override;
73 void EmitEHSymAttributes(const MCSymbol *Symbol, MCSymbol *EHSymbol) override;
79 void EmitThumbFunc(MCSymbol *Func) override;
80 bool EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) override;
81 void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) override;
82 void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
84 void BeginCOFFSymbolDef(const MCSymbol *Symbol) override { in BeginCOFFSymbolDef()
96 void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) override { in EmitELFSize()
99 void EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
101 void EmitZerofill(const MCSection *Section, MCSymbol *Symbol = nullptr,
[all …]
DMCDwarf.cpp72 MCSymbol *LineSym = MCOS->getContext().CreateTempSymbol(); in Make()
96 const MCSymbol &Start, in MakeStartMinusEndExpr()
97 const MCSymbol &End, in MakeStartMinusEndExpr()
126 MCSymbol *LastLabel = nullptr; in EmitDwarfLineTable()
168 MCSymbol *Label = it->getLabel(); in EmitDwarfLineTable()
185 MCSymbol *SectionEnd = MCOS->endSection(Section); in EmitDwarfLineTable()
222 std::pair<MCSymbol *, MCSymbol *> MCDwarfLineTableHeader::Emit(MCStreamer *MCOS) const { in Emit()
248 MCSymbol *ABS = Context.CreateTempSymbol(); in forceExpAbs()
258 std::pair<MCSymbol *, MCSymbol *>
265 MCSymbol *LineStartSym = Label; in Emit()
[all …]
DMCSymbol.cpp17 const MCSection *MCSymbol::AbsolutePseudoSection =
42 const MCSymbol &MCSymbol::AliasedSymbol() const { in AliasedSymbol()
43 const MCSymbol *S = this; in AliasedSymbol()
54 void MCSymbol::setVariableValue(const MCExpr *Value) { in setVariableValue()
61 void MCSymbol::print(raw_ostream &OS) const { in print()
85 void MCSymbol::dump() const { in dump()
/external/llvm/lib/Object/
DRecordStreamer.h22 void markDefined(const MCSymbol &Symbol);
23 void markGlobal(const MCSymbol &Symbol);
24 void markUsed(const MCSymbol &Symbol);
25 void visitUsedSymbol(const MCSymbol &Sym) override;
33 void EmitLabel(MCSymbol *Symbol) override;
34 void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) override;
35 bool EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) override;
36 void EmitZerofill(const MCSection *Section, MCSymbol *Symbol, uint64_t Size,
38 void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
DRecordStreamer.cpp14 void RecordStreamer::markDefined(const MCSymbol &Symbol) { in markDefined()
29 void RecordStreamer::markGlobal(const MCSymbol &Symbol) { in markGlobal()
45 void RecordStreamer::markUsed(const MCSymbol &Symbol) { in markUsed()
60 void RecordStreamer::visitUsedSymbol(const MCSymbol &Sym) { markUsed(Sym); } in visitUsedSymbol()
75 void RecordStreamer::EmitLabel(MCSymbol *Symbol) { in EmitLabel()
80 void RecordStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) { in EmitAssignment()
85 bool RecordStreamer::EmitSymbolAttribute(MCSymbol *Symbol, in EmitSymbolAttribute()
92 void RecordStreamer::EmitZerofill(const MCSection *Section, MCSymbol *Symbol, in EmitZerofill()
97 void RecordStreamer::EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size, in EmitCommonSymbol()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.h28 class MCSymbol; variable
40 MCSymbol *LabelBegin;
57 const MCSymbol *BaseAddress;
87 const MCSymbol *Label);
92 const MCSymbol *Label);
95 void addSectionDelta(DIE &Die, dwarf::Attribute Attribute, const MCSymbol *Hi,
96 const MCSymbol *Lo);
105 void attachLowHighPC(DIE &D, const MCSymbol *Begin, const MCSymbol *End);
110 const MCSymbol *Label, const MCSymbol *Sec);
168 const MCSymbol *getSectionSym() const { in getSectionSym()
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430MCInstLower.h20 class MCSymbol; variable
36 MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;
38 MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const;
39 MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const;
40 MCSymbol *GetJumpTableSymbol(const MachineOperand &MO) const;
41 MCSymbol *GetConstantPoolIndexSymbol(const MachineOperand &MO) const;
42 MCSymbol *GetBlockAddressSymbol(const MachineOperand &MO) const;
/external/llvm/lib/Target/AArch64/
DAArch64MCInstLower.h22 class MCSymbol; variable
42 MCSymbol *Sym) const;
44 MCSymbol *Sym) const;
45 MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;
47 MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const;
48 MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const;
/external/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp70 MapVector<MCSymbol*, MCSymbol*> TOC;
82 MCSymbol *lookUpOrCreateTOCEntry(MCSymbol *Sym);
196 MCSymbol *SymToPrint; in printOperand()
322 MCSymbol *PPCAsmPrinter::lookUpOrCreateTOCEntry(MCSymbol *Sym) { in lookUpOrCreateTOCEntry()
323 MCSymbol *&TOCEntry = TOC[Sym]; in lookUpOrCreateTOCEntry()
409 MCSymbol *TlsGetAddr = OutContext.GetOrCreateSymbol(Name); in EmitTlsCall()
428 MCSymbol *MOSymbol = getSymbol(GValue); in EmitTlsCall()
464 MCSymbol *GOTSymbol = in EmitInstruction()
483 MCSymbol *PICBase = MF->getPICBaseSymbol(); in EmitInstruction()
501 MCSymbol *PICOffset = in EmitInstruction()
[all …]

12345678