Home
last modified time | relevance | path

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

1234567

/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCObjectFileInfo.h26 class MCSection; variable
53 MCSection *TextSection = nullptr;
56 MCSection *DataSection = nullptr;
59 MCSection *BSSSection = nullptr;
65 MCSection *ReadOnlySection = nullptr;
69 MCSection *LSDASection = nullptr;
74 MCSection *CompactUnwindSection = nullptr;
78 MCSection *DwarfAbbrevSection = nullptr;
79 MCSection *DwarfInfoSection = nullptr;
80 MCSection *DwarfLineSection = nullptr;
[all …]
H A DMCSection.h39 class MCSection {
117 MCSection(SectionVariant V, StringRef Name, SectionKind K, MCSymbol *Begin);
118 ~MCSection();
121 MCSection(const MCSection &) = delete;
122 MCSection &operator=(const MCSection &) = delete;
131 return const_cast<MCSection *>(this)->getBeginSymbol();
172 MCSection::FragmentListType &getFragmentList() { return Fragments; }
173 const MCSection::FragmentListType &getFragmentList() const {
174 return const_cast<MCSection *>(this)->getFragmentList();
178 static FragmentListType MCSection::*getSublistAccess(MCFragment *) {
[all …]
H A DMCAsmLayout.h18 class MCSection; variable
32 llvm::SmallVector<MCSection *, 16> SectionOrder;
37 mutable DenseMap<const MCSection *, MCFragment *> LastValidFragment;
69 llvm::SmallVectorImpl<MCSection *> &getSectionOrder() { return SectionOrder; } in getSectionOrder()
70 const llvm::SmallVectorImpl<MCSection *> &getSectionOrder() const { in getSectionOrder()
88 uint64_t getSectionAddressSize(const MCSection *Sec) const;
92 uint64_t getSectionFileSize(const MCSection *Sec) const;
H A DMCFragment.h26 class MCSection; variable
30 class MCFragment : public ilist_node_with_parent<MCFragment, MCSection> {
55 MCSection *Parent;
80 MCSection *Parent = nullptr);
95 MCSection *getParent() const { return Parent; } in getParent()
96 void setParent(MCSection *Value) { Parent = Value; } in setParent()
116 explicit MCDummyFragment(MCSection *Sec) : MCFragment(FT_Dummy, false, Sec) {} in MCDummyFragment()
132 MCSection *Sec) in MCEncodedFragment()
192 MCSection *Sec) in MCEncodedFragmentWithContents()
213 MCSection *Sec) in MCEncodedFragmentWithFixups()
[all …]
H A DMCSectionGOFF.h26 class MCSectionGOFF final : public MCSection {
28 MCSection *Parent;
32 MCSectionGOFF(StringRef Name, SectionKind K, MCSection *P, const MCExpr *Sub) in MCSectionGOFF()
33 : MCSection(SV_GOFF, Name, K, nullptr), Parent(P), SubsectionId(Sub) {} in MCSectionGOFF()
46 MCSection *getParent() const { return Parent; } in getParent()
49 static bool classof(const MCSection *S) { return S->getVariant() == SV_GOFF; } in classof()
H A DConstantPools.h26 class MCSection; variable
85 using ConstantPoolMapTy = MapVector<MCSection *, ConstantPool>;
96 ConstantPool *getConstantPool(MCSection *Section);
97 ConstantPool &getOrCreateConstantPool(MCSection *Section);
H A DMCSectionELF.h26 class MCSectionELF final : public MCSection {
56 : MCSection(SV_ELF, Name, K, Begin), Type(type), Flags(flags), in MCSectionELF()
89 const MCSection *getLinkedToSection() const { in getLinkedToSection()
94 static bool classof(const MCSection *S) { in classof()
H A DMCELFStreamer.h22 class MCSection; variable
50 void changeSection(MCSection *Section, const MCExpr *Subsection) override;
69 void emitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
72 void emitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
115 unsigned Type, MCSection *&AttributeSection) { in emitAttributesSection()
123 unsigned Type, MCSection *&AttributeSection,
H A DMCStreamer.h50 class MCSection; variable
66 using MCSectionSubPair = std::pair<MCSection *, const MCExpr *>;
118 virtual void changeSection(const MCSection *CurSection, MCSection *Section,
389 MCSection *getCurrentSectionOnly() const { return getCurrentSection().first; } in getCurrentSectionOnly()
408 virtual void changeSection(MCSection *, const MCExpr *);
447 virtual void switchSection(MCSection *Section,
453 void switchSectionNoChange(MCSection *Section,
465 MCSymbol *endSection(MCSection *Section);
688 virtual void emitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
698 virtual void emitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTargetLoweringObjectFileImpl.h29 class MCSection; variable
59 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
63 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
66 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
69 MCSection *getSectionForJumpTable(const Function &F,
71 MCSection *getSectionForLSDA(const Function &F, const MCSymbol &FnSym,
74 MCSection *
79 MCSection *
100 MCSection *getStaticCtorSection(unsigned Priority,
102 MCSection *getStaticDtorSection(unsigned Priority,
[all …]
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCSection.cpp23 MCSection::MCSection(SectionVariant V, StringRef Name, SectionKind K, in MCSection() function in MCSection
29 MCSymbol *MCSection::getEndSymbol(MCContext &Ctx) { in getEndSymbol()
35 bool MCSection::hasEnded() const { return End && End->isInSection(); } in hasEnded()
37 MCSection::~MCSection() = default;
39 void MCSection::setBundleLockState(BundleLockStateType NewState) { in setBundleLockState()
58 MCSection::iterator
59 MCSection::getSubsectionInsertionPoint(unsigned Subsection) { in getSubsectionInsertionPoint()
89 StringRef MCSection::getVirtualSectionKind() const { return "virtual"; } in getVirtualSectionKind()
91 void MCSection::addPendingLabel(MCSymbol *label, unsigned Subsection) { in addPendingLabel()
95 void MCSection::flushPendingLabels(MCFragment *F, uint64_t FOffset, in flushPendingLabels()
[all …]
H A DConstantPools.cpp79 ConstantPool *AssemblerConstantPools::getConstantPool(MCSection *Section) { in getConstantPool()
88 AssemblerConstantPools::getOrCreateConstantPool(MCSection *Section) { in getOrCreateConstantPool()
92 static void emitConstantPool(MCStreamer &Streamer, MCSection *Section, in emitConstantPool()
103 MCSection *Section = CPI.first; in emitAll()
111 MCSection *Section = Streamer.getCurrentSectionOnly(); in emitForCurrentSection()
117 MCSection *Section = Streamer.getCurrentSectionOnly(); in clearCacheForCurrentSection()
125 MCSection *Section = Streamer.getCurrentSectionOnly(); in addEntry()
H A DMCFragment.cpp34 for (MCSection &Sec : Asm) in MCAsmLayout()
37 for (MCSection &Sec : Asm) in MCAsmLayout()
43 const MCSection *Sec = F->getParent(); in isFragmentValid()
52 MCSection *Sec = F->getParent(); in canGetFragmentOffset()
53 MCSection::iterator I; in canGetFragmentOffset()
58 I = ++MCSection::iterator(LastValid); in canGetFragmentOffset()
81 MCSection *Sec = F->getParent(); in ensureValid()
82 MCSection::iterator I; in ensureValid()
84 I = ++MCSection::iterator(Cur); in ensureValid()
198 uint64_t MCAsmLayout::getSectionAddressSize(const MCSection *Sec) const { in getSectionAddressSize()
[all …]
H A DMCELFStreamer.cpp98 MCSection *s = Ctx.getAsmInfo()->getNonexecutableStackSection(Ctx); in initSections()
145 MCSection *Section) { in setSectionAlignmentForBundling()
150 void MCELFStreamer::changeSection(MCSection *Section, in changeSection()
152 MCSection *CurSection = getCurrentSectionOnly(); in changeSection()
326 MCSection &Section = *getAssembler().getContext().getELFSection( in emitCommonSymbol()
390 MCSection *Comment = getAssembler().getContext().getELFSection( in emitIdent()
519 MCSection *CGProfile = getAssembler().getContext().getELFSection( in finalizeCGProfile()
581 MCSection &Sec = *getCurrentSectionOnly(); in emitInstToData()
612 if (Sec.getBundleLockState() == MCSection::BundleLockedAlignToEnd) { in emitInstToData()
655 MCSection &Sec = *getCurrentSectionOnly(); in emitBundleLock()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Target/
H A DTargetLoweringObjectFile.h34 class MCSection; variable
63 MCSection *StaticCtorSection = nullptr;
66 MCSection *StaticDtorSection = nullptr;
98 virtual MCSection *getSectionForConstant(const DataLayout &DL,
102 virtual MCSection *
107 virtual MCSection *
119 MCSection *SectionForGlobal(const GlobalObject *GO, SectionKind Kind,
125 MCSection *SectionForGlobal(const GlobalObject *GO,
132 virtual MCSection *getSectionForJumpTable(const Function &F,
134 virtual MCSection *getSectionForLSDA(const Function &, const MCSymbol &, in getSectionForLSDA()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AVR/
H A DAVRTargetObjectFile.h23 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
27 MCSection *ProgmemDataSection;
28 MCSection *Progmem1DataSection;
29 MCSection *Progmem2DataSection;
30 MCSection *Progmem3DataSection;
31 MCSection *Progmem4DataSection;
32 MCSection *Progmem5DataSection;
/openbsd-src/gnu/llvm/llvm/lib/Target/XCore/
H A 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,
/openbsd-src/gnu/llvm/llvm/include/llvm/DWP/
H A DDWP.h68 const StringMap<std::pair<MCSection *, DWARFSectionKind>> &KnownSections,
69 const MCSection *StrSection, const MCSection *StrOffsetSection,
70 const MCSection *TypesSection, const MCSection *CUIndexSection,
71 const MCSection *TUIndexSection, const MCSection *InfoSection,
84 MCSection *StrOffsetSection,
91 void writeIndex(MCStreamer &Out, MCSection *Section,
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.h18 MCSection *SmallDataSection;
19 MCSection *SmallBSSSection;
30 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
36 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
/openbsd-src/gnu/llvm/llvm/lib/Target/Lanai/
H A DLanaiTargetObjectFile.h16 MCSection *SmallDataSection;
17 MCSection *SmallBSSSection;
32 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
38 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.h17 MCSection *SmallDataSection;
18 MCSection *SmallBSSSection;
34 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
41 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfStringPool.h20 class MCSection; variable
42 void emitStringOffsetsTableHeader(AsmPrinter &Asm, MCSection *OffsetSection,
45 void emit(AsmPrinter &Asm, MCSection *StrSection,
46 MCSection *OffsetSection = nullptr,
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.h22 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
25 MCSection *getExplicitSectionGlobal(const GlobalObject *GO,
48 MCSection *selectSmallSectionForGlobal(const GlobalObject *GO,
52 MCSection *selectSectionForLookupTable(const GlobalObject *GO,
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/MCTargetDesc/
H A DSPIRVTargetStreamer.h16 class MCSection; variable
23 void changeSection(const MCSection *CurSection, MCSection *Section, in changeSection()
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXTargetObjectFile.h24 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, in getSectionForConstant()
30 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, in getExplicitSectionGlobal()
35 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,

1234567