Home
last modified time | relevance | path

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

12345678910

/external/llvm/include/llvm/MC/
DMCDwarf.h36 class MCSymbol; variable
139 MCSymbol *Label;
147 MCLineEntry(MCSymbol *label, const MCDwarfLoc loc) in MCLineEntry()
150 MCSymbol *getLabel() const { return Label; } in getLabel()
199 MCSymbol *Label;
208 std::pair<MCSymbol *, MCSymbol *> Emit(MCStreamer *MCOS,
210 std::pair<MCSymbol *, MCSymbol *>
241 MCSymbol *getLabel() const { in getLabel()
245 void setLabel(MCSymbol *Label) { in setLabel()
308 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 EmitCOFFSafeSEH(MCSymbol const *Symbol) override;
54 void EmitCOFFSectionIndex(MCSymbol const *Symbol) override;
55 void EmitCOFFSecRel32(MCSymbol const *Symbol) override;
56 void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
[all …]
DMCStreamer.h36 class MCSymbol; variable
84 virtual void emitLabel(MCSymbol *Symbol);
86 virtual void emitAssignment(MCSymbol *Symbol, const MCExpr *Value);
104 virtual void emitPersonality(const MCSymbol *Personality);
130 virtual void emitThumbSet(MCSymbol *Symbol, const MCExpr *Value);
168 MCSymbol *EmitCFICommon();
176 DenseMap<const MCSymbol *, unsigned> SymbolOrdering;
200 virtual void visitUsedSymbol(const MCSymbol &Sym);
290 unsigned GetSymbolOrder(const MCSymbol *Sym) const { in GetSymbolOrder()
355 MCSymbol *endSection(MCSection *Section);
[all …]
DMCELFStreamer.h48 void EmitLabel(MCSymbol *Symbol) override;
50 void EmitThumbFunc(MCSymbol *Func) override;
51 void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol) override;
52 bool EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) override;
53 void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) override;
54 void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
56 void BeginCOFFSymbolDef(const MCSymbol *Symbol) override;
63 void EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
66 void EmitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
68 void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
DMCObjectStreamer.h41 SmallVector<MCSymbol *, 2> PendingLabels;
85 void visitUsedSymbol(const MCSymbol &Sym) override;
92 void EmitLabel(MCSymbol *Symbol) override;
93 void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) override;
98 void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol) override;
120 void EmitDwarfAdvanceLineAddr(int64_t LineDelta, const MCSymbol *LastLabel,
121 const MCSymbol *Label,
123 void EmitDwarfAdvanceFrameAddr(const MCSymbol *LastLabel,
124 const MCSymbol *Label);
139 void emitAbsoluteSymbolDiff(const MCSymbol *Hi, const MCSymbol *Lo,
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()
DMCMachObjectWriter.h77 const MCSymbol *Symbol;
92 const MCSymbol *Sym;
94 RelAndSymbol(const MCSymbol *Sym, const MachO::any_relocation_info &MRE) in RelAndSymbol()
114 MachSymbolData *findSymbolData(const MCSymbol &Sym);
121 const MCSymbol &findAliasedSymbol(const MCSymbol &Sym) const;
140 uint64_t getSymbolAddress(const MCSymbol &S, const MCAsmLayout &Layout) const;
147 bool doesSymbolRequireExternRelocation(const MCSymbol &S);
215 void addRelocation(const MCSymbol *RelSymbol, const MCSection *Sec, in addRelocation()
251 const MCSymbol &A,
252 const MCSymbol &B,
[all …]
/external/llvm/lib/MC/
DMCStreamer.cpp37 void MCTargetStreamer::emitLabel(MCSymbol *Symbol) {} in emitLabel()
41 void MCTargetStreamer::emitAssignment(MCSymbol *Symbol, const MCExpr *Value) {} in emitAssignment()
114 void MCStreamer::EmitSymbolValue(const MCSymbol *Sym, unsigned Size, in EmitSymbolValue()
161 MCSymbol *MCStreamer::getDwarfLineTableSymbol(unsigned CUID) { in getDwarfLineTableSymbol()
183 void MCStreamer::EmitEHSymAttributes(const MCSymbol *Symbol, in EmitEHSymAttributes()
184 MCSymbol *EHSymbol) { in EmitEHSymAttributes()
191 void MCStreamer::AssignFragment(MCSymbol *Symbol, MCFragment *Fragment) { in AssignFragment()
200 void MCStreamer::EmitLabel(MCSymbol *Symbol) { in EmitLabel()
249 Frame.End = (MCSymbol *) 1; in EmitCFIEndProcImpl()
252 MCSymbol *MCStreamer::EmitCFICommon() { in EmitCFICommon()
[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 EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
98 void EmitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
100 void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
[all …]
DMCContext.cpp110 MCSymbol *MCContext::getOrCreateSymbol(const Twine &Name) { in getOrCreateSymbol()
116 MCSymbol *&Sym = Symbols[NameRef]; in getOrCreateSymbol()
130 MCSymbol *&OldSym = Symbols[Name]; in getOrCreateSectionSymbol()
145 MCSymbol *MCContext::getOrCreateFrameAllocSymbol(StringRef FuncName, in getOrCreateFrameAllocSymbol()
151 MCSymbol *MCContext::getOrCreateParentFrameOffsetSymbol(StringRef FuncName) { in getOrCreateParentFrameOffsetSymbol()
156 MCSymbol *MCContext::getOrCreateLSDASymbol(StringRef FuncName) { in getOrCreateLSDASymbol()
161 MCSymbol *MCContext::createSymbolImpl(const StringMapEntry<bool> *Name, in createSymbolImpl()
173 return new (Name, *this) MCSymbol(MCSymbol::SymbolKindUnset, Name, in createSymbolImpl()
177 MCSymbol *MCContext::createSymbol(StringRef Name, bool AlwaysAddSuffix, in createSymbol()
208 MCSymbol *MCContext::createTempSymbol(const Twine &Name, bool AlwaysAddSuffix, in createTempSymbol()
[all …]
DMCDwarf.cpp54 MCSymbol *LineSym = MCOS->getContext().createTempSymbol(); in Make()
78 const MCSymbol &Start, in MakeStartMinusEndExpr()
79 const MCSymbol &End, in MakeStartMinusEndExpr()
108 MCSymbol *LastLabel = nullptr; in EmitDwarfLineTable()
150 MCSymbol *Label = it->getLabel(); in EmitDwarfLineTable()
167 MCSymbol *SectionEnd = MCOS->endSection(Section); in EmitDwarfLineTable()
206 std::pair<MCSymbol *, MCSymbol *>
235 MCSymbol *ABS = Context.createTempSymbol(); in forceExpAbs()
245 std::pair<MCSymbol *, MCSymbol *>
251 MCSymbol *LineStartSym = Label; in Emit()
[all …]
DMCObjectWriter.cpp28 const MCSymbol &SA = A->getSymbol(); in isSymbolRefDifferenceFullyResolved()
29 const MCSymbol &SB = B->getSymbol(); in isSymbolRefDifferenceFullyResolved()
40 const MCAssembler &Asm, const MCSymbol &A, const MCSymbol &B, in isSymbolRefDifferenceFullyResolvedImpl()
47 const MCAssembler &Asm, const MCSymbol &SymA, const MCFragment &FB, in isSymbolRefDifferenceFullyResolvedImpl()
55 bool MCObjectWriter::isWeak(const MCSymbol &) const { return false; } in isWeak()
/external/llvm/include/llvm/CodeGen/
DAsmPrinter.h56 class MCSymbol; variable
98 MCSymbol *CurrentFnSym;
103 MCSymbol *CurrentFnSymForSize;
108 MapVector<const MCSymbol *, GOTEquivUsePair> GlobalGOTEquivs;
111 MCSymbol *CurrentFnBegin;
112 MCSymbol *CurrentFnEnd;
113 MCSymbol *CurExceptionSym;
158 MCSymbol *getFunctionBegin() const { return CurrentFnBegin; } in getFunctionBegin()
159 MCSymbol *getFunctionEnd() const { return CurrentFnEnd; } in getFunctionEnd()
160 MCSymbol *getCurExceptionSym();
[all …]
DMachineModuleInfo.h77 SmallVector<MCSymbol *, 1> BeginLabels; // Labels prior to invoke.
78 SmallVector<MCSymbol *, 1> EndLabels; // Labels after invoke.
80 MCSymbol *LandingPadLabel; // Label at beginning of landing pad.
95 typedef PointerIntPair<MCSymbol*, 1, bool> StubValueTy;
97 typedef std::vector<std::pair<MCSymbol*, StubValueTy> > SymbolListTy;
102 static SymbolListTy getSortedStubs(DenseMap<MCSymbol*, StubValueTy>&);
132 DenseMap<MCSymbol*, SmallVector<unsigned, 4> > LPadToCallSiteMap;
136 DenseMap<MCSymbol*, unsigned> CallSiteMap;
285 MCSymbol *getAddrLabelSymbol(const BasicBlock *BB) { in getAddrLabelSymbol()
292 ArrayRef<MCSymbol *> getAddrLabelSymbolToEmit(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()
71 DenseMap<MCSymbol *, StubValueTy> GVStubs;
77 StubValueTy &getGVStubEntry(MCSymbol *Sym) { in getGVStubEntry()
/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(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(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;
63 const MCSymbol *BaseAddress;
92 const MCSymbol *Label);
97 const MCSymbol *Label);
101 const MCSymbol *Hi, const MCSymbol *Lo);
114 void attachLowHighPC(DIE &D, const MCSymbol *Begin, const MCSymbol *End);
119 const MCSymbol *Label,
120 const MCSymbol *Sec);
175 const MCSymbol *getSectionSym() const { in getSectionSym()
[all …]
DWinException.h46 const MCSymbol *BeginLabel,
47 const MCSymbol *EndLabel, int State);
69 const MCExpr *create32bitRef(const MCSymbol *Value);
71 const MCExpr *getLabelPlusOne(const MCSymbol *Label);
72 const MCExpr *getOffset(const MCSymbol *OffsetOf, const MCSymbol *OffsetFrom);
73 const MCExpr *getOffsetPlusOne(const MCSymbol *OffsetOf,
74 const MCSymbol *OffsetFrom);
100 void beginFunclet(const MachineBasicBlock &MBB, MCSymbol *Sym) override;
DWinException.cpp152 static MCSymbol *getMCSymbolForMBB(AsmPrinter *Asm, in getMCSymbolForMBB()
172 MCSymbol *Sym) { in beginFunclet()
207 const MCSymbol *PersHandlerSym = in beginFunclet()
245 MCSymbol *FuncInfoXData = Asm->OutContext.getOrCreateSymbol( in endFunclet()
267 const MCExpr *WinException::create32bitRef(const MCSymbol *Value) { in create32bitRef()
282 const MCExpr *WinException::getLabelPlusOne(const MCSymbol *Label) { in getLabelPlusOne()
288 const MCExpr *WinException::getOffset(const MCSymbol *OffsetOf, in getOffset()
289 const MCSymbol *OffsetFrom) { in getOffset()
295 const MCExpr *WinException::getOffsetPlusOne(const MCSymbol *OffsetOf, in getOffsetPlusOne()
296 const MCSymbol *OffsetFrom) { in getOffsetPlusOne()
[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/PowerPC/
DPPCAsmPrinter.cpp70 MapVector<MCSymbol *, MCSymbol *> TOC;
83 MCSymbol *lookUpOrCreateTOCEntry(MCSymbol *Sym);
195 MCSymbol *SymToPrint; in printOperand()
320 MCSymbol *PPCAsmPrinter::lookUpOrCreateTOCEntry(MCSymbol *Sym) { in lookUpOrCreateTOCEntry()
321 MCSymbol *&TOCEntry = TOC[Sym]; in lookUpOrCreateTOCEntry()
434 MCSymbol *MOSymbol = getSymbol(GValue); in LowerPATCHPOINT()
460 MCSymbol *TlsGetAddr = OutContext.getOrCreateSymbol(Name); in EmitTlsCall()
479 MCSymbol *MOSymbol = getSymbol(GValue); in EmitTlsCall()
515 MCSymbol *GOTSymbol = in EmitInstruction()
534 MCSymbol *PICBase = MF->getPICBaseSymbol(); in EmitInstruction()
[all …]
/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/CodeGen/
DMachineModuleInfo.cpp58 TinyPtrVector<MCSymbol *> Symbols;
74 DenseMap<AssertingVH<Function>, std::vector<MCSymbol*> >
84 ArrayRef<MCSymbol *> getAddrLabelSymbolToEmit(BasicBlock *BB);
87 std::vector<MCSymbol*> &Result);
94 ArrayRef<MCSymbol *> MMIAddrLabelMap::getAddrLabelSymbolToEmit(BasicBlock *BB) { in getAddrLabelSymbolToEmit()
118 takeDeletedSymbolsForFunction(Function *F, std::vector<MCSymbol*> &Result) { in takeDeletedSymbolsForFunction()
119 DenseMap<AssertingVH<Function>, std::vector<MCSymbol*> >::iterator I = in takeDeletedSymbolsForFunction()
143 for (MCSymbol *Sym : Entry.Symbols) { in UpdateForDeletedBlock()
260 ArrayRef<MCSymbol *>
275 std::vector<MCSymbol*> &Result) { in takeDeletedSymbolsForFunction()
[all …]

12345678910