| /freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCObjectFileInfo.h | 27 class MCSection; variable 54 MCSection *TextSection = nullptr; 57 MCSection *DataSection = nullptr; 60 MCSection *BSSSection = nullptr; 66 MCSection *ReadOnlySection = nullptr; 70 MCSection *LSDASection = nullptr; 75 MCSection *CompactUnwindSection = nullptr; 79 MCSection *ImportCallSection = nullptr; 83 MCSection *DwarfAbbrevSection = nullptr; 84 MCSection *DwarfInfoSection = nullptr; [all …]
|
| H A D | MCMachObjectWriter.h | 123 MCSection *Section; 139 DenseMap<const MCSection *, std::vector<RelAndSymbol>> Relocations; 141 DenseMap<const MCSection *, unsigned> IndirectSymBase; 145 DenseMap<const MCSection *, uint64_t> SectionAddress; 149 SmallVector<MCSection *, 0> SectionOrder; 198 const llvm::SmallVectorImpl<MCSection *> &getSectionOrder() const { in getSectionOrder() 203 uint64_t getSectionAddress(const MCSection *Sec) const { in getSectionAddress() 211 uint64_t getPaddingSize(const MCAssembler &Asm, const MCSection *SD) const; 279 void writeSection(const MCAssembler &Asm, const MCSection &Sec, 319 void addRelocation(const MCSymbol *RelSymbol, const MCSection *Sec, in addRelocation()
|
| H A D | MCAssembler.h | 51 class MCSection; variable 57 using SectionListType = SmallVector<MCSection *, 0>; 112 void layoutSection(MCSection &Sec); 151 LLVM_ABI uint64_t getSectionAddressSize(const MCSection &Sec) const; 152 LLVM_ABI uint64_t getSectionFileSize(const MCSection &Sec) const; 167 const MCSection *Section) const; 226 LLVM_ABI bool registerSection(MCSection &Section);
|
| H A D | MCSectionGOFF.h | 29 class LLVM_ABI MCSectionGOFF final : public MCSection { 59 : MCSection(SV_GOFF, Name, K.isText(), IsVirtual, nullptr), in MCSectionGOFF() 66 : MCSection(SV_GOFF, Name, K.isText(), IsVirtual, nullptr), in MCSectionGOFF() 73 : MCSection(SV_GOFF, Name, K.isText(), IsVirtual, nullptr), in MCSectionGOFF() 127 static bool classof(const MCSection *S) { return S->getVariant() == SV_GOFF; } in classof()
|
| H A D | ConstantPools.h | 26 class MCSection; variable 90 using ConstantPoolMapTy = MapVector<MCSection *, ConstantPool>; 101 ConstantPool *getConstantPool(MCSection *Section); 102 ConstantPool &getOrCreateConstantPool(MCSection *Section);
|
| H A D | MCELFStreamer.h | 23 class MCSection; variable 52 void changeSection(MCSection *Section, uint32_t Subsection = 0) override; 122 unsigned Type, MCSection *&AttributeSection) { in emitAttributesSection() 126 emitAttributesSection(MCSection *&AttributeSection, const Twine &Section, in emitAttributesSection() 137 unsigned Type, MCSection *&AttributeSection, 140 MCSection *&AttributeSection, const Twine &Section, unsigned Type,
|
| H A D | MCSection.h | 37 class MCSection; variable 44 class LLVM_ABI MCSection { 135 MCSection(SectionVariant V, StringRef Name, bool IsText, bool IsVirtual, 138 ~MCSection() {} in ~MCSection() 141 MCSection(const MCSection &) = delete; 142 MCSection &operator=(const MCSection &) = delete; 151 return const_cast<MCSection *>(this)->getBeginSymbol(); in getBeginSymbol() 222 friend class MCSection; variable 247 MCSection *Parent = nullptr; 279 MCSection *getParent() const { return Parent; } in getParent() [all …]
|
| H A D | MCSectionELF.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()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetLoweringObjectFileImpl.h | 29 class MCSection; variable 65 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, 71 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, 75 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 78 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 81 MCSection *getSectionForJumpTable(const Function &F, 83 MCSection * 86 MCSection *getSectionForLSDA(const Function &F, const MCSymbol &FnSym, 89 MCSection * 94 MCSection * [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Target/ |
| H A D | TargetLoweringObjectFile.h | 36 class MCSection; variable 65 MCSection *StaticCtorSection = nullptr; 68 MCSection *StaticDtorSection = nullptr; 107 virtual MCSection *getSectionForConstant(const DataLayout &DL, 113 virtual MCSection *getSectionForConstant(const DataLayout &DL, 118 virtual MCSection * 123 virtual MCSection * 135 MCSection *SectionForGlobal(const GlobalObject *GO, SectionKind Kind, 141 MCSection *SectionForGlobal(const GlobalObject *GO, 148 virtual MCSection *getSectionForJumpTable(const Function &F, [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetObjectFile.h | 18 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,
|
| /freebsd/contrib/llvm-project/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;
|
| /freebsd/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/contrib/llvm-project/llvm/include/llvm/DWP/ |
| H A D | DWP.h | 74 const StringMap<std::pair<MCSection *, DWARFSectionKind>> &KnownSections, 75 const MCSection *StrSection, const MCSection *StrOffsetSection, 76 const MCSection *TypesSection, const MCSection *CUIndexSection, 77 const MCSection *TUIndexSection, const MCSection *InfoSection, 91 MCSection *StrOffsetSection, 101 writeIndex(MCStreamer &Out, MCSection *Section,
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCSection.cpp | 21 MCSection::MCSection(SectionVariant V, StringRef Name, bool IsText, in MCSection() function in MCSection 30 MCSymbol *MCSection::getEndSymbol(MCContext &Ctx) { in getEndSymbol() 36 bool MCSection::hasEnded() const { return End && End->isInSection(); } in hasEnded() 38 void MCSection::setBundleLockState(BundleLockStateType NewState) { in setBundleLockState() 57 StringRef MCSection::getVirtualSectionKind() const { return "virtual"; } in getVirtualSectionKind() 60 LLVM_DUMP_METHOD void MCSection::dump( in dump()
|
| H A D | ConstantPools.cpp | 80 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 D | MCELFStreamer.cpp | 89 MCSection *Section) { in setSectionAlignmentForBundling() 94 void MCELFStreamer::changeSection(MCSection *Section, uint32_t Subsection) { in changeSection() 276 MCSection &Section = *getAssembler().getContext().getELFSection( in emitCommonSymbol() 339 MCSection *Comment = getAssembler().getContext().getELFSection( in emitIdent() 379 MCSection *CGProfile = getAssembler().getContext().getELFSection( in finalizeCGProfile() 423 MCSection &Sec = *getCurrentSectionOnly(); in emitInstToData() 433 if (Sec.getBundleLockState() == MCSection::BundleLockedAlignToEnd) { in emitInstToData() 480 MCSection &Sec = *getCurrentSectionOnly(); in emitBundleLock() 488 Sec.setBundleLockState(AlignToEnd ? MCSection::BundleLockedAlignToEnd in emitBundleLock() 489 : MCSection::BundleLocked); in emitBundleLock() [all …]
|
| /freebsd/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/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/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/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfStringPool.h | 21 class MCSection; variable 45 MCSection *OffsetSection, 48 LLVM_ABI_FOR_TEST void emit(AsmPrinter &Asm, MCSection *StrSection, 49 MCSection *OffsetSection = nullptr,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/MCTargetDesc/ |
| H A D | SPIRVTargetStreamer.h | 16 class MCSection; variable 23 void changeSection(const MCSection *CurSection, MCSection *Section, in changeSection()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetLoweringObjectFileImpl.cpp | 411 MCSection *Sec = getContext().getELFNamedSection(".data", Label->getName(), in emitPersonalityValue() 744 return MCSection::NonUniqueID; in calcUniqueIDUpdateFlagsAndSize() 756 return MCSection::NonUniqueID; in calcUniqueIDUpdateFlagsAndSize() 765 (!TM.getSeparateNamedSections() || *PreviousID == MCSection::NonUniqueID)) in calcUniqueIDUpdateFlagsAndSize() 777 return MCSection::NonUniqueID; in calcUniqueIDUpdateFlagsAndSize() 820 static MCSection *selectExplicitSectionGlobal(const GlobalObject *GO, in selectExplicitSectionGlobal() 869 MCSection *TargetLoweringObjectFileELF::getExplicitSectionGlobal( in getExplicitSectionGlobal() 889 unsigned UniqueID = MCSection::NonUniqueID; in selectELFSectionForGlobal() 909 static MCSection *selectELFSectionForGlobal( in selectELFSectionForGlobal() 936 MCSection *TargetLoweringObjectFileELF::SelectSectionForGlobal( in SelectSectionForGlobal() [all …]
|
| /freebsd/contrib/llvm-project/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,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVTargetObjectFile.h | 28 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, in getSectionForConstant() 33 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, in getExplicitSectionGlobal() 37 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, in SelectSectionForGlobal()
|