/netbsd-src/external/apache2/llvm/dist/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; 67 MCSection *ReadOnlySection = nullptr; 71 MCSection *LSDASection = nullptr; 76 MCSection *CompactUnwindSection = nullptr; 80 MCSection *DwarfAbbrevSection = nullptr; 81 MCSection *DwarfInfoSection = nullptr; 82 MCSection *DwarfLineSection = nullptr; [all …]
|
H A D | MCSection.h | 39 class MCSection { 108 MCSection(SectionVariant V, StringRef Name, SectionKind K, MCSymbol *Begin); 109 ~MCSection(); 112 MCSection(const MCSection &) = delete; 113 MCSection &operator=(const MCSection &) = delete; 122 return const_cast<MCSection *>(this)->getBeginSymbol(); 157 MCSection::FragmentListType &getFragmentList() { return Fragments; } 158 const MCSection::FragmentListType &getFragmentList() const { 159 return const_cast<MCSection *>(this)->getFragmentList(); 163 static FragmentListType MCSection::*getSublistAccess(MCFragment *) { [all …]
|
H A D | MCFragment.h | 27 class MCSection; variable 31 class MCFragment : public ilist_node_with_parent<MCFragment, MCSection> { 56 MCSection *Parent; 81 MCSection *Parent = nullptr); 96 MCSection *getParent() const { return Parent; } in getParent() 97 void setParent(MCSection *Value) { Parent = Value; } in setParent() 117 explicit MCDummyFragment(MCSection *Sec) : MCFragment(FT_Dummy, false, Sec) {} in MCDummyFragment() 133 MCSection *Sec) in MCEncodedFragment() 193 MCSection *Sec) in MCEncodedFragmentWithContents() 214 MCSection *Sec) in MCEncodedFragmentWithFixups() [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 | MCStreamer.h | 50 class MCSection; variable 64 using MCSectionSubPair = std::pair<MCSection *, const MCExpr *>; 116 virtual void changeSection(const MCSection *CurSection, MCSection *Section, 374 MCSection *getCurrentSectionOnly() const { return getCurrentSection().first; } in getCurrentSectionOnly() 393 virtual void changeSection(MCSection *, const MCExpr *); 432 virtual void SwitchSection(MCSection *Section, 438 void SwitchSectionNoChange(MCSection *Section, 450 MCSymbol *endSection(MCSection *Section); 645 virtual void emitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr, 656 virtual void emitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, [all …]
|
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; 208 bool mayHaveInstructions(MCSection &Sec) const override;
|
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 | 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 | MCMachObjectWriter.h | 108 DenseMap<const MCSection *, std::vector<RelAndSymbol>> Relocations; 109 DenseMap<const MCSection *, unsigned> IndirectSymBase; 154 uint64_t getSectionAddress(const MCSection *Sec) const { in getSectionAddress() 162 uint64_t getPaddingSize(const MCSection *SD, const MCAsmLayout &Layout) const; 192 void writeSection(const MCAsmLayout &Layout, const MCSection &Sec, 232 void addRelocation(const MCSymbol *RelSymbol, const MCSection *Sec, in addRelocation()
|
H A D | MCSectionXCOFF.h | 32 class MCSectionXCOFF final : public MCSection { 46 : MCSection(SV_XCOFF, Name, K, Begin), in MCSectionXCOFF() 69 : MCSection(SV_XCOFF, Name, K, Begin), QualName(QualName), in MCSectionXCOFF() 87 static bool classof(const MCSection *S) { in classof()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
H A D | TargetLoweringObjectFileImpl.h | 28 class MCSection; variable 58 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, 62 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 65 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 68 MCSection *getSectionForJumpTable(const Function &F, 70 MCSection *getSectionForLSDA(const Function &F, const MCSymbol &FnSym, 73 MCSection * 78 MCSection * 99 MCSection *getStaticCtorSection(unsigned Priority, 101 MCSection *getStaticDtorSection(unsigned Priority, [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Target/ |
H A D | TargetLoweringObjectFile.h | 32 class MCSection; variable 61 MCSection *StaticCtorSection = nullptr; 64 MCSection *StaticDtorSection = nullptr; 96 virtual MCSection *getSectionForConstant(const DataLayout &DL, 100 virtual MCSection * 105 virtual MCSection * 117 MCSection *SectionForGlobal(const GlobalObject *GO, SectionKind Kind, 123 MCSection *SectionForGlobal(const GlobalObject *GO, 130 virtual MCSection *getSectionForJumpTable(const Function &F, 132 virtual MCSection *getSectionForLSDA(const Function &, const MCSymbol &, in getSectionForLSDA() [all …]
|
/netbsd-src/external/apache2/llvm/dist/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() 89 StringRef MCSection::getVirtualSectionKind() const { return "virtual"; } in getVirtualSectionKind() 91 void MCSection::addPendingLabel(MCSymbol *label, unsigned Subsection) { in addPendingLabel() 95 void MCSection::flushPendingLabels(MCFragment *F, uint64_t FOffset, 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() 194 uint64_t MCAsmLayout::getSectionAddressSize(const MCSection *Sec) const { in getSectionAddressSize() [all …]
|
H A D | MCELFStreamer.cpp | 140 MCSection *Section) { in setSectionAlignmentForBundling() 146 void MCELFStreamer::changeSection(MCSection *Section, in changeSection() 148 MCSection *CurSection = getCurrentSectionOnly(); in changeSection() 315 MCSection &Section = *getAssembler().getContext().getELFSection( in emitCommonSymbol() 380 MCSection *Comment = getAssembler().getContext().getELFSection( in emitIdent() 556 MCSection &Sec = *getCurrentSectionOnly(); in emitInstToData() 587 if (Sec.getBundleLockState() == MCSection::BundleLockedAlignToEnd) { in emitInstToData() 630 MCSection &Sec = *getCurrentSectionOnly(); in emitBundleLock() 646 Sec.setBundleLockState(AlignToEnd ? MCSection::BundleLockedAlignToEnd in emitBundleLock() 647 : MCSection::BundleLocked); in emitBundleLock() [all …]
|
/netbsd-src/external/apache2/llvm/dist/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,
|
/netbsd-src/external/apache2/llvm/dist/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,
|
/netbsd-src/external/apache2/llvm/dist/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,
|
/netbsd-src/external/apache2/llvm/dist/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,
|
/netbsd-src/external/apache2/llvm/dist/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,
|
/netbsd-src/external/apache2/llvm/dist/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,
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | TargetLoweringObjectFileImpl.cpp | 399 MCSection *Sec = getContext().getELFNamedSection(".data", Label->getName(), in emitPersonalityValue() 656 static MCSection *selectExplicitSectionGlobal( in selectExplicitSectionGlobal() 787 MCSection *TargetLoweringObjectFileELF::getExplicitSectionGlobal( in getExplicitSectionGlobal() 831 static MCSection *selectELFSectionForGlobal( in selectELFSectionForGlobal() 853 MCSection *TargetLoweringObjectFileELF::SelectSectionForGlobal( in SelectSectionForGlobal() 872 MCSection *TargetLoweringObjectFileELF::getUniqueSectionForFunction( in getUniqueSectionForFunction() 888 MCSection *TargetLoweringObjectFileELF::getSectionForJumpTable( in getSectionForJumpTable() 903 MCSection *TargetLoweringObjectFileELF::getSectionForLSDA( in getSectionForLSDA() 934 LSDA->getType(), Flags, 0, Group, IsComdat, MCSection::NonUniqueID, in getSectionForLSDA() 947 MCSection *TargetLoweringObjectFileELF::getSectionForConstant( in getSectionForConstant() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/MCTargetDesc/ |
H A D | NVPTXTargetStreamer.h | 15 class MCSection; variable 45 void changeSection(const MCSection *CurSection, MCSection *Section,
|
/netbsd-src/external/apache2/llvm/dist/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,
|