Home
last modified time | relevance | path

Searched refs:MCSection (Results 1 – 25 of 128) sorted by relevance

123456

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCObjectFileInfo.h24 class MCSection; variable
55 MCSection *TextSection = nullptr;
58 MCSection *DataSection = nullptr;
61 MCSection *BSSSection = nullptr;
67 MCSection *ReadOnlySection = nullptr;
71 MCSection *LSDASection = nullptr;
76 MCSection *CompactUnwindSection = nullptr;
80 MCSection *DwarfAbbrevSection = nullptr;
81 MCSection *DwarfInfoSection = nullptr;
82 MCSection *DwarfLineSection = nullptr;
[all …]
DMCSection.h39 class MCSection {
104 MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin);
105 ~MCSection();
108 MCSection(const MCSection &) = delete;
109 MCSection &operator=(const MCSection &) = delete;
117 return const_cast<MCSection *>(this)->getBeginSymbol();
152 MCSection::FragmentListType &getFragmentList() { return Fragments; }
153 const MCSection::FragmentListType &getFragmentList() const {
154 return const_cast<MCSection *>(this)->getFragmentList();
158 static FragmentListType MCSection::*getSublistAccess(MCFragment *) {
[all …]
DMCFragment.h27 class MCSection; variable
31 class MCFragment : public ilist_node_with_parent<MCFragment, MCSection> {
54 MCSection *Parent;
72 MCSection *Parent = nullptr);
87 MCSection *getParent() const { return Parent; } in getParent()
88 void setParent(MCSection *Value) { Parent = Value; } in setParent()
105 explicit MCDummyFragment(MCSection *Sec) : MCFragment(FT_Dummy, false, Sec) {} in MCDummyFragment()
121 MCSection *Sec) in MCEncodedFragment()
180 MCSection *Sec) in MCEncodedFragmentWithContents()
201 MCSection *Sec) in MCEncodedFragmentWithFixups()
[all …]
DMCAsmLayout.h18 class MCSection; variable
32 llvm::SmallVector<MCSection *, 16> SectionOrder;
37 mutable DenseMap<const MCSection *, MCFragment *> LastValidFragment;
65 llvm::SmallVectorImpl<MCSection *> &getSectionOrder() { return SectionOrder; } in getSectionOrder()
66 const llvm::SmallVectorImpl<MCSection *> &getSectionOrder() const { in getSectionOrder()
84 uint64_t getSectionAddressSize(const MCSection *Sec) const;
88 uint64_t getSectionFileSize(const MCSection *Sec) const;
DMCStreamer.h50 class MCSection; variable
64 using MCSectionSubPair = std::pair<MCSection *, const MCExpr *>;
116 virtual void changeSection(const MCSection *CurSection, MCSection *Section,
362 MCSection *getCurrentSectionOnly() const { return getCurrentSection().first; } in getCurrentSectionOnly()
381 virtual void ChangeSection(MCSection *, const MCExpr *);
420 virtual void SwitchSection(MCSection *Section,
426 void SwitchSectionNoChange(MCSection *Section,
438 MCSymbol *endSection(MCSection *Section);
612 virtual void EmitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
623 virtual void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
[all …]
DConstantPools.h27 class MCSection; variable
85 using ConstantPoolMapTy = MapVector<MCSection *, ConstantPool>;
96 ConstantPool *getConstantPool(MCSection *Section);
97 ConstantPool &getOrCreateConstantPool(MCSection *Section);
DMCSectionELF.h27 class MCSectionELF final : public MCSection {
56 : MCSection(SV_ELF, K, Begin), SectionName(Section), Type(type), in MCSectionELF()
86 const MCSection *getAssociatedSection() const { return &AssociatedSymbol->getSection(); } in getAssociatedSection()
89 static bool classof(const MCSection *S) { in classof()
DMCMachObjectWriter.h107 DenseMap<const MCSection *, std::vector<RelAndSymbol>> Relocations;
108 DenseMap<const MCSection *, unsigned> IndirectSymBase;
151 uint64_t getSectionAddress(const MCSection *Sec) const { in getSectionAddress()
159 uint64_t getPaddingSize(const MCSection *SD, const MCAsmLayout &Layout) const;
189 void writeSection(const MCAsmLayout &Layout, const MCSection &Sec,
229 void addRelocation(const MCSymbol *RelSymbol, const MCSection *Sec, in addRelocation()
DMCObjectStreamer.h37 MCSection::iterator CurInsertionPoint;
41 SmallVector<MCSection*, 2> PendingLabelSections;
79 MCSection *CurSection = getCurrentSectionOnly(); in insert()
91 bool changeSectionImpl(MCSection *Section, const MCExpr *Subsection);
125 void ChangeSection(MCSection *Section, const MCExpr *Subsection) override;
204 bool mayHaveInstructions(MCSection &Sec) const override;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetLoweringObjectFileImpl.h28 class MCSection; variable
55 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
59 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
62 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
65 MCSection *getSectionForJumpTable(const Function &F,
85 MCSection *getStaticCtorSection(unsigned Priority,
87 MCSection *getStaticDtorSection(unsigned Priority,
94 MCSection *getSectionForCommandLines() const override;
107 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
110 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCSection.cpp23 MCSection::MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin) in MCSection() function in MCSection
27 MCSymbol *MCSection::getEndSymbol(MCContext &Ctx) { in getEndSymbol()
33 bool MCSection::hasEnded() const { return End && End->isInSection(); } in hasEnded()
35 MCSection::~MCSection() = default;
37 void MCSection::setBundleLockState(BundleLockStateType NewState) { in setBundleLockState()
56 MCSection::iterator
57 MCSection::getSubsectionInsertionPoint(unsigned Subsection) { in getSubsectionInsertionPoint()
88 void MCSection::addPendingLabel(MCSymbol* label, unsigned Subsection) { in addPendingLabel()
92 void MCSection::flushPendingLabels(MCFragment *F, uint64_t FOffset, in flushPendingLabels()
109 void MCSection::flushPendingLabels() { in flushPendingLabels()
[all …]
DConstantPools.cpp66 ConstantPool *AssemblerConstantPools::getConstantPool(MCSection *Section) { in getConstantPool()
75 AssemblerConstantPools::getOrCreateConstantPool(MCSection *Section) { in getOrCreateConstantPool()
79 static void emitConstantPool(MCStreamer &Streamer, MCSection *Section, in emitConstantPool()
90 MCSection *Section = CPI.first; in emitAll()
98 MCSection *Section = Streamer.getCurrentSectionOnly(); in emitForCurrentSection()
104 MCSection *Section = Streamer.getCurrentSectionOnly(); in clearCacheForCurrentSection()
112 MCSection *Section = Streamer.getCurrentSectionOnly(); in addEntry()
DMCELFStreamer.cpp140 MCSection *Section) { in setSectionAlignmentForBundling()
146 void MCELFStreamer::ChangeSection(MCSection *Section, in ChangeSection()
148 MCSection *CurSection = getCurrentSectionOnly(); in ChangeSection()
302 MCSection &Section = *getAssembler().getContext().getELFSection( in EmitCommonSymbol()
366 MCSection *Comment = getAssembler().getContext().getELFSection( in EmitIdent()
541 MCSection &Sec = *getCurrentSectionOnly(); in EmitInstToData()
572 if (Sec.getBundleLockState() == MCSection::BundleLockedAlignToEnd) { in EmitInstToData()
614 MCSection &Sec = *getCurrentSectionOnly(); in EmitBundleLock()
630 Sec.setBundleLockState(AlignToEnd ? MCSection::BundleLockedAlignToEnd in EmitBundleLock()
631 : MCSection::BundleLocked); in EmitBundleLock()
[all …]
DMCFragment.cpp34 for (MCSection &Sec : Asm) in MCAsmLayout()
37 for (MCSection &Sec : Asm) in MCAsmLayout()
43 const MCSection *Sec = F->getParent(); in isFragmentValid()
62 MCSection *Sec = F->getParent(); in ensureValid()
63 MCSection::iterator I; in ensureValid()
65 I = ++MCSection::iterator(Cur); in ensureValid()
175 uint64_t MCAsmLayout::getSectionAddressSize(const MCSection *Sec) const { in getSectionAddressSize()
181 uint64_t MCAsmLayout::getSectionFileSize(const MCSection *Sec) const { in getSectionFileSize()
236 MCSection *Parent) in MCFragment()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DTargetLoweringObjectFile.h31 class MCSection; variable
57 MCSection *StaticCtorSection = nullptr;
60 MCSection *StaticDtorSection = nullptr;
88 virtual MCSection *getSectionForConstant(const DataLayout &DL,
101 MCSection *SectionForGlobal(const GlobalObject *GO, SectionKind Kind,
107 MCSection *SectionForGlobal(const GlobalObject *GO, in SectionForGlobal()
116 virtual MCSection *getSectionForJumpTable(const Function &F,
125 virtual MCSection *
156 virtual MCSection *getStaticCtorSection(unsigned Priority, in getStaticCtorSection()
161 virtual MCSection *getStaticDtorSection(unsigned Priority, in getStaticDtorSection()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreTargetObjectFile.h19 MCSection *BSSSectionLarge;
20 MCSection *DataSectionLarge;
21 MCSection *ReadOnlySectionLarge;
22 MCSection *DataRelROSectionLarge;
27 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
30 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
33 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVTargetObjectFile.h19 MCSection *SmallDataSection;
20 MCSection *SmallBSSSection;
31 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
37 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiTargetObjectFile.h17 MCSection *SmallDataSection;
18 MCSection *SmallBSSSection;
33 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
39 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsTargetObjectFile.h17 MCSection *SmallDataSection;
18 MCSection *SmallBSSSection;
34 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
41 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonTargetObjectFile.h21 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
24 MCSection *getExplicitSectionGlobal(const GlobalObject *GO,
47 MCSection *selectSmallSectionForGlobal(const GlobalObject *GO,
51 MCSection *selectSectionForLookupTable(const GlobalObject *GO,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfStringPool.h20 class MCSection; variable
42 void emitStringOffsetsTableHeader(AsmPrinter &Asm, MCSection *OffsetSection,
45 void emit(AsmPrinter &Asm, MCSection *StrSection,
46 MCSection *OffsetSection = nullptr,
DAddressPool.h17 class MCSection; variable
45 void emit(AsmPrinter &Asm, MCSection *AddrSection);
57 MCSymbol *emitHeader(AsmPrinter &Asm, MCSection *Section);
DDwarfFile.cpp41 MCSection *S = TheU->getSection(); in emitUnit()
96 void DwarfFile::emitAbbrevs(MCSection *Section) { Abbrevs.Emit(Asm, Section); } in emitAbbrevs()
99 void DwarfFile::emitStrings(MCSection *StrSection, MCSection *OffsetSection, in emitStrings()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/MCTargetDesc/
DNVPTXTargetStreamer.h15 class MCSection; variable
45 void changeSection(const MCSection *CurSection, MCSection *Section,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXTargetObjectFile.h28 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, in getSectionForConstant()
34 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, in getExplicitSectionGlobal()
39 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,

123456