| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCObjectFileInfo.h | 24 class MCSection; variable 55 MCSection *TextSection = nullptr; 58 MCSection *DataSection = nullptr; 61 MCSection *BSSSection = nullptr; 71 MCSection *LSDASection = nullptr; 218 MCSection *PDataSection = nullptr; 219 MCSection *XDataSection = nullptr; 222 MCSection *GFIDsSection = nullptr; 345 MCSection *getStackSizesSection(const MCSection &TextSec) const; 347 MCSection *getBBAddrMapSection(const MCSection &TextSec) const; [all …]
|
| H A D | MCSection.h | 39 class MCSection { 116 ~MCSection(); 119 MCSection(const MCSection &) = delete; 120 MCSection &operator=(const MCSection &) = delete; 129 return const_cast<MCSection *>(this)->getBeginSymbol(); 164 MCSection::FragmentListType &getFragmentList() { return Fragments; } 165 const MCSection::FragmentListType &getFragmentList() const { 166 return const_cast<MCSection *>(this)->getFragmentList(); 170 static FragmentListType MCSection::*getSublistAccess(MCFragment *) { 171 return &MCSection::Fragments; [all …]
|
| H A D | MCAsmLayout.h | 18 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 D | MCFragment.h | 27 class MCSection; variable 56 MCSection *Parent; 81 MCSection *Parent = nullptr); 96 MCSection *getParent() const { return Parent; } in getParent() 133 MCSection *Sec) in MCEncodedFragment() 193 MCSection *Sec) in MCEncodedFragmentWithContents() 214 MCSection *Sec) in MCEncodedFragmentWithFixups() 244 MCDataFragment(MCSection *Sec = nullptr) 280 MCSection *Sec = nullptr) 374 MCSection *Sec = nullptr) [all …]
|
| H A D | ConstantPools.h | 26 class MCSection; variable 84 using ConstantPoolMapTy = MapVector<MCSection *, ConstantPool>; 95 ConstantPool *getConstantPool(MCSection *Section); 96 ConstantPool &getOrCreateConstantPool(MCSection *Section);
|
| H A D | MCStreamer.h | 50 class MCSection; variable 64 using MCSectionSubPair = std::pair<MCSection *, const MCExpr *>; 116 virtual void changeSection(const MCSection *CurSection, MCSection *Section, 393 virtual void changeSection(MCSection *, const MCExpr *); 432 virtual void SwitchSection(MCSection *Section, 438 void SwitchSectionNoChange(MCSection *Section, 450 MCSymbol *endSection(MCSection *Section); 659 virtual void emitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, 1038 MCSection *getAssociatedPDataSection(const MCSection *TextSec); 1041 MCSection *getAssociatedXDataSection(const MCSection *TextSec); [all …]
|
| H A D | MCSectionELF.h | 28 class MCSectionELF final : public MCSection { 58 : MCSection(SV_ELF, Name, K, Begin), Type(type), Flags(flags), in MCSectionELF() 91 const MCSection *getLinkedToSection() const { in getLinkedToSection() 96 static bool classof(const MCSection *S) { in classof()
|
| H A D | MCSectionGOFF.h | 25 class MCSectionGOFF final : public MCSection { 29 : MCSection(SV_GOFF, Name, K, nullptr) {} in MCSectionGOFF() 42 static bool classof(const MCSection *S) { return S->getVariant() == SV_GOFF; } in classof()
|
| H A D | MCObjectStreamer.h | 38 MCSection::iterator CurInsertionPoint; 42 SmallSetVector<MCSection *, 4> PendingLabelSections; 80 MCSection *CurSection = getCurrentSectionOnly(); in insert() 92 bool changeSectionImpl(MCSection *Section, const MCExpr *Subsection); 126 void changeSection(MCSection *Section, const MCExpr *Subsection) override; 151 void emitDwarfLineEndEntry(MCSection *Section, MCSymbol *LastLabel) override; 210 bool mayHaveInstructions(MCSection &Sec) const override;
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetLoweringObjectFileImpl.h | 28 class MCSection; variable 68 MCSection *getSectionForJumpTable(const Function &F, 73 MCSection * 78 MCSection * 99 MCSection *getStaticCtorSection(unsigned Priority, 101 MCSection *getStaticDtorSection(unsigned Priority, 180 MCSection *getStaticCtorSection(unsigned Priority, 182 MCSection *getStaticDtorSection(unsigned Priority, 216 MCSection *getStaticCtorSection(unsigned Priority, 267 MCSection * [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCSection.cpp | 23 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() 91 void MCSection::addPendingLabel(MCSymbol *label, unsigned Subsection) { in addPendingLabel() 95 void MCSection::flushPendingLabels(MCFragment *F, uint64_t FOffset, in flushPendingLabels() 112 void MCSection::flushPendingLabels() { in flushPendingLabels() [all …]
|
| H A D | ConstantPools.cpp | 66 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()
|
| H A D | MCFragment.cpp | 34 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() 200 uint64_t MCAsmLayout::getSectionFileSize(const MCSection *Sec) const { in getSectionFileSize() [all …]
|
| H A D | MCELFStreamer.cpp | 141 MCSection *Section) { in setSectionAlignmentForBundling() 147 void MCELFStreamer::changeSection(MCSection *Section, in changeSection() 149 MCSection *CurSection = getCurrentSectionOnly(); in changeSection() 572 MCSection &Sec = *getCurrentSectionOnly(); in emitInstToData() 646 MCSection &Sec = *getCurrentSectionOnly(); in emitBundleLock() 663 : MCSection::BundleLocked); in emitBundleLock() 667 MCSection &Sec = *getCurrentSectionOnly(); in emitBundleUnlock() 685 Sec.setBundleLockState(MCSection::NotBundleLocked); in emitBundleUnlock() 697 Sec.setBundleLockState(MCSection::NotBundleLocked); in emitBundleUnlock() 703 MCSection *DummyAttributeSection = nullptr; in finishImpl() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Target/ |
| H A D | TargetLoweringObjectFile.h | 32 class MCSection; variable 61 MCSection *StaticCtorSection = nullptr; 64 MCSection *StaticDtorSection = nullptr; 100 virtual MCSection * 105 virtual MCSection * 123 MCSection *SectionForGlobal(const GlobalObject *GO, 143 virtual MCSection * 174 virtual MCSection *getStaticCtorSection(unsigned Priority, in getStaticCtorSection() 234 virtual MCSection *getSectionForCommandLines() const { in getSectionForCommandLines() 240 virtual MCSection * [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreTargetObjectFile.h | 19 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-13.1/contrib/llvm-project/llvm/include/llvm/DWP/ |
| H A D | DWP.h | 68 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,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetObjectFile.h | 18 MCSection *SmallDataSection; 19 MCSection *SmallBSSSection; 30 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 36 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiTargetObjectFile.h | 16 MCSection *SmallDataSection; 17 MCSection *SmallBSSSection; 32 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 38 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsTargetObjectFile.h | 17 MCSection *SmallDataSection; 18 MCSection *SmallBSSSection; 34 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 41 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfStringPool.h | 20 class MCSection; variable 42 void emitStringOffsetsTableHeader(AsmPrinter &Asm, MCSection *OffsetSection, 45 void emit(AsmPrinter &Asm, MCSection *StrSection, 46 MCSection *OffsetSection = nullptr,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetObjectFile.h | 22 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-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/MCTargetDesc/ |
| H A D | NVPTXTargetStreamer.h | 15 class MCSection; variable 45 void changeSection(const MCSection *CurSection, MCSection *Section,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DWP/ |
| H A D | DWP.cpp | 355 MCSection *StrOffsetSection, in writeStringsAndOffsets() 402 void writeIndex(MCStreamer &Out, MCSection *Section, in writeIndex() 469 const MCSection *StrSection, const MCSection *StrOffsetSection, in handleSection() 470 const MCSection *TypesSection, const MCSection *CUIndexSection, in handleSection() 471 const MCSection *TUIndexSection, const MCSection *InfoSection, in handleSection() 515 MCSection *OutSection = SectionPair->second.first; in handleSection() 537 MCSection *const StrSection = MCOFI.getDwarfStrDWOSection(); in write() 539 MCSection *const TypesSection = MCOFI.getDwarfTypesDWOSection(); in write() 540 MCSection *const CUIndexSection = MCOFI.getDwarfCUIndexSection(); in write() 542 MCSection *const InfoSection = MCOFI.getDwarfInfoDWOSection(); in write() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXTargetObjectFile.h | 28 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,
|