|
LLVM
10.0.0
|
SectionKind - This is a simple POD value that classifies the properties of a section. More...
#include "llvm/MC/SectionKind.h"
Public Member Functions | |
| bool | isMetadata () const |
| bool | isText () const |
| bool | isExecuteOnly () const |
| bool | isReadOnly () const |
| bool | isMergeableCString () const |
| bool | isMergeable1ByteCString () const |
| bool | isMergeable2ByteCString () const |
| bool | isMergeable4ByteCString () const |
| bool | isMergeableConst () const |
| bool | isMergeableConst4 () const |
| bool | isMergeableConst8 () const |
| bool | isMergeableConst16 () const |
| bool | isMergeableConst32 () const |
| bool | isWriteable () const |
| bool | isThreadLocal () const |
| bool | isThreadBSS () const |
| bool | isThreadData () const |
| bool | isGlobalWriteableData () const |
| bool | isBSS () const |
| bool | isBSSLocal () const |
| bool | isBSSExtern () const |
| bool | isCommon () const |
| bool | isData () const |
| bool | isReadOnlyWithRel () const |
Static Public Member Functions | |
| static SectionKind | getMetadata () |
| static SectionKind | getText () |
| static SectionKind | getExecuteOnly () |
| static SectionKind | getReadOnly () |
| static SectionKind | getMergeable1ByteCString () |
| static SectionKind | getMergeable2ByteCString () |
| static SectionKind | getMergeable4ByteCString () |
| static SectionKind | getMergeableConst4 () |
| static SectionKind | getMergeableConst8 () |
| static SectionKind | getMergeableConst16 () |
| static SectionKind | getMergeableConst32 () |
| static SectionKind | getThreadBSS () |
| static SectionKind | getThreadData () |
| static SectionKind | getBSS () |
| static SectionKind | getBSSLocal () |
| static SectionKind | getBSSExtern () |
| static SectionKind | getCommon () |
| static SectionKind | getData () |
| static SectionKind | getReadOnlyWithRel () |
SectionKind - This is a simple POD value that classifies the properties of a section.
A section is classified into the deepest possible classification, and then the target maps them onto their sections based on what capabilities they have.
The comments below describe these as if they were an inheritance hierarchy in order to explain the predicates below.
Definition at line 22 of file SectionKind.h.
|
inlinestatic |
Definition at line 197 of file SectionKind.h.
Referenced by getELFKindForNamedSection(), llvm::TargetLoweringObjectFile::getKindForGlobal(), and useCompactUnwind().
|
inlinestatic |
Definition at line 199 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inlinestatic |
Definition at line 198 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inlinestatic |
Definition at line 200 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inlinestatic |
Definition at line 201 of file SectionKind.h.
Referenced by computeSectionKind(), llvm::TargetLoweringObjectFileMachO::emitModuleMetadata(), GetAEABIUnwindPersonalityName(), getCOFFStaticStructorSection(), llvm::TargetLoweringObjectFile::getKindForGlobal(), llvm::TargetLoweringObjectFileWasm::getStaticCtorSection(), getWasmKindForNamedSection(), llvm::TargetLoweringObjectFileMachO::Initialize(), llvm::TargetLoweringObjectFileCOFF::Initialize(), llvm::TargetLoweringObjectFileWasm::InitializeWasm(), llvm::HexagonTargetObjectFile::shouldPutJumpTableInFunctionSection(), and useCompactUnwind().
|
inlinestatic |
Definition at line 180 of file SectionKind.h.
Referenced by llvm::MCContext::getELFSection(), llvm::ARMElfTargetObjectFile::getExplicitSectionGlobal(), and llvm::ARMElfTargetObjectFile::SelectSectionForGlobal().
|
inlinestatic |
Definition at line 182 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal(), and useCompactUnwind().
|
inlinestatic |
Definition at line 185 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal(), and useCompactUnwind().
|
inlinestatic |
Definition at line 188 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inlinestatic |
Definition at line 193 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal(), llvm::MachineConstantPoolEntry::getSectionKind(), and useCompactUnwind().
|
inlinestatic |
Definition at line 194 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal(), and llvm::MachineConstantPoolEntry::getSectionKind().
|
inlinestatic |
Definition at line 191 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal(), llvm::MachineConstantPoolEntry::getSectionKind(), and useCompactUnwind().
|
inlinestatic |
Definition at line 192 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal(), llvm::MachineConstantPoolEntry::getSectionKind(), and useCompactUnwind().
|
inlinestatic |
Definition at line 178 of file SectionKind.h.
Referenced by llvm::WebAssemblyAsmPrinter::EmitEndOfAsmFile(), emitNonLazyStubs(), llvm::WebAssemblyAsmPrinter::EmitProducerInfo(), getELFKindForNamedSection(), llvm::AMDGPUTargetObjectFile::getExplicitSectionGlobal(), transformCallee(), and useCompactUnwind().
|
inlinestatic |
Definition at line 181 of file SectionKind.h.
Referenced by computeSectionKind(), llvm::MCContext::createELFGroupSection(), llvm::MCContext::createELFRelSection(), llvm::AsmPrinter::doFinalization(), llvm::TargetLoweringObjectFileCOFF::emitModuleMetadata(), getCOFFStaticStructorSection(), llvm::MCContext::getELFSection(), llvm::TargetLoweringObjectFile::getKindForGlobal(), llvm::TargetLoweringObjectFileELF::getSectionForJumpTable(), llvm::TargetLoweringObjectFile::getSectionForJumpTable(), llvm::TargetLoweringObjectFileCOFF::getSectionForJumpTable(), llvm::MachineConstantPoolEntry::getSectionKind(), llvm::TargetLoweringObjectFileCOFF::Initialize(), and useCompactUnwind().
|
inlinestatic |
Definition at line 202 of file SectionKind.h.
Referenced by llvm::AsmPrinter::emitXRayTable(), llvm::TargetLoweringObjectFile::getKindForGlobal(), llvm::MachineConstantPoolEntry::getSectionKind(), and useCompactUnwind().
|
inlinestatic |
Definition at line 179 of file SectionKind.h.
Referenced by computeSectionKind(), llvm::MCContext::getELFSection(), llvm::TargetLoweringObjectFile::getKindForGlobal(), llvm::HexagonTargetObjectFile::getLutUsedFunction(), getWasmKindForNamedSection(), and useCompactUnwind().
|
inlinestatic |
Definition at line 195 of file SectionKind.h.
Referenced by getELFKindForNamedSection(), llvm::TargetLoweringObjectFile::getKindForGlobal(), and useCompactUnwind().
|
inlinestatic |
Definition at line 196 of file SectionKind.h.
Referenced by getELFKindForNamedSection(), and llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inline |
Definition at line 159 of file SectionKind.h.
Referenced by llvm::AsmPrinter::EmitGlobalVariable(), getCOFFSectionFlags(), getCOFFSectionNameForUniqueGlobal(), getELFSectionType(), llvm::HexagonTargetObjectFile::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileELF::getExplicitSectionGlobal(), getSectionPrefixForGlobal(), getXCoreSectionType(), llvm::MipsTargetObjectFile::IsGlobalInSmallSection(), isGlobalWriteableData(), llvm::TargetLoweringObjectFile::SectionForGlobal(), llvm::HexagonTargetObjectFile::SelectSectionForGlobal(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), llvm::RISCVELFTargetObjectFile::SelectSectionForGlobal(), llvm::LanaiTargetObjectFile::SelectSectionForGlobal(), llvm::MipsTargetObjectFile::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal(), and llvm::HexagonTargetObjectFile::shouldPutJumpTableInFunctionSection().
|
inline |
Definition at line 161 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
inline |
Definition at line 160 of file SectionKind.h.
Referenced by llvm::AsmPrinter::EmitGlobalVariable(), llvm::HexagonTargetObjectFile::getExplicitSectionGlobal(), llvm::HexagonTargetObjectFile::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal(), and llvm::HexagonTargetObjectFile::shouldPutJumpTableInFunctionSection().
|
inline |
Definition at line 163 of file SectionKind.h.
Referenced by llvm::AsmPrinter::EmitGlobalVariable(), llvm::HexagonTargetObjectFile::getExplicitSectionGlobal(), llvm::MipsTargetObjectFile::IsGlobalInSmallSection(), isGlobalWriteableData(), llvm::HexagonTargetObjectFile::SelectSectionForGlobal(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileWasm::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal(), and llvm::HexagonTargetObjectFile::shouldPutJumpTableInFunctionSection().
|
inline |
Definition at line 165 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFileELF::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), getSectionPrefixForGlobal(), llvm::MipsTargetObjectFile::IsGlobalInSmallSection(), isGlobalWriteableData(), llvm::TargetLoweringObjectFile::SectionForGlobal(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), llvm::RISCVELFTargetObjectFile::SelectSectionForGlobal(), llvm::LanaiTargetObjectFile::SelectSectionForGlobal(), llvm::MipsTargetObjectFile::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal(), and llvm::HexagonTargetObjectFile::shouldPutJumpTableInFunctionSection().
|
inline |
Definition at line 120 of file SectionKind.h.
Referenced by getELFSectionFlags(), and selectELFSectionForGlobal().
|
inline |
Definition at line 155 of file SectionKind.h.
References isBSS(), isCommon(), isData(), and isReadOnlyWithRel().
Referenced by llvm::MCSectionWasm::isWasmData(), and isWriteable().
|
inline |
Definition at line 131 of file SectionKind.h.
Referenced by getEntrySizeForKind(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal().
|
inline |
Definition at line 132 of file SectionKind.h.
Referenced by getEntrySizeForKind(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
inline |
Definition at line 133 of file SectionKind.h.
Referenced by getEntrySizeForKind().
|
inline |
Definition at line 135 of file SectionKind.h.
Referenced by getELFSectionFlags(), getEntrySizeForKind(), llvm::TargetLoweringObjectFileCOFF::getSectionForConstant(), isReadOnly(), selectELFSectionForGlobal(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and llvm::HexagonTargetObjectFile::shouldPutJumpTableInFunctionSection().
|
inline |
Definition at line 141 of file SectionKind.h.
Referenced by getEntrySizeForKind(), llvm::XCoreTargetObjectFile::getSectionForConstant(), llvm::TargetLoweringObjectFileELF::getSectionForConstant(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), llvm::TargetLoweringObjectFileCOFF::getSectionForConstant(), getXCoreSectionFlags(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
inline |
Definition at line 142 of file SectionKind.h.
Referenced by getEntrySizeForKind(), llvm::TargetLoweringObjectFileELF::getSectionForConstant(), and llvm::TargetLoweringObjectFileCOFF::getSectionForConstant().
|
inline |
Definition at line 139 of file SectionKind.h.
Referenced by getEntrySizeForKind(), llvm::XCoreTargetObjectFile::getSectionForConstant(), llvm::TargetLoweringObjectFileELF::getSectionForConstant(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), llvm::TargetLoweringObjectFileCOFF::getSectionForConstant(), getXCoreSectionFlags(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
inline |
Definition at line 140 of file SectionKind.h.
Referenced by getEntrySizeForKind(), llvm::XCoreTargetObjectFile::getSectionForConstant(), llvm::TargetLoweringObjectFileELF::getSectionForConstant(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), llvm::TargetLoweringObjectFileCOFF::getSectionForConstant(), getXCoreSectionFlags(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
inline |
Definition at line 127 of file SectionKind.h.
Referenced by getELFSectionFlags(), getEntrySizeForKind(), getXCoreSectionFlags(), isReadOnly(), selectELFSectionForGlobal(), and llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal().
|
inline |
Definition at line 116 of file SectionKind.h.
Referenced by getCOFFSectionFlags(), getELFSectionFlags(), and getXCoreSectionFlags().
|
inline |
Definition at line 122 of file SectionKind.h.
References isMergeableConst(), and isMergeableCString().
Referenced by getCOFFSectionFlags(), getCOFFSectionNameForUniqueGlobal(), llvm::XCoreTargetObjectFile::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileELF::getExplicitSectionGlobal(), llvm::XCoreTargetObjectFile::getSectionForConstant(), llvm::TargetLoweringObjectFileELF::getSectionForConstant(), llvm::TargetLoweringObjectFile::getSectionForConstant(), getSectionPrefixForGlobal(), llvm::MipsTargetObjectFile::IsGlobalInSmallSection(), llvm::MCSectionWasm::isWasmData(), llvm::TargetLoweringObjectFile::SectionForGlobal(), llvm::AMDGPUTargetObjectFile::SelectSectionForGlobal(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), llvm::MipsTargetObjectFile::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal().
|
inline |
Definition at line 167 of file SectionKind.h.
Referenced by getCOFFSectionFlags(), getCOFFSectionNameForUniqueGlobal(), llvm::TargetLoweringObjectFileELF::getExplicitSectionGlobal(), llvm::XCoreTargetObjectFile::getSectionForConstant(), llvm::TargetLoweringObjectFileELF::getSectionForConstant(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), getSectionPrefixForGlobal(), isGlobalWriteableData(), llvm::TargetLoweringObjectFile::SectionForGlobal(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal().
|
inline |
Definition at line 118 of file SectionKind.h.
Referenced by llvm::AsmPrinter::EmitAlignment(), getCOFFSectionFlags(), getCOFFSectionNameForUniqueGlobal(), getELFSectionFlags(), getSectionPrefixForGlobal(), getWasmKindForNamedSection(), getXCoreSectionFlags(), isDwarfSection(), isExecuteOnlyFunction(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileWasm::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal(), llvm::MCSectionXCOFF::UseCodeAlign(), and llvm::MCSectionCOFF::UseCodeAlign().
|
inline |
Definition at line 152 of file SectionKind.h.
Referenced by llvm::AsmPrinter::EmitGlobalVariable(), getELFSectionType(), getSectionPrefixForGlobal(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
inline |
Definition at line 153 of file SectionKind.h.
Referenced by llvm::AsmPrinter::EmitGlobalVariable(), getSectionPrefixForGlobal(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
inline |
Definition at line 148 of file SectionKind.h.
Referenced by llvm::AsmPrinter::EmitGlobalVariable(), getCOFFSectionFlags(), getCOFFSectionNameForUniqueGlobal(), getELFSectionFlags(), llvm::MCSectionWasm::isWasmData(), isWriteable(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal().
|
inline |
Definition at line 144 of file SectionKind.h.
References isGlobalWriteableData(), and isThreadLocal().
Referenced by getCOFFSectionFlags(), getELFSectionFlags(), getXCoreSectionFlags(), and isDwarfSection().
1.8.13