Home
last modified time | relevance | path

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

1234567

/freebsd/contrib/llvm-project/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 DMCSectionGOFF.h26 class MCSectionGOFF final : public MCSection {
28 MCSection *Parent;
32 MCSectionGOFF(StringRef Name, SectionKind K, MCSection *P, uint32_t Sub) in MCSectionGOFF()
33 : MCSection(SV_GOFF, Name, K.isText(), /*IsVirtual=*/false, nullptr), in MCSectionGOFF()
45 MCSection *getParent() const { return Parent; } in getParent()
48 static bool classof(const MCSection *S) { return S->getVariant() == SV_GOFF; } in classof()
H A DMCSection.h36 class MCSection {
122 MCSection(SectionVariant V, StringRef Name, bool IsText, bool IsVirtual,
124 ~MCSection();
127 MCSection(const MCSection &) = delete;
128 MCSection &operator=(const MCSection &) = delete;
137 return const_cast<MCSection *>(this)->getBeginSymbol(); in getBeginSymbol()
H A DMCAssembler.h50 class MCSection; variable
56 using SectionListType = SmallVector<MCSection *, 0>;
150 void ensureValid(MCSection &Sec) const;
155 uint64_t getSectionAddressSize(const MCSection &Sec) const;
156 uint64_t getSectionFileSize(const MCSection &Sec) const;
170 void writeSectionData(raw_ostream &OS, const MCSection *Section) const;
227 bool registerSection(MCSection &Section);
H A DMCStreamer.h51 class MCSection; variable
67 using MCSectionSubPair = std::pair<MCSection *, uint32_t>;
119 virtual void changeSection(const MCSection *CurSection, MCSection *Section,
221 SmallVector<std::pair<size_t, MCSection *>, 1> FrameInfoStack;
261 virtual void changeSection(MCSection *, uint32_t);
398 MCSection *getCurrentSectionOnly() const { in getCurrentSectionOnly()
431 virtual void switchSection(MCSection *Section, uint32_t Subsec = 0);
432 bool switchSection(MCSection *Section, const MCExpr *);
435 virtual void switchSectionNoPrint(MCSection *Section);
440 MCSymbol *endSection(MCSection *Section);
[all …]
H A DMCMachObjectWriter.h122 MCSection *Section;
138 DenseMap<const MCSection *, std::vector<RelAndSymbol>> Relocations;
140 DenseMap<const MCSection *, unsigned> IndirectSymBase;
148 SmallVector<MCSection *, 0> SectionOrder;
203 const llvm::SmallVectorImpl<MCSection *> &getSectionOrder() const { in getSectionOrder()
209 uint64_t getSectionAddress(const MCSection *Sec) const { in getSectionAddress()
217 uint64_t getPaddingSize(const MCAssembler &Asm, const MCSection *SD) const;
285 void writeSection(const MCAssembler &Asm, const MCSection &Sec,
325 void addRelocation(const MCSymbol *RelSymbol, const MCSection *Sec, in addRelocation()
H A DConstantPools.h26 class MCSection; variable
90 using ConstantPoolMapTy = MapVector<MCSection *, ConstantPool>;
101 ConstantPool *getConstantPool(MCSection *Section);
102 ConstantPool &getOrCreateConstantPool(MCSection *Section);
H A DMCELFStreamer.h23 class MCSection; variable
52 void changeSection(MCSection *Section, uint32_t Subsection = 0) override;
71 void emitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
74 void emitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
119 unsigned Type, MCSection *&AttributeSection) { in emitAttributesSection()
127 unsigned Type, MCSection *&AttributeSection,
H A DMCSectionELF.h27 class MCSectionELF final : public MCSection {
61 : MCSection(SV_ELF, Name, flags & ELF::SHF_EXECINSTR, in MCSectionELF()
94 const MCSection *getLinkedToSection() const { in getLinkedToSection()
107 static bool classof(const MCSection *S) { in classof()
/freebsd/contrib/llvm-project/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 …]
/freebsd/contrib/llvm-project/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 …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.h18 MCSection *SmallDataSection;
19 MCSection *SmallRODataSection;
20 MCSection *SmallROData4Section;
21 MCSection *SmallROData8Section;
22 MCSection *SmallROData16Section;
23 MCSection *SmallROData32Section;
24 MCSection *SmallBSSSection;
37 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
43 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCSection.cpp23 MCSection::MCSection(SectionVariant V, StringRef Name, bool IsText, in MCSection() function in MCSection
33 MCSymbol *MCSection::getEndSymbol(MCContext &Ctx) { in getEndSymbol()
39 bool MCSection::hasEnded() const { return End && End->isInSection(); } in hasEnded()
41 MCSection::~MCSection() { in ~MCSection()
50 void MCSection::setBundleLockState(BundleLockStateType NewState) { in setBundleLockState()
69 StringRef MCSection::getVirtualSectionKind() const { return "virtual"; } in getVirtualSectionKind()
72 LLVM_DUMP_METHOD void MCSection::dump() const { in dump()
H A DConstantPools.cpp80 ConstantPool *AssemblerConstantPools::getConstantPool(MCSection *Section) { in getConstantPool()
89 AssemblerConstantPools::getOrCreateConstantPool(MCSection *Section) { in getOrCreateConstantPool()
93 static void emitConstantPool(MCStreamer &Streamer, MCSection *Section, in emitConstantPool()
104 MCSection *Section = CPI.first; in emitAll()
112 MCSection *Section = Streamer.getCurrentSectionOnly(); in emitForCurrentSection()
118 MCSection *Section = Streamer.getCurrentSectionOnly(); in clearCacheForCurrentSection()
126 MCSection *Section = Streamer.getCurrentSectionOnly(); in addEntry()
H A DMCELFStreamer.cpp96 MCSection *Section) { in setSectionAlignmentForBundling()
101 void MCELFStreamer::changeSection(MCSection *Section, uint32_t Subsection) { in changeSection()
278 MCSection &Section = *getAssembler().getContext().getELFSection( in emitCommonSymbol()
342 MCSection *Comment = getAssembler().getContext().getELFSection( in emitIdent()
470 MCSection *CGProfile = getAssembler().getContext().getELFSection( in finalizeCGProfile()
523 MCSection &Sec = *getCurrentSectionOnly(); in emitInstToData()
533 if (Sec.getBundleLockState() == MCSection::BundleLockedAlignToEnd) { in emitInstToData()
577 MCSection &Sec = *getCurrentSectionOnly(); in emitBundleLock()
585 Sec.setBundleLockState(AlignToEnd ? MCSection::BundleLockedAlignToEnd in emitBundleLock()
586 : MCSection::BundleLocked); in emitBundleLock()
[all …]
/freebsd/contrib/llvm-project/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;
/freebsd/contrib/llvm-project/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,
/freebsd/contrib/llvm-project/llvm/include/llvm/DWP/
H A DDWP.h10 #include "llvm/MC/MCSection.h"
75 const StringMap<std::pair<MCSection *, DWARFSectionKind>> &KnownSections,
76 const MCSection *StrSection, const MCSection *StrOffsetSection,
77 const MCSection *TypesSection, const MCSection *CUIndexSection,
78 const MCSection *TUIndexSection, const MCSection *InfoSection,
91 MCSection *StrOffsetSection,
98 void writeIndex(MCStreamer &Out, MCSection *Sectio
[all...]
/freebsd/contrib/llvm-project/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,
/freebsd/contrib/llvm-project/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,
/freebsd/contrib/llvm-project/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,
/freebsd/contrib/llvm-project/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,
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/MCTargetDesc/
H A DSPIRVTargetStreamer.h16 class MCSection; variable
23 void changeSection(const MCSection *CurSection, MCSection *Section, in changeSection()
/freebsd/contrib/llvm-project/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,
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVTargetObjectFile.h28 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, in getSectionForConstant()
33 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, in getExplicitSectionGlobal()
37 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, in SelectSectionForGlobal()

1234567