LLVM: llvm::SectionKind Class Reference (original) (raw)

SectionKind - This is a simple POD value that classifies the properties of a section. More...

#include "[llvm/MC/SectionKind.h](SectionKind%5F8h%5Fsource.html)"

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.

getBSS()

getBSSExtern()

SectionKind llvm::SectionKind::getBSSExtern ( ) inlinestatic

getBSSLocal()

SectionKind llvm::SectionKind::getBSSLocal ( ) inlinestatic

getCommon()

SectionKind llvm::SectionKind::getCommon ( ) inlinestatic

getData()

SectionKind llvm::SectionKind::getData ( ) 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().

getExclude()

SectionKind llvm::SectionKind::getExclude ( ) inlinestatic

getExecuteOnly()

SectionKind llvm::SectionKind::getExecuteOnly ( ) inlinestatic

getMergeable1ByteCString()

SectionKind llvm::SectionKind::getMergeable1ByteCString ( ) inlinestatic

getMergeable2ByteCString()

SectionKind llvm::SectionKind::getMergeable2ByteCString ( ) inlinestatic

getMergeable4ByteCString()

SectionKind llvm::SectionKind::getMergeable4ByteCString ( ) inlinestatic

getMergeableConst16()

SectionKind llvm::SectionKind::getMergeableConst16 ( ) inlinestatic

getMergeableConst32()

SectionKind llvm::SectionKind::getMergeableConst32 ( ) inlinestatic

getMergeableConst4()

SectionKind llvm::SectionKind::getMergeableConst4 ( ) inlinestatic

getMergeableConst8()

SectionKind llvm::SectionKind::getMergeableConst8 ( ) inlinestatic

getMetadata()

SectionKind llvm::SectionKind::getMetadata ( ) 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::AMDGPUTargetObjectFile::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileCOFF::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileWasm::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileXCOFF::getSectionForExternalReference(), llvm::TargetLoweringObjectFileGOFF::getSectionForLSDA(), llvm::TargetLoweringObjectFileGOFF::SelectSectionForGlobal(), transformCallee(), and llvm::MachObjectWriter::writeObject().

getReadOnly()

SectionKind llvm::SectionKind::getReadOnly ( ) inlinestatic

getReadOnlyWithRel()

SectionKind llvm::SectionKind::getReadOnlyWithRel ( ) inlinestatic

getText()

SectionKind llvm::SectionKind::getText ( ) inlinestatic

getThreadBSS()

SectionKind llvm::SectionKind::getThreadBSS ( ) inlinestatic

getThreadBSSLocal()

SectionKind llvm::SectionKind::getThreadBSSLocal ( ) inlinestatic

getThreadData()

SectionKind llvm::SectionKind::getThreadData ( ) inlinestatic

isBSS()

bool llvm::SectionKind::isBSS ( ) const inline

isBSSExtern()

bool llvm::SectionKind::isBSSExtern ( ) const inline

isBSSLocal()

bool llvm::SectionKind::isBSSLocal ( ) const inline

isCommon()

bool llvm::SectionKind::isCommon ( ) const inline

isData()

bool llvm::SectionKind::isData ( ) const inline

isExclude()

bool llvm::SectionKind::isExclude ( ) const inline

isExecuteOnly()

bool llvm::SectionKind::isExecuteOnly ( ) const inline

isGlobalWriteableData()

bool llvm::SectionKind::isGlobalWriteableData ( ) const inline

isMergeable1ByteCString()

bool llvm::SectionKind::isMergeable1ByteCString ( ) const inline

isMergeable2ByteCString()

bool llvm::SectionKind::isMergeable2ByteCString ( ) const inline

isMergeable4ByteCString()

bool llvm::SectionKind::isMergeable4ByteCString ( ) const inline

isMergeableConst()

bool llvm::SectionKind::isMergeableConst ( ) const inline

isMergeableConst16()

bool llvm::SectionKind::isMergeableConst16 ( ) const inline

isMergeableConst32()

bool llvm::SectionKind::isMergeableConst32 ( ) const inline

isMergeableConst4()

bool llvm::SectionKind::isMergeableConst4 ( ) const inline

isMergeableConst8()

bool llvm::SectionKind::isMergeableConst8 ( ) const inline

isMergeableCString()

bool llvm::SectionKind::isMergeableCString ( ) const inline

isMetadata()

bool llvm::SectionKind::isMetadata ( ) const inline

isReadOnly()

bool llvm::SectionKind::isReadOnly ( ) const inline

isReadOnlyWithRel()

bool llvm::SectionKind::isReadOnlyWithRel ( ) const inline

isText()

bool llvm::SectionKind::isText ( ) const inline

isThreadBSS()

bool llvm::SectionKind::isThreadBSS ( ) const inline

isThreadBSSLocal()

bool llvm::SectionKind::isThreadBSSLocal ( ) const inline

isThreadData()

bool llvm::SectionKind::isThreadData ( ) const inline

isThreadLocal()

bool llvm::SectionKind::isThreadLocal ( ) const inline

isWriteable()

bool llvm::SectionKind::isWriteable ( ) const inline

The documentation for this class was generated from the following file: