Home
last modified time | relevance | path

Searched refs:MCSymbolELF (Results 1 – 25 of 110) sorted by relevance

12345

/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCSymbolELF.cpp41 void MCSymbolELF::setBinding(unsigned Binding) const { in setBinding()
64 unsigned MCSymbolELF::getBinding() const { in getBinding()
92 void MCSymbolELF::setType(unsigned Type) const { in setType()
123 unsigned MCSymbolELF::getType() const { in getType()
145 void MCSymbolELF::setVisibility(unsigned Visibility) { in setVisibility()
153 unsigned MCSymbolELF::getVisibility() const { in getVisibility()
158 void MCSymbolELF::setOther(unsigned Other) { in setOther()
166 unsigned MCSymbolELF::getOther() const { in getOther()
171 void MCSymbolELF::setIsWeakrefUsedInReloc() const { in setIsWeakrefUsedInReloc()
176 bool MCSymbolELF::isWeakrefUsedInReloc() const { in isWeakrefUsedInReloc()
[all …]
DMCContext.cpp166 return new (Name, *this) MCSymbolELF(Name, IsTemporary); in createSymbolImpl()
333 const MCSymbolELF *Group, in createELFSectionImpl()
335 const MCSymbolELF *Associated) { in createELFSectionImpl()
336 MCSymbolELF *R; in createELFSectionImpl()
344 R = cast<MCSymbolELF>(Sym); in createELFSectionImpl()
347 R = new (&*NameIter, *this) MCSymbolELF(&*NameIter, /*isTemporary*/ false); in createELFSectionImpl()
367 const MCSymbolELF *Group, in createELFRelSection()
376 true, cast<MCSymbolELF>(RelInfoSection->getBeginSymbol())); in createELFRelSection()
389 const MCSymbolELF *Associated) { in getELFSection()
390 MCSymbolELF *GroupSym = nullptr; in getELFSection()
[all …]
DELFObjectWriter.cpp113 static bool isInSymtab(const MCAsmLayout &Layout, const MCSymbolELF &Symbol,
118 const MCSymbolELF *Symbol;
237 DenseMap<const MCSymbolELF *, const MCSymbolELF *> Renames;
246 const MCSymbolELF *Sym, uint64_t C,
515 static bool isIFunc(const MCSymbolELF *Symbol) { in isIFunc()
523 Symbol = &cast<MCSymbolELF>(Value->getSymbol()); in isIFunc()
530 const auto &Symbol = cast<MCSymbolELF>(*MSD.Symbol); in writeSymbol()
531 const MCSymbolELF *Base = in writeSymbol()
532 cast_or_null<MCSymbolELF>(Layout.getBaseSymbol(Symbol)); in writeSymbol()
572 bool ELFWriter::isInSymtab(const MCAsmLayout &Layout, const MCSymbolELF &Symbol, in isInSymtab()
[all …]
DMCELFStreamer.cpp100 auto *Symbol = cast<MCSymbolELF>(S); in EmitLabel()
111 auto *Symbol = cast<MCSymbolELF>(S); in EmitLabelAtPos()
191 auto *Symbol = cast<MCSymbolELF>(S); in EmitSymbolAttribute()
291 auto *Symbol = cast<MCSymbolELF>(S); in EmitCommonSymbol()
318 cast<MCSymbolELF>(Symbol) in EmitCommonSymbol()
323 cast<MCSymbolELF>(Symbol)->setSize(Value); in emitELFSize()
333 auto *Symbol = cast<MCSymbolELF>(S); in EmitLocalCommonSymbol()
453 cast<MCSymbolELF>(symRef.getSymbol()).setType(ELF::STT_TLS); in fixSymbolsInTLSFixups()
482 cast<MCSymbolELF>(S)->setBinding(ELF::STB_WEAK); in finalizeCGProfileEntry()
483 cast<MCSymbolELF>(S)->setExternal(true); in finalizeCGProfileEntry()
/external/llvm-project/llvm/lib/MC/
DMCSymbolELF.cpp41 void MCSymbolELF::setBinding(unsigned Binding) const { in setBinding()
64 unsigned MCSymbolELF::getBinding() const { in getBinding()
92 void MCSymbolELF::setType(unsigned Type) const { in setType()
123 unsigned MCSymbolELF::getType() const { in getType()
145 void MCSymbolELF::setVisibility(unsigned Visibility) { in setVisibility()
153 unsigned MCSymbolELF::getVisibility() const { in getVisibility()
158 void MCSymbolELF::setOther(unsigned Other) { in setOther()
166 unsigned MCSymbolELF::getOther() const { in getOther()
171 void MCSymbolELF::setIsWeakrefUsedInReloc() const { in setIsWeakrefUsedInReloc()
176 bool MCSymbolELF::isWeakrefUsedInReloc() const { in isWeakrefUsedInReloc()
[all …]
DELFObjectWriter.cpp113 static bool isInSymtab(const MCAsmLayout &Layout, const MCSymbolELF &Symbol,
118 const MCSymbolELF *Symbol;
237 DenseMap<const MCSymbolELF *, const MCSymbolELF *> Renames;
246 const MCSymbolELF *Sym, uint64_t C,
515 static bool isIFunc(const MCSymbolELF *Symbol) { in isIFunc()
523 Symbol = &cast<MCSymbolELF>(Value->getSymbol()); in isIFunc()
530 const auto &Symbol = cast<MCSymbolELF>(*MSD.Symbol); in writeSymbol()
531 const MCSymbolELF *Base = in writeSymbol()
532 cast_or_null<MCSymbolELF>(Layout.getBaseSymbol(Symbol)); in writeSymbol()
572 bool ELFWriter::isInSymtab(const MCAsmLayout &Layout, const MCSymbolELF &Symbol, in isInSymtab()
[all …]
DMCContext.cpp175 static_assert(std::is_trivially_destructible<MCSymbolELF>(), in createSymbolImpl()
188 return new (Name, *this) MCSymbolELF(Name, IsTemporary); in createSymbolImpl()
414 const MCSymbolELF *Group, in createELFSectionImpl()
416 const MCSymbolELF *LinkedToSym) { in createELFSectionImpl()
417 MCSymbolELF *R; in createELFSectionImpl()
425 R = cast<MCSymbolELF>(Sym); in createELFSectionImpl()
428 R = new (&*NameIter, *this) MCSymbolELF(&*NameIter, /*isTemporary*/ false); in createELFSectionImpl()
448 const MCSymbolELF *Group, in createELFRelSection()
457 true, cast<MCSymbolELF>(RelInfoSection->getBeginSymbol())); in createELFRelSection()
470 const MCSymbolELF *LinkedToSym) { in getELFSection()
[all …]
DMCELFStreamer.cpp100 auto *Symbol = cast<MCSymbolELF>(S); in emitLabel()
111 auto *Symbol = cast<MCSymbolELF>(S); in emitLabelAtPos()
191 auto *Symbol = cast<MCSymbolELF>(S); in emitSymbolAttribute()
308 auto *Symbol = cast<MCSymbolELF>(S); in emitCommonSymbol()
335 cast<MCSymbolELF>(Symbol) in emitCommonSymbol()
340 cast<MCSymbolELF>(Symbol)->setSize(Value); in emitELFSize()
350 auto *Symbol = cast<MCSymbolELF>(S); in emitLocalCommonSymbol()
473 cast<MCSymbolELF>(symRef.getSymbol()).setType(ELF::STT_TLS); in fixSymbolsInTLSFixups()
502 cast<MCSymbolELF>(S)->setBinding(ELF::STB_WEAK); in finalizeCGProfileEntry()
503 cast<MCSymbolELF>(S)->setExternal(true); in finalizeCGProfileEntry()
/external/llvm/lib/MC/
DMCSymbolELF.cpp43 void MCSymbolELF::setBinding(unsigned Binding) const { in setBinding()
66 unsigned MCSymbolELF::getBinding() const { in getBinding()
94 void MCSymbolELF::setType(unsigned Type) const { in setType()
125 unsigned MCSymbolELF::getType() const { in getType()
147 void MCSymbolELF::setVisibility(unsigned Visibility) { in setVisibility()
155 unsigned MCSymbolELF::getVisibility() const { in getVisibility()
162 void MCSymbolELF::setOther(unsigned Other) { in setOther()
170 unsigned MCSymbolELF::getOther() const { in getOther()
175 void MCSymbolELF::setIsWeakrefUsedInReloc() const { in setIsWeakrefUsedInReloc()
180 bool MCSymbolELF::isWeakrefUsedInReloc() const { in isWeakrefUsedInReloc()
[all …]
DELFObjectWriter.cpp74 static bool isInSymtab(const MCAsmLayout &Layout, const MCSymbolELF &Symbol,
79 const MCSymbolELF *Symbol;
100 DenseMap<const MCSymbolELF *, const MCSymbolELF *> Renames;
386 std::make_pair(cast<MCSymbolELF>(Alias), cast<MCSymbolELF>(Begin))); in executePostLayoutBinding()
392 const auto &Alias = cast<MCSymbolELF>(A); in executePostLayoutBinding()
399 const auto &Symbol = cast<MCSymbolELF>(Ref->getSymbol()); in executePostLayoutBinding()
462 const auto &Symbol = cast<MCSymbolELF>(*MSD.Symbol); in writeSymbol()
463 const MCSymbolELF *Base = in writeSymbol()
464 cast_or_null<MCSymbolELF>(Layout.getBaseSymbol(Symbol)); in writeSymbol()
509 const auto *Sym = cast_or_null<MCSymbolELF>(S); in shouldRelocateWithSymbol()
[all …]
DMCContext.cpp127 MCSymbolELF *MCContext::getOrCreateSectionSymbol(const MCSectionELF &Section) { in getOrCreateSectionSymbol()
128 MCSymbolELF *&Sym = SectionSymbols[&Section]; in getOrCreateSectionSymbol()
134 Sym = new (&*NameIter, *this) MCSymbolELF(&*NameIter, /*isTemporary*/ false); in getOrCreateSectionSymbol()
162 return new (Name, *this) MCSymbolELF(Name, IsTemporary); in createSymbolImpl()
314 const MCSymbolELF *Group, in createELFRelSection()
337 MCSymbolELF *GroupSym = nullptr; in getELFSection()
339 GroupSym = cast<MCSymbolELF>(getOrCreateSymbol(Group)); in getELFSection()
347 const MCSymbolELF *GroupSym, in getELFSection()
380 MCSectionELF *MCContext::createELFGroupSection(const MCSymbolELF *Group) { in createELFGroupSection()
/external/llvm-project/llvm/include/llvm/MC/
DMCSectionELF.h41 const MCSymbolELF *Group;
52 unsigned entrySize, const MCSymbolELF *group, unsigned UniqueID, in MCSectionELF()
53 MCSymbol *Begin, const MCSymbolELF *LinkedToSym) in MCSectionELF()
74 const MCSymbolELF *getGroup() const { return Group; } in getGroup()
DMCELFObjectWriter.h27 class MCSymbolELF; variable
32 const MCSymbolELF *Symbol; // The symbol to relocate with.
35 const MCSymbolELF *OriginalSymbol; // The original value of Symbol if we changed it.
38 ELFRelocationEntry(uint64_t Offset, const MCSymbolELF *Symbol, unsigned Type, in ELFRelocationEntry()
39 uint64_t Addend, const MCSymbolELF *OriginalSymbol, in ELFRelocationEntry()
/external/llvm/include/llvm/MC/
DMCELFObjectWriter.h27 class MCSymbolELF; variable
33 const MCSymbolELF *Symbol; // The symbol to relocate with.
36 const MCSymbolELF *OriginalSymbol; // The original value of Symbol if we changed it.
39 ELFRelocationEntry(uint64_t Offset, const MCSymbolELF *Symbol, unsigned Type, in ELFRelocationEntry()
40 uint64_t Addend, const MCSymbolELF *OriginalSymbol, in ELFRelocationEntry()
DMCSectionELF.h48 const MCSymbolELF *Group;
56 unsigned entrySize, const MCSymbolELF *group, unsigned UniqueID, in MCSectionELF()
79 const MCSymbolELF *getGroup() const { return Group; } in getGroup()
DMCSymbolELF.h15 class MCSymbolELF : public MCSymbol {
21 MCSymbolELF(const StringMapEntry<bool> *Name, bool isTemporary) in MCSymbolELF() function
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCSectionELF.h45 const MCSymbolELF *Group;
54 unsigned entrySize, const MCSymbolELF *group, unsigned UniqueID, in MCSectionELF()
55 MCSymbol *Begin, const MCSymbolELF *AssociatedSymbol) in MCSectionELF()
75 const MCSymbolELF *getGroup() const { return Group; } in getGroup()
DMCELFObjectWriter.h28 class MCSymbolELF; variable
33 const MCSymbolELF *Symbol; // The symbol to relocate with.
36 const MCSymbolELF *OriginalSymbol; // The original value of Symbol if we changed it.
39 ELFRelocationEntry(uint64_t Offset, const MCSymbolELF *Symbol, unsigned Type, in ELFRelocationEntry()
40 uint64_t Addend, const MCSymbolELF *OriginalSymbol, in ELFRelocationEntry()
DMCSymbolELF.h14 class MCSymbolELF : public MCSymbol {
20 MCSymbolELF(const StringMapEntry<bool> *Name, bool isTemporary) in MCSymbolELF() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCTargetDesc.cpp128 void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) override { in emitLocalEntry()
166 void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) override { in emitLocalEntry()
190 auto *Symbol = cast<MCSymbolELF>(S); in emitAssignment()
207 SmallPtrSet<MCSymbolELF *, 32> UpdateOther;
209 bool copyLocalEntry(MCSymbolELF *D, const MCExpr *S) { in copyLocalEntry()
213 const auto &RhsSym = cast<MCSymbolELF>(Ref->getSymbol()); in copyLocalEntry()
239 void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) override { in emitLocalEntry()
263 void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) override { in emitLocalEntry()
/external/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCTargetDesc.cpp146 void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) override { in emitLocalEntry()
184 void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) override { in emitLocalEntry()
204 auto *Symbol = cast<MCSymbolELF>(S); in emitAssignment()
225 SmallPtrSet<MCSymbolELF *, 32> UpdateOther;
227 bool copyLocalEntry(MCSymbolELF *D, const MCExpr *S) { in copyLocalEntry()
231 const auto &RhsSym = cast<MCSymbolELF>(Ref->getSymbol()); in copyLocalEntry()
282 void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) override { in emitLocalEntry()
306 void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) override { in emitLocalEntry()
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUTargetStreamer.cpp321 MCSymbolELF *Symbol = cast<MCSymbolELF>( in EmitAMDGPUSymbolType()
329 MCSymbolELF *Symbol = cast<MCSymbolELF>( in EmitAMDGPUHsaModuleScopeGlobal()
338 MCSymbolELF *Symbol = cast<MCSymbolELF>( in EmitAMDGPUHsaProgramScopeGlobal()
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCTargetDesc.cpp118 void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) override { in emitLocalEntry()
151 void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) override { in emitLocalEntry()
174 auto *Symbol = cast<MCSymbolELF>(S); in emitAssignment()
179 const auto &RhsSym = cast<MCSymbolELF>( in emitAssignment()
201 void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) override { in emitLocalEntry()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCTargetStreamer.h19 class MCSymbolELF; variable
29 virtual void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) = 0;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCTargetStreamer.h19 class MCSymbolELF; variable
29 virtual void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) = 0;

12345