LLVM 20.0.0git
|
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 | isExclude () 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 | isThreadBSSLocal () 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 | getExclude () |
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 | getThreadBSSLocal () |
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 209 of file SectionKind.h.
Referenced by getELFKindForNamedSection(), llvm::TargetLoweringObjectFile::getKindForGlobal(), and llvm::TargetLoweringObjectFileGOFF::SelectSectionForGlobal().
|
inlinestatic |
Definition at line 211 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inlinestatic |
Definition at line 210 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inlinestatic |
Definition at line 212 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inlinestatic |
Definition at line 213 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFileMachO::emitModuleMetadata(), llvm::TargetLoweringObjectFile::getKindForGlobal(), llvm::TargetLoweringObjectFileXCOFF::getSectionForExternalReference(), llvm::TargetLoweringObjectFileXCOFF::getSectionForFunctionDescriptor(), llvm::TargetLoweringObjectFileGOFF::getSectionForLSDA(), llvm::TargetLoweringObjectFileXCOFF::getSectionForTOCEntry(), llvm::TargetLoweringObjectFileWasm::getStaticCtorSection(), llvm::TargetLoweringObjectFileXCOFF::getTargetSymbol(), llvm::TargetLoweringObjectFileMachO::Initialize(), llvm::TargetLoweringObjectFileWasm::InitializeWasm(), and llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal().
|
inlinestatic |
Definition at line 189 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inlinestatic |
Definition at line 191 of file SectionKind.h.
Referenced by llvm::ARMElfTargetObjectFile::getExplicitSectionGlobal(), and llvm::ARMElfTargetObjectFile::SelectSectionForGlobal().
|
inlinestatic |
Definition at line 193 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inlinestatic |
Definition at line 196 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inlinestatic |
Definition at line 199 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inlinestatic |
Definition at line 204 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal(), and llvm::MachineConstantPoolEntry::getSectionKind().
|
inlinestatic |
Definition at line 205 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal(), and llvm::MachineConstantPoolEntry::getSectionKind().
|
inlinestatic |
Definition at line 202 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal(), and llvm::MachineConstantPoolEntry::getSectionKind().
|
inlinestatic |
Definition at line 203 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal(), and llvm::MachineConstantPoolEntry::getSectionKind().
|
inlinestatic |
Definition at line 188 of file SectionKind.h.
Referenced by llvm::WebAssemblyAsmPrinter::emitEndOfAsmFile(), llvm::WebAssemblyAsmPrinter::EmitFunctionAttributes(), emitNonLazyStubs(), llvm::WebAssemblyAsmPrinter::EmitProducerInfo(), llvm::WebAssemblyAsmPrinter::EmitTargetFeatures(), getELFKindForNamedSection(), llvm::TargetLoweringObjectFileCOFF::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileWasm::getExplicitSectionGlobal(), llvm::AMDGPUTargetObjectFile::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileXCOFF::getSectionForExternalReference(), transformCallee(), and llvm::MachObjectWriter::writeObject().
|
inlinestatic |
Definition at line 192 of file SectionKind.h.
Referenced by llvm::X86AsmPrinter::emitEndOfAsmFile(), llvm::AsmPrinter::emitXRayTable(), llvm::TargetLoweringObjectFile::getKindForGlobal(), llvm::TargetLoweringObjectFileMachO::getSectionForCommandLines(), llvm::TargetLoweringObjectFile::getSectionForJumpTable(), llvm::TargetLoweringObjectFileELF::getSectionForJumpTable(), llvm::TargetLoweringObjectFileCOFF::getSectionForJumpTable(), llvm::TargetLoweringObjectFileXCOFF::getSectionForJumpTable(), llvm::MachineConstantPoolEntry::getSectionKind(), and llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal().
|
inlinestatic |
Definition at line 214 of file SectionKind.h.
Referenced by llvm::AsmPrinter::emitXRayTable(), llvm::TargetLoweringObjectFile::getKindForGlobal(), and llvm::MachineConstantPoolEntry::getSectionKind().
|
inlinestatic |
|
inlinestatic |
Definition at line 206 of file SectionKind.h.
Referenced by getELFKindForNamedSection(), and llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inlinestatic |
Definition at line 208 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inlinestatic |
Definition at line 207 of file SectionKind.h.
Referenced by getELFKindForNamedSection(), and llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inline |
Definition at line 169 of file SectionKind.h.
Referenced by llvm::AsmPrinter::emitGlobalVariable(), and isGlobalWriteableData().
|
inline |
Definition at line 171 of file SectionKind.h.
|
inline |
Definition at line 170 of file SectionKind.h.
Referenced by llvm::AsmPrinter::emitGlobalVariable(), and llvm::TargetLoweringObjectFileXCOFF::getTargetSymbol().
|
inline |
Definition at line 173 of file SectionKind.h.
Referenced by llvm::AsmPrinter::emitGlobalVariable(), and isGlobalWriteableData().
|
inline |
Definition at line 175 of file SectionKind.h.
Referenced by isGlobalWriteableData().
|
inline |
Definition at line 125 of file SectionKind.h.
|
inline |
Definition at line 129 of file SectionKind.h.
|
inline |
Definition at line 165 of file SectionKind.h.
References isBSS(), isCommon(), isData(), and isReadOnlyWithRel().
Referenced by isWriteable().
|
inline |
Definition at line 140 of file SectionKind.h.
|
inline |
Definition at line 141 of file SectionKind.h.
|
inline |
Definition at line 142 of file SectionKind.h.
|
inline |
Definition at line 144 of file SectionKind.h.
Referenced by isReadOnly().
|
inline |
Definition at line 150 of file SectionKind.h.
|
inline |
Definition at line 151 of file SectionKind.h.
|
inline |
Definition at line 148 of file SectionKind.h.
|
inline |
Definition at line 149 of file SectionKind.h.
|
inline |
Definition at line 136 of file SectionKind.h.
Referenced by isReadOnly().
|
inline |
Definition at line 123 of file SectionKind.h.
|
inline |
Definition at line 131 of file SectionKind.h.
References isMergeableConst(), and isMergeableCString().
Referenced by llvm::DwarfCompileUnit::addLocationAttribute(), and llvm::SystemZSubtarget::isAddressedViaADA().
|
inline |
Definition at line 177 of file SectionKind.h.
Referenced by isGlobalWriteableData().
|
inline |
Definition at line 127 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFileXCOFF::getTargetSymbol(), isExecuteOnlyFunction(), and llvm::MCSectionXCOFF::useCodeAlign().
|
inline |
Definition at line 161 of file SectionKind.h.
Referenced by llvm::AsmPrinter::emitGlobalVariable().
|
inline |
Definition at line 163 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFileXCOFF::getTargetSymbol().
|
inline |
Definition at line 162 of file SectionKind.h.
Referenced by llvm::AsmPrinter::emitGlobalVariable().
|
inline |
Definition at line 157 of file SectionKind.h.
Referenced by llvm::AsmPrinter::emitGlobalVariable(), and isWriteable().
|
inline |
Definition at line 153 of file SectionKind.h.
References isGlobalWriteableData(), and isThreadLocal().