Home
last modified time | relevance | path

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

12345

/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCObjectFileInfo.h25 class MCSection; variable
56 MCSection *TextSection;
59 MCSection *DataSection;
62 MCSection *BSSSection;
68 MCSection *ReadOnlySection;
72 MCSection *LSDASection;
208 MCSection *PDataSection;
209 MCSection *XDataSection;
210 MCSection *SXDataSection;
211 MCSection *GFIDsSection;
[all …]
H A DMCSection.h39 class MCSection {
99 MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin);
100 ~MCSection();
103 MCSection(const MCSection &) = delete;
104 MCSection &operator=(const MCSection &) = delete;
112 return const_cast<MCSection *>(this)->getBeginSymbol();
150 MCSection::FragmentListType &getFragmentList() { return Fragments; }
151 const MCSection::FragmentListType &getFragmentList() const {
152 return const_cast<MCSection *>(this)->getFragmentList();
156 static FragmentListType MCSection::*getSublistAccess(MCFragment *) {
[all …]
H A DMCFragment.h27 class MCSection; variable
63 MCSection *Parent;
82 MCSection *Parent = nullptr);
99 MCSection *getParent() const { return Parent; } in getParent()
136 MCSection *Sec) in MCEncodedFragment()
194 MCSection *Sec) in MCEncodedFragmentWithContents()
215 MCSection *Sec) in MCEncodedFragmentWithFixups()
244 MCDataFragment(MCSection *Sec = nullptr)
278 MCSection *Sec = nullptr)
380 MCPaddingFragment(MCSection *Sec = nullptr)
[all …]
H A DMCAsmLayout.h19 class MCSection; variable
33 llvm::SmallVector<MCSection *, 16> SectionOrder;
38 mutable DenseMap<const MCSection *, MCFragment *> LastValidFragment;
66 llvm::SmallVectorImpl<MCSection *> &getSectionOrder() { return SectionOrder; } in getSectionOrder()
67 const llvm::SmallVectorImpl<MCSection *> &getSectionOrder() const { in getSectionOrder()
85 uint64_t getSectionAddressSize(const MCSection *Sec) const;
89 uint64_t getSectionFileSize(const MCSection *Sec) const;
H A DMCStreamer.h50 class MCSection; variable
57 using MCSectionSubPair = std::pair<MCSection *, const MCExpr *>;
108 virtual void changeSection(const MCSection *CurSection, MCSection *Section,
365 virtual void ChangeSection(MCSection *, const MCExpr *);
404 virtual void SwitchSection(MCSection *Section,
410 void SwitchSectionNoChange(MCSection *Section,
422 MCSymbol *endSection(MCSection *Section);
596 virtual void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
936 MCSection *getAssociatedPDataSection(const MCSection *TextSec);
939 MCSection *getAssociatedXDataSection(const MCSection *TextSec);
[all …]
H A DConstantPools.h28 class MCSection; variable
86 using ConstantPoolMapTy = MapVector<MCSection *, ConstantPool>;
97 ConstantPool *getConstantPool(MCSection *Section);
98 ConstantPool &getOrCreateConstantPool(MCSection *Section);
H A DMCSectionELF.h28 class MCSectionELF final : public MCSection {
57 : MCSection(SV_ELF, K, Begin), SectionName(Section), Type(type), in MCSectionELF()
89 const MCSection *getAssociatedSection() const { return &AssociatedSymbol->getSection(); } in getAssociatedSection()
92 static bool classof(const MCSection *S) { in classof()
H A DMCMachObjectWriter.h106 DenseMap<const MCSection *, std::vector<RelAndSymbol>> Relocations;
107 DenseMap<const MCSection *, unsigned> IndirectSymBase;
150 uint64_t getSectionAddress(const MCSection *Sec) const { in getSectionAddress()
158 uint64_t getPaddingSize(const MCSection *SD, const MCAsmLayout &Layout) const;
188 void writeSection(const MCAsmLayout &Layout, const MCSection &Sec,
228 void addRelocation(const MCSymbol *RelSymbol, const MCSection *Sec, in addRelocation()
H A DMCSectionCOFF.h27 class MCSectionCOFF final : public MCSection {
58 : MCSection(SV_COFF, K, Begin), SectionName(Section), in MCSectionCOFF()
95 static bool classof(const MCSection *S) { return S->getVariant() == SV_COFF; } in classof()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DTargetLoweringObjectFileImpl.h28 class MCSection; variable
55 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
65 MCSection *getSectionForJumpTable(const Function &F,
85 MCSection *getStaticCtorSection(unsigned Priority,
87 MCSection *getStaticDtorSection(unsigned Priority,
94 MCSection *getSectionForCommandLines() const override;
155 MCSection *getSectionForJumpTable(const Function &F,
161 MCSection *getStaticCtorSection(unsigned Priority,
163 MCSection *getStaticDtorSection(unsigned Priority,
200 MCSection *getStaticCtorSection(unsigned Priority,
[all …]
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCSection.cpp24 MCSection::MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin) 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()
91 LLVM_DUMP_METHOD void MCSection::dump() const { in dump()
H A DConstantPools.cpp67 ConstantPool *AssemblerConstantPools::getConstantPool(MCSection *Section) { in getConstantPool()
76 AssemblerConstantPools::getOrCreateConstantPool(MCSection *Section) { in getOrCreateConstantPool()
80 static void emitConstantPool(MCStreamer &Streamer, MCSection *Section, in emitConstantPool()
91 MCSection *Section = CPI.first; in emitAll()
99 MCSection *Section = Streamer.getCurrentSectionOnly(); in emitForCurrentSection()
105 MCSection *Section = Streamer.getCurrentSectionOnly(); in clearCacheForCurrentSection()
113 MCSection *Section = Streamer.getCurrentSectionOnly(); in addEntry()
H A DMCELFStreamer.cpp140 MCSection *Section) { in setSectionAlignmentForBundling()
146 void MCELFStreamer::ChangeSection(MCSection *Section, in ChangeSection()
148 MCSection *CurSection = getCurrentSectionOnly(); in ChangeSection()
366 MCSection *Comment = getAssembler().getContext().getELFSection( in EmitIdent()
539 MCSection &Sec = *getCurrentSectionOnly(); in EmitInstToData()
612 MCSection &Sec = *getCurrentSectionOnly(); in EmitBundleLock()
629 : MCSection::BundleLocked); in EmitBundleLock()
633 MCSection &Sec = *getCurrentSectionOnly(); in EmitBundleUnlock()
651 Sec.setBundleLockState(MCSection::NotBundleLocked); in EmitBundleUnlock()
663 Sec.setBundleLockState(MCSection::NotBundleLocked); in EmitBundleUnlock()
[all …]
H A DMCFragment.cpp35 for (MCSection &Sec : Asm) in MCAsmLayout()
38 for (MCSection &Sec : Asm) in MCAsmLayout()
44 const MCSection *Sec = F->getParent(); in isFragmentValid()
63 MCSection *Sec = F->getParent(); in ensureValid()
64 MCSection::iterator I; in ensureValid()
66 I = ++MCSection::iterator(Cur); in ensureValid()
176 uint64_t MCAsmLayout::getSectionAddressSize(const MCSection *Sec) const { in getSectionAddressSize()
182 uint64_t MCAsmLayout::getSectionFileSize(const MCSection *Sec) const { in getSectionFileSize()
239 MCSection *Parent) in MCFragment()
H A DMCMachOStreamer.cpp58 DenseMap<const MCSection*, bool> HasSectionLabel;
85 void ChangeSection(MCSection *Sect, const MCExpr *Subsect) override;
104 void EmitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
107 void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
150 void MCMachOStreamer::ChangeSection(MCSection *Section, in ChangeSection()
418 void MCMachOStreamer::EmitZerofill(MCSection *Section, MCSymbol *Symbol, in EmitZerofill()
446 void MCMachOStreamer::EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, in EmitTBSSSymbol()
490 for (MCSection &Sec : getAssembler()) { in FinishImpl()
/freebsd-12.1/contrib/llvm/include/llvm/Target/
H A DTargetLoweringObjectFile.h32 class MCSection; variable
57 MCSection *StaticCtorSection = nullptr;
60 MCSection *StaticDtorSection = nullptr;
85 virtual MCSection *getSectionForConstant(const DataLayout &DL,
104 MCSection *SectionForGlobal(const GlobalObject *GO, in SectionForGlobal()
113 virtual MCSection *getSectionForJumpTable(const Function &F,
122 virtual MCSection *
152 virtual MCSection *getStaticCtorSection(unsigned Priority, in getStaticCtorSection()
157 virtual MCSection *getStaticDtorSection(unsigned Priority, in getStaticDtorSection()
206 virtual MCSection *getSectionForCommandLines() const { in getSectionForCommandLines()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/XCore/
H A DXCoreTargetObjectFile.h20 MCSection *BSSSectionLarge;
21 MCSection *DataSectionLarge;
22 MCSection *ReadOnlySectionLarge;
23 MCSection *DataRelROSectionLarge;
28 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
31 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
34 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
/freebsd-12.1/contrib/llvm/lib/Target/Lanai/
H A DLanaiTargetObjectFile.h18 MCSection *SmallDataSection;
19 MCSection *SmallBSSSection;
34 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
40 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.h18 MCSection *SmallDataSection;
19 MCSection *SmallBSSSection;
35 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
42 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
/freebsd-12.1/contrib/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-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfStringPool.h21 class MCSection; variable
43 void emitStringOffsetsTableHeader(AsmPrinter &Asm, MCSection *OffsetSection,
46 void emit(AsmPrinter &Asm, MCSection *StrSection,
47 MCSection *OffsetSection = nullptr,
H A DAddressPool.h18 class MCSection; variable
46 void emit(AsmPrinter &Asm, MCSection *AddrSection);
58 void emitHeader(AsmPrinter &Asm, MCSection *Section);
H A DDwarfFile.cpp42 MCSection *S = TheU->getSection(); in emitUnit()
87 void DwarfFile::emitAbbrevs(MCSection *Section) { Abbrevs.Emit(Asm, Section); } in emitAbbrevs()
90 void DwarfFile::emitStrings(MCSection *StrSection, MCSection *OffsetSection, in emitStrings()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXTargetStreamer.h16 class MCSection; variable
43 void changeSection(const MCSection *CurSection, MCSection *Section,
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXTargetObjectFile.h29 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, in getSectionForConstant()
35 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, in getExplicitSectionGlobal()
40 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,

12345