LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::SectionKind Class Reference

#include <SectionKind.h>

List of all members.

Public Member Functions

bool isMetadata () const
bool isText () 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 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 isDataRel () const
bool isDataRelLocal () const
bool isDataNoRel () const
bool isReadOnlyWithRel () const
bool isReadOnlyWithRelLocal () const

Static Public Member Functions

static SectionKind getMetadata ()
static SectionKind getText ()
static SectionKind getReadOnly ()
static SectionKind getMergeable1ByteCString ()
static SectionKind getMergeable2ByteCString ()
static SectionKind getMergeable4ByteCString ()
static SectionKind getMergeableConst ()
static SectionKind getMergeableConst4 ()
static SectionKind getMergeableConst8 ()
static SectionKind getMergeableConst16 ()
static SectionKind getThreadBSS ()
static SectionKind getThreadData ()
static SectionKind getBSS ()
static SectionKind getBSSLocal ()
static SectionKind getBSSExtern ()
static SectionKind getCommon ()
static SectionKind getDataRel ()
static SectionKind getDataRelLocal ()
static SectionKind getDataNoRel ()
static SectionKind getReadOnlyWithRel ()
static SectionKind getReadOnlyWithRelLocal ()

Detailed Description

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 28 of file SectionKind.h.


Member Function Documentation

static SectionKind llvm::SectionKind::getBSS ( ) [inline, static]
static SectionKind llvm::SectionKind::getBSSExtern ( ) [inline, static]

Definition at line 227 of file SectionKind.h.

Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().

static SectionKind llvm::SectionKind::getBSSLocal ( ) [inline, static]

Definition at line 226 of file SectionKind.h.

Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().

static SectionKind llvm::SectionKind::getCommon ( ) [inline, static]

Definition at line 228 of file SectionKind.h.

Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().

static SectionKind llvm::SectionKind::getDataNoRel ( ) [inline, static]
static SectionKind llvm::SectionKind::getDataRel ( ) [inline, static]
static SectionKind llvm::SectionKind::getDataRelLocal ( ) [inline, static]

Definition at line 230 of file SectionKind.h.

Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().

static SectionKind llvm::SectionKind::getMetadata ( ) [inline, static]
static SectionKind llvm::SectionKind::getReadOnly ( ) [inline, static]
static SectionKind llvm::SectionKind::getText ( ) [inline, static]
static SectionKind llvm::SectionKind::getThreadBSS ( ) [inline, static]
static SectionKind llvm::SectionKind::getThreadData ( ) [inline, static]
bool llvm::SectionKind::isBSS ( ) const [inline]
bool llvm::SectionKind::isBSSLocal ( ) const [inline]
bool llvm::SectionKind::isCommon ( ) const [inline]
bool llvm::SectionKind::isDataRel ( ) const [inline]

Definition at line 172 of file SectionKind.h.

References isBSS(), isCommon(), isDataRel(), and isReadOnlyWithRel().

Referenced by isWriteable().

Definition at line 145 of file SectionKind.h.

Referenced by getELFSectionFlags(), getXCoreSectionFlags(), and isReadOnly().

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

Definition at line 137 of file SectionKind.h.

Referenced by getCOFFSectionFlags(), getELFSectionFlags(), and getXCoreSectionFlags().

bool llvm::SectionKind::isReadOnly ( ) const [inline]
bool llvm::SectionKind::isText ( ) const [inline]

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