/openbsd/gnu/llvm/llvm/include/llvm/MC/ |
H A D | MCObjectFileInfo.h | 26 class MCSection; variable 53 MCSection *TextSection = nullptr; 56 MCSection *DataSection = nullptr; 59 MCSection *BSSSection = nullptr; 69 MCSection *LSDASection = nullptr; 229 MCSection *PPA1Section = nullptr; 354 MCSection *getStackSizesSection(const MCSection &TextSec) const; 356 MCSection *getBBAddrMapSection(const MCSection &TextSec) const; 358 MCSection *getKCFITrapSection(const MCSection &TextSec) const; 360 MCSection *getPseudoProbeSection(const MCSection &TextSec) const; [all …]
|
H A D | MCSection.h | 39 class MCSection { 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 *) { 179 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 | 26 class MCSection; variable 55 MCSection *Parent; 80 MCSection *Parent = nullptr); 95 MCSection *getParent() const { return Parent; } in getParent() 96 void setParent(MCSection *Value) { Parent = Value; } in setParent() 132 MCSection *Sec) in MCEncodedFragment() 192 MCSection *Sec) in MCEncodedFragmentWithContents() 213 MCSection *Sec) in MCEncodedFragmentWithFixups() 243 MCDataFragment(MCSection *Sec = nullptr) 279 MCSection *Sec = nullptr) [all …]
|
H A D | MCSectionGOFF.h | 26 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 D | ConstantPools.h | 26 class MCSection; variable 85 using ConstantPoolMapTy = MapVector<MCSection *, ConstantPool>; 96 ConstantPool *getConstantPool(MCSection *Section); 97 ConstantPool &getOrCreateConstantPool(MCSection *Section);
|
H A D | MCSectionELF.h | 26 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 D | MCELFStreamer.h | 22 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 D | MCStreamer.h | 50 class MCSection; variable 66 using MCSectionSubPair = std::pair<MCSection *, const MCExpr *>; 118 virtual void changeSection(const MCSection *CurSection, MCSection *Section, 408 virtual void changeSection(MCSection *, const MCExpr *); 447 virtual void switchSection(MCSection *Section, 453 void switchSectionNoChange(MCSection *Section, 465 MCSymbol *endSection(MCSection *Section); 698 virtual void emitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, 1076 MCSection *getAssociatedPDataSection(const MCSection *TextSec); 1079 MCSection *getAssociatedXDataSection(const MCSection *TextSec); [all …]
|
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/ |
H A D | TargetLoweringObjectFileImpl.h | 29 class MCSection; variable 69 MCSection *getSectionForJumpTable(const Function &F, 74 MCSection * 79 MCSection * 100 MCSection *getStaticCtorSection(unsigned Priority, 102 MCSection *getStaticDtorSection(unsigned Priority, 122 MCSection *getStaticDtorSection(unsigned Priority, 184 MCSection *getStaticCtorSection(unsigned Priority, 186 MCSection *getStaticDtorSection(unsigned Priority, 271 MCSection * [all …]
|
/openbsd/gnu/llvm/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 | 79 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 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() 204 uint64_t MCAsmLayout::getSectionFileSize(const MCSection *Sec) const { in getSectionFileSize() [all …]
|
H A D | MCELFStreamer.cpp | 145 MCSection *Section) { in setSectionAlignmentForBundling() 150 void MCELFStreamer::changeSection(MCSection *Section, in changeSection() 152 MCSection *CurSection = getCurrentSectionOnly(); in changeSection() 581 MCSection &Sec = *getCurrentSectionOnly(); in emitInstToData() 655 MCSection &Sec = *getCurrentSectionOnly(); in emitBundleLock() 670 : MCSection::BundleLocked); in emitBundleLock() 674 MCSection &Sec = *getCurrentSectionOnly(); in emitBundleUnlock() 691 Sec.setBundleLockState(MCSection::NotBundleLocked); in emitBundleUnlock() 703 Sec.setBundleLockState(MCSection::NotBundleLocked); in emitBundleUnlock() 709 MCSection *DummyAttributeSection = nullptr; in finishImpl() [all …]
|
/openbsd/gnu/llvm/llvm/include/llvm/Target/ |
H A D | TargetLoweringObjectFile.h | 34 class MCSection; variable 63 MCSection *StaticCtorSection = nullptr; 66 MCSection *StaticDtorSection = nullptr; 102 virtual MCSection * 107 virtual MCSection * 125 MCSection *SectionForGlobal(const GlobalObject *GO, 145 virtual MCSection * 176 virtual MCSection *getStaticCtorSection(unsigned Priority, in getStaticCtorSection() 244 virtual MCSection *getSectionForCommandLines() const { in getSectionForCommandLines() 250 virtual MCSection * [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/AVR/ |
H A D | AVRTargetObjectFile.h | 23 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/gnu/llvm/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,
|
/openbsd/gnu/llvm/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,
|
/openbsd/gnu/llvm/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,
|
/openbsd/gnu/llvm/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,
|
/openbsd/gnu/llvm/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,
|
/openbsd/gnu/llvm/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,
|
/openbsd/gnu/llvm/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,
|
/openbsd/gnu/llvm/llvm/lib/Target/SPIRV/MCTargetDesc/ |
H A D | SPIRVTargetStreamer.h | 16 class MCSection; variable 23 void changeSection(const MCSection *CurSection, MCSection *Section, in changeSection()
|
/openbsd/gnu/llvm/llvm/lib/Target/NVPTX/ |
H A D | NVPTXTargetObjectFile.h | 24 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,
|