Home
last modified time | relevance | path

Searched refs:MCSectionELF (Results 1 – 25 of 46) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DELFObjectWriter.cpp69 using SectionIndexMapTy = DenseMap<const MCSectionELF *, uint32_t>;
74 bool isDwoSection(const MCSectionELF &Sec) { in isDwoSection()
151 std::vector<const MCSectionELF *> SectionTable;
152 unsigned addToSectionTable(const MCSectionELF *Sec);
188 std::map<const MCSectionELF *, std::pair<uint64_t, uint64_t>>;
205 MCSectionELF *createRelocationSection(MCContext &Ctx,
206 const MCSectionELF &Sec);
208 const MCSectionELF *createStringTable(MCContext &Ctx);
222 void writeRelocations(const MCAssembler &Asm, const MCSectionELF &Sec);
227 const MCSectionELF &Section);
[all …]
DMCSectionELF.cpp21 MCSectionELF::~MCSectionELF() = default; // anchor.
25 bool MCSectionELF::ShouldOmitSectionDirective(StringRef Name, in ShouldOmitSectionDirective()
56 void MCSectionELF::PrintSwitchToSection(const MCAsmInfo &MAI, const Triple &T, in PrintSwitchToSection()
188 bool MCSectionELF::UseCodeAlign() const { in UseCodeAlign()
192 bool MCSectionELF::isVirtualSection() const { in isVirtualSection()
DMCContext.cpp301 void MCContext::renameELFSection(MCSectionELF *Section, StringRef Name) { in renameELFSection()
314 const_cast<MCSectionELF *>(Section)->setSectionName(CachedName); in renameELFSection()
317 MCSectionELF *MCContext::createELFSectionImpl(StringRef Section, unsigned Type, in createELFSectionImpl()
341 auto *Ret = new (ELFAllocator.Allocate()) MCSectionELF( in createELFSectionImpl()
352 MCSectionELF *MCContext::createELFRelSection(const Twine &Name, unsigned Type, in createELFRelSection()
355 const MCSectionELF *RelInfoSection) { in createELFRelSection()
366 MCSectionELF *MCContext::getELFNamedSection(const Twine &Prefix, in getELFNamedSection()
373 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection()
385 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection()
410 MCSectionELF *Result = createELFSectionImpl( in getELFSection()
[all …]
DMCELFStreamer.cpp104 const MCSectionELF &Section = in EmitLabel()
105 static_cast<const MCSectionELF &>(*getCurrentSectionOnly()); in EmitLabel()
114 const MCSectionELF &Section = in EmitLabel()
115 static_cast<const MCSectionELF &>(*getCurrentSectionOnly()); in EmitLabel()
155 auto *SectionELF = static_cast<const MCSectionELF *>(Section); in ChangeSection()
DCMakeLists.txt38 MCSectionELF.cpp
/external/llvm/lib/MC/
DELFObjectWriter.cpp45 typedef DenseMap<const MCSectionELF *, uint32_t> SectionIndexMapTy;
102 llvm::DenseMap<const MCSectionELF *, std::vector<ELFRelocationEntry>>
123 std::vector<const MCSectionELF *> SectionTable;
124 unsigned addToSectionTable(const MCSectionELF *Sec);
177 typedef std::map<const MCSectionELF *, std::pair<uint64_t, uint64_t>>
203 MCSectionELF *createRelocationSection(MCContext &Ctx,
204 const MCSectionELF &Sec);
206 const MCSectionELF *createStringTable(MCContext &Ctx);
223 void writeRelocations(const MCAssembler &Asm, const MCSectionELF &Sec);
235 const MCSectionELF &Section);
[all …]
DMCSectionELF.cpp20 MCSectionELF::~MCSectionELF() {} // anchor. in ~MCSectionELF()
24 bool MCSectionELF::ShouldOmitSectionDirective(StringRef Name, in ShouldOmitSectionDirective()
56 void MCSectionELF::PrintSwitchToSection(const MCAsmInfo &MAI, in PrintSwitchToSection()
162 bool MCSectionELF::UseCodeAlign() const { in UseCodeAlign()
166 bool MCSectionELF::isVirtualSection() const { in isVirtualSection()
DMCContext.cpp127 MCSymbolELF *MCContext::getOrCreateSectionSymbol(const MCSectionELF &Section) { in getOrCreateSectionSymbol()
296 void MCContext::renameELFSection(MCSectionELF *Section, StringRef Name) { in renameELFSection()
309 const_cast<MCSectionELF *>(Section)->setSectionName(CachedName); in renameELFSection()
312 MCSectionELF *MCContext::createELFRelSection(const Twine &Name, unsigned Type, in createELFRelSection()
315 const MCSectionELF *Associated) { in createELFRelSection()
322 MCSectionELF(I->getKey(), Type, Flags, SectionKind::getReadOnly(), in createELFRelSection()
326 MCSectionELF *MCContext::getELFNamedSection(const Twine &Prefix, in getELFNamedSection()
333 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection()
345 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection()
350 const MCSectionELF *Associated) { in getELFSection()
[all …]
DCMakeLists.txt35 MCSectionELF.cpp
DMCELFStreamer.cpp104 const MCSectionELF &Section = in EmitLabel()
105 static_cast<const MCSectionELF &>(*getCurrentSectionOnly()); in EmitLabel()
145 auto *SectionELF = static_cast<const MCSectionELF *>(Section); in ChangeSection()
/external/llvm/include/llvm/MC/
DMCContext.h44 class MCSectionELF; variable
80 SpecificBumpPtrAllocator<MCSectionELF> ELFAllocator;
88 DenseMap<const MCSectionELF *, MCSymbolELF *> SectionSymbols;
220 std::map<ELFSectionKey, MCSectionELF *> ELFUniquingMap;
295 MCSymbolELF *getOrCreateSectionSymbol(const MCSectionELF &Section);
342 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection()
347 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection()
352 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection()
358 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection()
365 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection()
[all …]
DMCSectionELF.h30 class MCSectionELF final : public MCSection {
51 const MCSectionELF *Associated;
55 MCSectionELF(StringRef Section, unsigned type, unsigned flags, SectionKind K, in MCSectionELF() function
57 MCSymbol *Begin, const MCSectionELF *Associated) in MCSectionELF()
68 ~MCSectionELF();
89 const MCSectionELF *getAssociatedSection() const { return Associated; } in getAssociatedSection()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCContext.h50 class MCSectionELF; variable
92 SpecificBumpPtrAllocator<MCSectionELF> ELFAllocator;
251 std::map<ELFSectionKey, MCSectionELF *> ELFUniquingMap;
271 MCSectionELF *createELFSectionImpl(StringRef Section, unsigned Type,
393 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection()
398 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection()
404 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection()
411 MCSectionELF *getELFSection(const Twine &Section, unsigned Type,
416 MCSectionELF *getELFSection(const Twine &Section, unsigned Type,
425 MCSectionELF *getELFNamedSection(const Twine &Prefix, const Twine &Suffix,
[all …]
DMCSectionELF.h28 class MCSectionELF final : public MCSection {
54 MCSectionELF(StringRef Section, unsigned type, unsigned flags, SectionKind K, in MCSectionELF() function
67 ~MCSectionELF();
/external/llvm/lib/Target/Hexagon/
DHexagonTargetObjectFile.h36 MCSectionELF *SmallDataSection;
37 MCSectionELF *SmallBSSSection;
DHexagonAsmPrinter.cpp213 MCSectionELF *Section = OutStreamer.getContext().getELFSection( in smallData()
241 MCSectionELF *Section = OutStreamer.getContext().getELFSection( in smallData()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonTargetObjectFile.h42 MCSectionELF *SmallDataSection;
43 MCSectionELF *SmallBSSSection;
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsOptionRecord.cpp31 MCSectionELF *Sec = in EmitMipsOptionRecord()
50 MCSectionELF *Sec = Context.getELFSection(".reginfo", ELF::SHT_MIPS_REGINFO, in EmitMipsOptionRecord()
DMipsTargetStreamer.cpp766 MCSectionELF &Section = static_cast<MCSectionELF &>(S); in finish()
870 MCSectionELF *Sec = Context.getELFSection(".pdr", ELF::SHT_PROGBITS, 0); in emitDirectiveEnd()
1159 MCSectionELF *Sec = Context.getELFSection( in emitMipsAbiFlags()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsOptionRecord.cpp37 MCSectionELF *Sec = in EmitMipsOptionRecord()
56 MCSectionELF *Sec = Context.getELFSection(".reginfo", ELF::SHT_MIPS_REGINFO, in EmitMipsOptionRecord()
DMipsTargetStreamer.cpp877 MCSectionELF &Section = static_cast<MCSectionELF &>(S); in finish()
984 MCSectionELF *Sec = Context.getELFSection(".pdr", ELF::SHT_PROGBITS, 0); in emitDirectiveEnd()
1273 MCSectionELF *Sec = Context.getELFSection( in emitMipsAbiFlags()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DR600AsmPrinter.cpp113 MCSectionELF *ConfigSection = in runOnMachineFunction()
122 MCSectionELF *CommentSection = in runOnMachineFunction()
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUTargetStreamer.cpp259 MCSectionELF *Note = OS.getContext().getELFSection(".note", ELF::SHT_NOTE, 0); in EmitDirectiveHSACodeObjectVersion()
282 MCSectionELF *Note = OS.getContext().getELFSection(".note", ELF::SHT_NOTE, 0); in EmitDirectiveHSACodeObjectISA()
/external/llvm/lib/MC/MCParser/
DELFAsmParser.cpp514 if (const MCSectionELF *Section = in ParseSectionArguments()
515 cast_or_null<MCSectionELF>(CurrentSection.first)) in ParseSectionArguments()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp396 MCSectionELF *Section = getContext().getELFSection( in getExplicitSectionGlobal()
449 static MCSectionELF *selectELFSectionForGlobal( in selectELFSectionForGlobal()
524 MCSectionELF *Section = selectELFSectionForGlobal( in SelectSectionForGlobal()
573 static MCSectionELF *getStaticStructorSection(MCContext &Ctx, bool UseInitArray, in getStaticStructorSection()

12