Home
last modified time | relevance | path

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

123456

/external/llvm/lib/MC/
DMCNullStreamer.cpp36 virtual void EmitLabel(MCSymbol *Symbol) { in EmitLabel()
41 virtual void EmitDebugLabel(MCSymbol *Symbol) { in EmitDebugLabel()
45 virtual void EmitThumbFunc(MCSymbol *Func) {} in EmitThumbFunc()
47 virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {} in EmitAssignment()
48 virtual void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol){} in EmitWeakReference()
50 const MCSymbol *LastLabel, in EmitDwarfAdvanceLineAddr()
51 const MCSymbol *Label, in EmitDwarfAdvanceLineAddr()
54 virtual void EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute){} in EmitSymbolAttribute()
56 virtual void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) {} in EmitSymbolDesc()
58 virtual void BeginCOFFSymbolDef(const MCSymbol *Symbol) {} in BeginCOFFSymbolDef()
[all …]
DWinCOFFStreamer.cpp40 MCSymbol const *CurSymbol;
47 void AddCommonSymbol(MCSymbol *Symbol, uint64_t Size,
54 virtual void EmitLabel(MCSymbol *Symbol);
55 virtual void EmitDebugLabel(MCSymbol *Symbol);
57 virtual void EmitThumbFunc(MCSymbol *Func);
58 virtual void EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute);
59 virtual void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue);
60 virtual void BeginCOFFSymbolDef(MCSymbol const *Symbol);
64 virtual void EmitCOFFSecRel32(MCSymbol const *Symbol);
65 virtual void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value);
[all …]
DMCMachOStreamer.cpp46 virtual void EmitLabel(MCSymbol *Symbol);
47 virtual void EmitDebugLabel(MCSymbol *Symbol);
48 virtual void EmitEHSymAttributes(const MCSymbol *Symbol,
49 MCSymbol *EHSymbol);
53 virtual void EmitThumbFunc(MCSymbol *Func);
54 virtual void EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute);
55 virtual void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue);
56 virtual void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
58 virtual void BeginCOFFSymbolDef(const MCSymbol *Symbol) { in BeginCOFFSymbolDef()
70 virtual void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) { in EmitELFSize()
[all …]
DMCStreamer.cpp49 const MCSymbol *A, in BuildSymbolDiff()
50 const MCSymbol *B) { in BuildSymbolDiff()
66 MCSymbol *ABS = Context.CreateTempSymbol(); in ForceExpAbs()
77 const MCSymbol *Label, int PointerSize) { in EmitDwarfSetLineAddr()
135 void MCStreamer::EmitSymbolValue(const MCSymbol *Sym, unsigned Size, in EmitSymbolValue()
185 void MCStreamer::EmitEHSymAttributes(const MCSymbol *Symbol, in EmitEHSymAttributes()
186 MCSymbol *EHSymbol) { in EmitEHSymAttributes()
189 void MCStreamer::EmitLabel(MCSymbol *Symbol) { in EmitLabel()
196 void MCStreamer::EmitDebugLabel(MCSymbol *Symbol) { in EmitDebugLabel()
256 MCSymbol *MCStreamer::EmitCFICommon() { in EmitCFICommon()
[all …]
DMCPureStreamer.cpp40 virtual void EmitLabel(MCSymbol *Symbol);
41 virtual void EmitDebugLabel(MCSymbol *Symbol);
42 virtual void EmitZerofill(const MCSection *Section, MCSymbol *Symbol = 0,
55 virtual void EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) { in EmitSymbolAttribute()
61 virtual void EmitTBSSSymbol(const MCSection *Section, MCSymbol *Symbol, in EmitTBSSSymbol()
65 virtual void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) { in EmitSymbolDesc()
68 virtual void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size, in EmitCommonSymbol()
72 virtual void EmitThumbFunc(MCSymbol *Func) { in EmitThumbFunc()
75 virtual void BeginCOFFSymbolDef(const MCSymbol *Symbol) { in BeginCOFFSymbolDef()
87 virtual void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) { in EmitELFSize()
[all …]
DMCAsmStreamer.cpp59 DenseMap<const MCSymbol*, unsigned> FlagMap;
142 virtual void EmitLabel(MCSymbol *Symbol);
143 virtual void EmitDebugLabel(MCSymbol *Symbol);
145 virtual void EmitEHSymAttributes(const MCSymbol *Symbol,
146 MCSymbol *EHSymbol);
150 virtual void EmitThumbFunc(MCSymbol *Func);
152 virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value);
153 virtual void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol);
155 const MCSymbol *LastLabel,
156 const MCSymbol *Label,
[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()
67 void MCSymbol::print(raw_ostream &OS) const { in print()
80 void MCSymbol::dump() const { in dump()
DMCDwarf.cpp76 MCSymbol *LineSym = MCOS->getContext().CreateTempSymbol(); in Make()
112 const MCSymbol &Start, in MakeStartMinusEndExpr()
113 const MCSymbol &End, in MakeStartMinusEndExpr()
146 MCSymbol *LastLabel = NULL; in EmitDwarfLineTable()
180 MCSymbol *Label = it->getLabel(); in EmitDwarfLineTable()
204 MCSymbol *SectionEnd = context.CreateTempSymbol(); in EmitDwarfLineTable()
219 const MCSymbol *MCDwarfFileTable::Emit(MCStreamer *MCOS) { in Emit()
224 const DenseMap<unsigned, MCSymbol *> &MCLineTableSymbols = in Emit()
229 const MCSymbol *LineStartSym = EmitCU(MCOS, 0); in Emit()
246 const MCSymbol *MCDwarfFileTable::EmitCU(MCStreamer *MCOS, unsigned CUID) { in EmitCU()
[all …]
DMCContext.cpp109 MCSymbol *MCContext::GetOrCreateSymbol(StringRef Name) { in GetOrCreateSymbol()
114 StringMapEntry<MCSymbol*> &Entry = Symbols.GetOrCreateValue(Name); in GetOrCreateSymbol()
115 MCSymbol *Sym = Entry.getValue(); in GetOrCreateSymbol()
125 MCSymbol *MCContext::CreateSymbol(StringRef Name) { in CreateSymbol()
145 MCSymbol *Result = new (*this) MCSymbol(NameEntry->getKey(), isTemporary); in CreateSymbol()
150 MCSymbol *MCContext::GetOrCreateSymbol(const Twine &Name) { in GetOrCreateSymbol()
156 MCSymbol *MCContext::CreateTempSymbol() { in CreateTempSymbol()
177 MCSymbol *MCContext::CreateDirectionalLocalSymbol(int64_t LocalLabelVal) { in CreateDirectionalLocalSymbol()
183 MCSymbol *MCContext::GetDirectionalLocalSymbol(int64_t LocalLabelVal, in GetDirectionalLocalSymbol()
191 MCSymbol *MCContext::LookupSymbol(StringRef Name) const { in LookupSymbol()
[all …]
/external/llvm/lib/CodeGen/
DMachineModuleInfo.cpp57 PointerUnion<MCSymbol *, std::vector<MCSymbol*>*> Symbols;
73 DenseMap<AssertingVH<Function>, std::vector<MCSymbol*> >
85 if (I->second.Symbols.is<std::vector<MCSymbol*>*>()) in ~MMIAddrLabelMap()
86 delete I->second.Symbols.get<std::vector<MCSymbol*>*>(); in ~MMIAddrLabelMap()
89 MCSymbol *getAddrLabelSymbol(BasicBlock *BB);
90 std::vector<MCSymbol*> getAddrLabelSymbolToEmit(BasicBlock *BB);
93 std::vector<MCSymbol*> &Result);
100 MCSymbol *MMIAddrLabelMap::getAddrLabelSymbol(BasicBlock *BB) { in getAddrLabelSymbol()
108 if (Entry.Symbols.is<MCSymbol*>()) in getAddrLabelSymbol()
109 return Entry.Symbols.get<MCSymbol*>(); in getAddrLabelSymbol()
[all …]
/external/llvm/include/llvm/MC/
DMCDwarf.h30 class MCSymbol; variable
155 MCSymbol *Label;
163 MCLineEntry(MCSymbol *label, const MCDwarfLoc loc) : MCDwarfLoc(loc), in MCLineEntry()
166 MCSymbol *getLabel() const { return Label; } in getLabel()
222 static const MCSymbol *Emit(MCStreamer *MCOS);
226 static const MCSymbol *EmitCU(MCStreamer *MCOS, unsigned ID);
249 static void Emit(MCStreamer *MCOS, const MCSymbol *LineSectionSymbol);
263 MCSymbol *Label;
267 unsigned lineNumber, MCSymbol *label) : in MCGenDwarfLabelEntry()
273 MCSymbol *getLabel() const { return Label; } in getLabel()
[all …]
DMCWin64EH.h25 class MCSymbol; variable
32 MCSymbol *Label;
36 MCWin64EHInstruction(OpType Op, MCSymbol *L, unsigned Reg) in MCWin64EHInstruction()
40 MCWin64EHInstruction(MCSymbol *L, unsigned Size) in MCWin64EHInstruction()
43 MCWin64EHInstruction(OpType Op, MCSymbol *L, unsigned Reg, unsigned Off) in MCWin64EHInstruction()
51 MCWin64EHInstruction(OpType Op, MCSymbol *L, bool Code) in MCWin64EHInstruction()
56 MCSymbol *getLabel() const { return Label; } in getLabel()
69 MCSymbol *Begin;
70 MCSymbol *End;
71 const MCSymbol *ExceptionHandler;
[all …]
DMCELFStreamer.h26 class MCSymbol; variable
54 virtual void EmitLabel(MCSymbol *Symbol);
55 virtual void EmitDebugLabel(MCSymbol *Symbol);
57 virtual void EmitThumbFunc(MCSymbol *Func);
58 virtual void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol);
59 virtual void EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute);
60 virtual void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue);
61 virtual void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
63 virtual void BeginCOFFSymbolDef(const MCSymbol *Symbol);
68 virtual MCSymbolData &getOrCreateSymbolData(MCSymbol *Symbol);
[all …]
DMCStreamer.h34 class MCSymbol; variable
77 MCSymbol *EmitCFICommon();
85 MCSymbol* LastSymbol;
97 const MCExpr *BuildSymbolDiff(MCContext &Context, const MCSymbol *A,
98 const MCSymbol *B);
269 virtual void EmitLabel(MCSymbol *Symbol);
271 virtual void EmitDebugLabel(MCSymbol *Symbol);
273 virtual void EmitEHSymAttributes(const MCSymbol *Symbol,
274 MCSymbol *EHSymbol);
288 virtual void EmitThumbFunc(MCSymbol *Func) = 0;
[all …]
DMCContext.h28 class MCSymbol; variable
48 typedef StringMap<MCSymbol*, BumpPtrAllocator&> SymbolTable;
128 MCSymbol *GenDwarfSectionStartSym, *GenDwarfSectionEndSym;
156 DenseMap<unsigned, MCSymbol *> MCLineTableSymbols;
163 MCSymbol *CreateSymbol(StringRef Name);
195 MCSymbol *CreateTempSymbol();
203 MCSymbol *CreateDirectionalLocalSymbol(int64_t LocalLabelVal);
207 MCSymbol *GetDirectionalLocalSymbol(int64_t LocalLabelVal, int bORf);
214 MCSymbol *GetOrCreateSymbol(StringRef Name);
215 MCSymbol *GetOrCreateSymbol(const Twine &Name);
[all …]
DMCObjectStreamer.h71 virtual void EmitLabel(MCSymbol *Symbol);
72 virtual void EmitDebugLabel(MCSymbol *Symbol);
73 virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value);
78 virtual void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol);
98 const MCSymbol *LastLabel,
99 const MCSymbol *Label,
101 virtual void EmitDwarfAdvanceFrameAddr(const MCSymbol *LastLabel,
102 const MCSymbol *Label);
DMCSymbol.h33 class MCSymbol {
62 MCSymbol(StringRef name, bool isTemporary) in MCSymbol() function
66 MCSymbol(const MCSymbol&) LLVM_DELETED_FUNCTION;
67 void operator=(const MCSymbol&) LLVM_DELETED_FUNCTION;
146 const MCSymbol &AliasedSymbol() const;
159 inline raw_ostream &operator<<(raw_ostream &OS, const MCSymbol &Sym) {
/external/llvm/include/llvm/CodeGen/
DAsmPrinter.h45 class MCSymbol; variable
90 MCSymbol *CurrentFnSym;
95 MCSymbol *CurrentFnSymForSize;
288 MCSymbol *GetTempSymbol(StringRef Name, unsigned ID) const;
292 MCSymbol *GetTempSymbol(StringRef Name) const;
298 MCSymbol *GetSymbolWithGlobalValueBase(const GlobalValue *GV,
304 MCSymbol *GetExternalSymbolSymbol(StringRef Sym) const;
307 MCSymbol *GetCPISymbol(unsigned CPID) const;
310 MCSymbol *GetJTISymbol(unsigned JTID, bool isLinkerPrivate = false) const;
314 MCSymbol *GetJTSetSymbol(unsigned UID, unsigned MBBID) const;
[all …]
DMachineModuleInfo.h67 SmallVector<MCSymbol*, 1> BeginLabels; // Labels prior to invoke.
68 SmallVector<MCSymbol*, 1> EndLabels; // Labels after invoke.
69 MCSymbol *LandingPadLabel; // Label at beginning of landing pad.
85 typedef PointerIntPair<MCSymbol*, 1, bool> StubValueTy;
87 typedef std::vector<std::pair<MCSymbol*, StubValueTy> > SymbolListTy;
89 static SymbolListTy GetSortedStubs(const DenseMap<MCSymbol*, StubValueTy>&);
123 DenseMap<MCSymbol*, SmallVector<unsigned, 4> > LPadToCallSiteMap;
127 DenseMap<MCSymbol*, unsigned> CallSiteMap;
251 MCSymbol *getAddrLabelSymbol(const BasicBlock *BB);
256 std::vector<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()
77 DenseMap<MCSymbol*, StubValueTy> GVStubs;
83 StubValueTy &getGVStubEntry(MCSymbol *Sym) { in getGVStubEntry()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.h52 MCSymbol *Label; // Label in code ID number.
54 SrcLineInfo(unsigned L, unsigned C, unsigned S, MCSymbol *label) in SrcLineInfo()
61 MCSymbol *getLabel() const { return Label; } in getLabel()
67 const MCSymbol *Begin;
68 const MCSymbol *End;
89 DotDebugLocEntry(const MCSymbol *B, const MCSymbol *E, MachineLocation &L, in DotDebugLocEntry()
93 DotDebugLocEntry(const MCSymbol *B, const MCSymbol *E, int64_t i) in DotDebugLocEntry()
96 DotDebugLocEntry(const MCSymbol *B, const MCSymbol *E, const ConstantFP *FPtr) in DotDebugLocEntry()
99 DotDebugLocEntry(const MCSymbol *B, const MCSymbol *E, in DotDebugLocEntry()
195 typedef StringMap<std::pair<MCSymbol*, unsigned>,
[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/MBlaze/
DMBlazeMCInstLower.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/ARM/MCTargetDesc/
DARMELFStreamer.cpp69 virtual void EmitPersonality(const MCSymbol *Per);
167 MCSymbol *Start = getContext().CreateTempSymbol(); in EmitMappingSymbol()
170 MCSymbol *Symbol = in EmitMappingSymbol()
184 void EmitThumbFunc(MCSymbol *Func) { in EmitThumbFunc()
199 SectionKind Kind, const MCSymbol &Fn);
200 void SwitchToExTabSection(const MCSymbol &FnStart);
201 void SwitchToExIdxSection(const MCSymbol &FnStart);
210 MCSymbol *ExTab;
211 MCSymbol *FnStart;
212 const MCSymbol *Personality;
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp64 MapVector<MCSymbol*, MCSymbol*> TOC;
76 MCSymbol *lookUpOrCreateTOCEntry(MCSymbol *Sym);
189 MCSymbol *NLPSym = in printOperand()
204 MCSymbol *SymToPrint; in printOperand()
317 MCSymbol *PPCAsmPrinter::lookUpOrCreateTOCEntry(MCSymbol *Sym) { in lookUpOrCreateTOCEntry()
319 MCSymbol *&TOCEntry = TOC[Sym]; in lookUpOrCreateTOCEntry()
370 MCSymbol *PICBase = MF->getPICBaseSymbol(); in EmitInstruction()
395 MCSymbol *MOSymbol = 0; in EmitInstruction()
403 MCSymbol *TOCEntry = lookUpOrCreateTOCEntry(MOSymbol); in EmitInstruction()
425 MCSymbol *MOSymbol = 0; in EmitInstruction()
[all …]

123456