| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCObjectFileInfo.cpp | 62 SectionKind::getReadOnly()); in initMachOMCObjectFileInfo() 114 SectionKind::getData()); in initMachOMCObjectFileInfo() 563 SectionKind::getBSS()); in initCOFFMCObjectFileInfo() 569 SectionKind::getText()); in initCOFFMCObjectFileInfo() 573 SectionKind::getData()); in initCOFFMCObjectFileInfo() 576 SectionKind::getReadOnly()); in initCOFFMCObjectFileInfo() 604 SectionKind::getMetadata()); in initCOFFMCObjectFileInfo() 630 SectionKind::getMetadata()); in initCOFFMCObjectFileInfo() 788 SectionKind::getData()); in initCOFFMCObjectFileInfo() 792 SectionKind::getData()); in initCOFFMCObjectFileInfo() [all …]
|
| H A D | MCContext.cpp | 472 unsigned Flags, SectionKind K, in createELFSectionImpl() 517 I->getKey(), Type, Flags, SectionKind::getReadOnly(), EntrySize, Group, in createELFRelSection() 562 SectionKind Kind; in getELFSection() 564 Kind = SectionKind::getExecuteOnly(); in getELFSection() 566 Kind = SectionKind::getText(); in getELFSection() 568 Kind = SectionKind::getReadOnly(); in getELFSection() 636 SectionKind Kind, in getCOFFSection() 668 SectionKind Kind, in getCOFFSection() 748 StringRef Section, SectionKind Kind, in getXCOFFSection() 814 MCSectionSPIRV(SectionKind::getText(), Begin); in getSPIRVSection() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | SectionKind.h | 22 class SectionKind { 181 static SectionKind get(Kind K) { in get() 182 SectionKind Res; in get() 189 static SectionKind getExclude() { return get(Exclude); } in getExclude() 190 static SectionKind getText() { return get(Text); } in getText() 193 static SectionKind getMergeable1ByteCString() { in getMergeable1ByteCString() 196 static SectionKind getMergeable2ByteCString() { in getMergeable2ByteCString() 199 static SectionKind getMergeable4ByteCString() { in getMergeable4ByteCString() 209 static SectionKind getBSS() { return get(BSS); } in getBSS() 212 static SectionKind getCommon() { return get(Common); } in getCommon() [all …]
|
| H A D | MCContext.h | 376 unsigned Flags, SectionKind K, 554 unsigned Reserved2, SectionKind K, 622 MCSectionGOFF *getGOFFSection(StringRef Section, SectionKind Kind, 626 SectionKind Kind, StringRef COMDATSymName, 632 SectionKind Kind, 645 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K, 650 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K, in getWasmSection() 655 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K, in getWasmSection() 661 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K, 665 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K, [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/ |
| H A D | TargetLoweringObjectFile.cpp | 207 return SectionKind::getText(); in getKindForGlobal() 211 return SectionKind::getText(); in getKindForGlobal() 224 return SectionKind::getThreadBSS(); in getKindForGlobal() 226 return SectionKind::getThreadData(); in getKindForGlobal() 231 return SectionKind::getCommon(); in getKindForGlobal() 237 return SectionKind::getBSSLocal(); in getKindForGlobal() 239 return SectionKind::getBSSExtern(); in getKindForGlobal() 240 return SectionKind::getBSS(); in getKindForGlobal() 248 return SectionKind::getExclude(); in getKindForGlobal() 262 return SectionKind::getReadOnly(); in getKindForGlobal() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | TargetLoweringObjectFileImpl.h | 59 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, 63 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 66 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 128 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 131 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 134 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, 172 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 195 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, 213 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 257 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, [all …]
|
| /llvm-project-15.0.7/llvm/lib/MC/MCParser/ |
| H A D | WasmAsmParser.cpp | 155 auto Kind = StringSwitch<Optional<SectionKind>>(Name) in parseSectionDirective() 156 .StartsWith(".data", SectionKind::getData()) in parseSectionDirective() 157 .StartsWith(".tdata", SectionKind::getThreadData()) in parseSectionDirective() 158 .StartsWith(".tbss", SectionKind::getThreadBSS()) in parseSectionDirective() 159 .StartsWith(".rodata", SectionKind::getReadOnly()) in parseSectionDirective() 160 .StartsWith(".text", SectionKind::getText()) in parseSectionDirective() 161 .StartsWith(".custom_section", SectionKind::getMetadata()) in parseSectionDirective() 162 .StartsWith(".bss", SectionKind::getBSS()) in parseSectionDirective() 165 .StartsWith(".init_array", SectionKind::getData()) in parseSectionDirective() 166 .StartsWith(".debug_", SectionKind::getMetadata()) in parseSectionDirective() [all …]
|
| H A D | COFFMasmParser.cpp | 37 SectionKind Kind); 188 SectionKind::getText()); in ParseSectionDirectiveCode() 196 SectionKind::getData()); in ParseSectionDirectiveInitializedData() 204 SectionKind::getBSS()); in ParseSectionDirectiveUninitializedData() 216 static SectionKind computeSectionKind(unsigned Flags) { in computeSectionKind() 218 return SectionKind::getText(); in computeSectionKind() 221 return SectionKind::getReadOnly(); in computeSectionKind() 222 return SectionKind::getData(); in computeSectionKind() 234 SectionKind Kind, in ParseSectionSwitch() 268 SectionKind Kind = computeSectionKind(Flags); in ParseDirectiveSegment() [all …]
|
| H A D | COFFAsmParser.cpp | 41 SectionKind Kind); 98 SectionKind::getText()); in ParseSectionDirectiveText() 105 SectionKind::getData()); in ParseSectionDirectiveData() 113 SectionKind::getBSS()); in ParseSectionDirectiveBSS() 150 static SectionKind computeSectionKind(unsigned Flags) { in computeSectionKind() 152 return SectionKind::getText(); in computeSectionKind() 155 return SectionKind::getReadOnly(); in computeSectionKind() 156 return SectionKind::getData(); in computeSectionKind() 309 SectionKind Kind) { in ParseSectionSwitch() 315 SectionKind Kind, in ParseSectionSwitch() [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | TargetLoweringObjectFileImpl.cpp | 437 static SectionKind getELFKindForNamedSection(StringRef Name, SectionKind K) { in getELFKindForNamedSection() 450 return SectionKind::getMetadata(); in getELFKindForNamedSection() 463 return SectionKind::getBSS(); in getELFKindForNamedSection() 469 return SectionKind::getThreadData(); in getELFKindForNamedSection() 475 return SectionKind::getThreadBSS(); in getELFKindForNamedSection() 909 SectionKind Kind = SectionKind::getText(); in getUniqueSectionForFunction() 1754 SectionKind Kind = SectionKind::getReadOnly(); in getSectionForJumpTable() 1869 SectionKind::getData()); in Initialize() 1873 SectionKind::getData()); in Initialize() 1899 SectionKind::getReadOnly()); in getCOFFStaticStructorSection() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMTargetObjectFile.cpp | 84 static bool isExecuteOnlyFunction(const GlobalObject *GO, SectionKind SK, in isExecuteOnlyFunction() 93 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal() 96 SK = SectionKind::getExecuteOnly(); in getExplicitSectionGlobal() 102 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in SelectSectionForGlobal() 105 SK = SectionKind::getExecuteOnly(); in SelectSectionForGlobal()
|
| H A D | ARMTargetObjectFile.h | 39 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 42 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetObjectFile.cpp | 21 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() 30 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal() 34 SK = SectionKind::getMetadata(); in getExplicitSectionGlobal()
|
| H A D | AMDGPUTargetObjectFile.h | 24 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 26 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
|
| /llvm-project-15.0.7/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,
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/llvm/lib/Target/XCore/ |
| H A D | XCoreTargetObjectFile.h | 27 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 30 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 33 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
|
| H A D | XCoreTargetObjectFile.cpp | 65 static unsigned getXCoreSectionType(SectionKind K) { in getXCoreSectionType() 71 static unsigned getXCoreSectionFlags(SectionKind K, bool IsCPRel) { in getXCoreSectionFlags() 98 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in getExplicitSectionGlobal() 109 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() 144 const DataLayout &DL, SectionKind Kind, const Constant *C, in getSectionForConstant()
|
| /llvm-project-15.0.7/llvm/include/llvm/Target/ |
| H A D | TargetLoweringObjectFile.h | 40 class SectionKind; variable 99 SectionKind Kind, const Constant *C, 113 static SectionKind getKindForGlobal(const GlobalObject *GO, 119 MCSection *SectionForGlobal(const GlobalObject *GO, SectionKind Kind, 146 getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 289 SectionKind Kind,
|
| /llvm-project-15.0.7/llvm/lib/Target/Lanai/ |
| H A D | LanaiTargetObjectFile.h | 20 SectionKind Kind) const; 32 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 38 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
|
| H A D | LanaiTargetObjectFile.cpp | 66 SectionKind Kind) const { in isGlobalInSmallSection() 102 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() 120 const DataLayout &DL, SectionKind Kind, const Constant *C, in getSectionForConstant()
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsTargetObjectFile.h | 22 SectionKind Kind) const; 34 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 41 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetObjectFile.h | 22 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 26 SectionKind Kind, 49 SectionKind Kind,
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetObjectFile.h | 30 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 36 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetObjectFile.cpp | 25 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() 45 Kind = SectionKind::getReadOnlyWithRel(); in SelectSectionForGlobal()
|