Home
last modified time | relevance | path

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

1234567

/llvm-project/llvm/include/llvm/MC/
H A DMCObjectFileInfo.h17 #include "llvm/MC/MCSection.h"
26 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 *ImportCallSection = nullptr;
82 MCSection *DwarfAbbrevSectio
[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.h1 //===- MCSection.h - Machine Code Sections ----------------------*- C++ -*-===//
9 // This file declares the MCSection class.
36 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 *>(thi in getBeginSymbol()
[all...]
H A DMCMachObjectWriter.h19 #include "llvm/MC/MCSection.h"
122 MCSection *Section;
138 DenseMap<const MCSection *, std::vector<RelAndSymbol>> Relocations;
140 DenseMap<const MCSection *, unsigned> IndirectSymBase;
148 SmallVector<MCSection *, 0> SectionOrder; in MachObjectWriter()
203 const llvm::SmallVectorImpl<MCSection *> &getSectionOrder() const { in isX86_64()
209 uint64_t getSectionAddress(const MCSection *Sec) const {
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 *Se
[all...]
H A DMCStreamer.h51 class MCSection; variable
67 using MCSectionSubPair = std::pair<MCSection *, uint32_t>;
119 virtual void changeSection(const MCSection *CurSection, MCSection *Section,
218 // This is a pair of index into DwarfFrameInfos and the MCSection associated
221 SmallVector<std::pair<size_t, MCSection *>, 1> FrameInfoStack;
261 virtual void changeSection(MCSection *, uint32_t);
400 MCSection *getCurrentSectionOnly() const { in getCurrentSectionOnly()
433 virtual void switchSection(MCSection *Section, uint32_t Subsec = 0);
434 bool switchSection(MCSection *Sectio
[all...]
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;
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,
130 unsigned Type, MCSection *&AttributeSection) {
134 emitAttributesSection(MCSection *&AttributeSection, const Twine &Section, in emitGNUAttribute()
145 unsigned Type, MCSection *&AttributeSection,
148 MCSection *&AttributeSection, const Twine &Section, unsigned Type,
22 class MCSection; global() variable
H A DMCSectionELF.h19 #include "llvm/MC/MCSection.h"
27 class MCSectionELF final : public MCSection {
61 : MCSection(SV_ELF, Name, flags & ELF::SHF_EXECINSTR, in MCSectionELF()
96 const MCSection *getLinkedToSection() const { in getLinkedToSection()
109 static bool classof(const MCSection *S) { in classof()
/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLoweringObjectFileImpl.h29 class MCSection; variable
67 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
71 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
74 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
77 MCSection *getSectionForJumpTable(const Function &F,
79 MCSection *
82 MCSection *getSectionForLSDA(const Function &F, const MCSymbol &FnSym,
85 MCSection *
90 MCSection *
111 MCSection *getStaticCtorSectio
[all...]
/llvm-project/llvm/include/llvm/Target/
H A DTargetLoweringObjectFile.h35 class MCSection;
64 MCSection *StaticCtorSection = nullptr;
67 MCSection *StaticDtorSection = nullptr;
103 virtual MCSection *getSectionForConstant(const DataLayout &DL,
107 virtual MCSection *
112 virtual MCSection *
124 MCSection *SectionForGlobal(const GlobalObject *GO, SectionKind Kind,
130 MCSection *SectionForGlobal(const GlobalObject *GO,
137 virtual MCSection *getSectionForJumpTable(const Function &F, in getSectionForLSDA()
139 virtual MCSection *
34 class MCSection; global() variable
[all...]
/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,
/llvm-project/llvm/lib/MC/
H A DMCSection.cpp1 //===- lib/MC/MCSection.cpp - Machine Code Section Representation ---------===//
9 #include "llvm/MC/MCSection.h"
22 MCSection::MCSection(SectionVariant V, StringRef Name, bool IsText,
32 MCSymbol *MCSection::getEndSymbol(MCContext &Ctx) {
38 bool MCSection::hasEnded() const { return End && End->isInSection(); }
40 MCSection::~MCSection() {
49 void MCSection::setBundleLockState(BundleLockStateType NewState) {
68 StringRef MCSection in setBundleLockState()
23 MCSection::MCSection(SectionVariant V, StringRef Name, bool IsText, MCSection() function in MCSection
[all...]
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.cpp27 #include "llvm/MC/MCSection.h"
95 MCSection *Section) { in emitAssemblerFlag()
100 void MCELFStreamer::changeSection(MCSection *Section, uint32_t Subsection) {
277 MCSection &Section = *getAssembler().getContext().getELFSection( in emitCommonSymbol()
341 MCSection *Comment = getAssembler().getContext().getELFSection( in emitValueToAlignment()
469 MCSection *CGProfile = getAssembler().getContext().getELFSection( in finalizeCGProfileEntry()
522 MCSection &Sec = *getCurrentSectionOnly(); in emitInstToData()
532 if (Sec.getBundleLockState() == MCSection::BundleLockedAlignToEnd) { in emitInstToData()
576 MCSection &Sec = *getCurrentSectionOnly(); in emitBundleAlignMode()
584 Sec.setBundleLockState(AlignToEnd ? MCSection
[all...]
/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;
/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,
/llvm-project/llvm/include/llvm/DWP/
H A DDWP.h75 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 *Section,
/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,
/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,
/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,
/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,
/llvm-project/llvm/lib/Target/SPIRV/MCTargetDesc/
H A DSPIRVTargetStreamer.h16 class MCSection; variable
23 void changeSection(const MCSection *CurSection, MCSection *Section, in changeSection()
/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,
/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp432 MCSection *Sec = getContext().getELFNamedSection(".data", Label->getName(), in emitPersonalityValue()
832 static MCSection *selectExplicitSectionGlobal(const GlobalObject *GO, in selectExplicitSectionGlobal()
881 MCSection *TargetLoweringObjectFileELF::getExplicitSectionGlobal( in selectELFSectionForGlobal()
921 static MCSection *selectELFSectionForGlobal( in SelectSectionForGlobal()
948 MCSection *TargetLoweringObjectFileELF::SelectSectionForGlobal(
967 MCSection *TargetLoweringObjectFileELF::getUniqueSectionForFunction( in getSectionForLSDA()
983 MCSection *TargetLoweringObjectFileELF::getSectionForJumpTable( in getSectionForLSDA()
988 MCSection *TargetLoweringObjectFileELF::getSectionForJumpTable( in getSectionForLSDA()
1004 MCSection *TargetLoweringObjectFileELF::getSectionForLSDA( in shouldPutJumpTableInFunctionSection()
1035 LSDA->getType(), Flags, 0, Group, IsComdat, MCSection in getSectionForMachineBasicBlock()
[all...]
/llvm-project/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXTargetStreamer.h15 class MCSection; variable
45 void changeSection(const MCSection *CurSection, MCSection *Section,

1234567