LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
llvm::SectionKind Class Reference

#include <SectionKind.h>

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 ( )
inlinestatic
static SectionKind llvm::SectionKind::getBSSExtern ( )
inlinestatic

Definition at line 227 of file SectionKind.h.

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

static SectionKind llvm::SectionKind::getBSSLocal ( )
inlinestatic

Definition at line 226 of file SectionKind.h.

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

static SectionKind llvm::SectionKind::getCommon ( )
inlinestatic

Definition at line 228 of file SectionKind.h.

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

static SectionKind llvm::SectionKind::getDataNoRel ( )
inlinestatic
static SectionKind llvm::SectionKind::getDataRel ( )
inlinestatic
static SectionKind llvm::SectionKind::getDataRelLocal ( )
inlinestatic

Definition at line 230 of file SectionKind.h.

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

static SectionKind llvm::SectionKind::getMergeable1ByteCString ( )
inlinestatic

Definition at line 210 of file SectionKind.h.

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

static SectionKind llvm::SectionKind::getMergeable2ByteCString ( )
inlinestatic

Definition at line 213 of file SectionKind.h.

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

static SectionKind llvm::SectionKind::getMergeable4ByteCString ( )
inlinestatic

Definition at line 216 of file SectionKind.h.

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

static SectionKind llvm::SectionKind::getMergeableConst ( )
inlinestatic
static SectionKind llvm::SectionKind::getMergeableConst16 ( )
inlinestatic
static SectionKind llvm::SectionKind::getMergeableConst4 ( )
inlinestatic
static SectionKind llvm::SectionKind::getMergeableConst8 ( )
inlinestatic
static SectionKind llvm::SectionKind::getMetadata ( )
inlinestatic
static SectionKind llvm::SectionKind::getReadOnly ( )
inlinestatic
static SectionKind llvm::SectionKind::getReadOnlyWithRel ( )
inlinestatic
static SectionKind llvm::SectionKind::getReadOnlyWithRelLocal ( )
inlinestatic
static SectionKind llvm::SectionKind::getText ( )
inlinestatic
static SectionKind llvm::SectionKind::getThreadBSS ( )
inlinestatic
static SectionKind llvm::SectionKind::getThreadData ( )
inlinestatic
bool llvm::SectionKind::isBSS ( ) const
inline
bool llvm::SectionKind::isBSSExtern ( ) const
inline
bool llvm::SectionKind::isBSSLocal ( ) const
inline
bool llvm::SectionKind::isCommon ( ) const
inline
bool llvm::SectionKind::isDataNoRel ( ) const
inline
bool llvm::SectionKind::isDataRel ( ) const
inline
bool llvm::SectionKind::isDataRelLocal ( ) const
inline
bool llvm::SectionKind::isGlobalWriteableData ( ) const
inline

Definition at line 172 of file SectionKind.h.

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

Referenced by isWriteable().

bool llvm::SectionKind::isMergeable1ByteCString ( ) const
inline
bool llvm::SectionKind::isMergeable2ByteCString ( ) const
inline
bool llvm::SectionKind::isMergeable4ByteCString ( ) const
inline
bool llvm::SectionKind::isMergeableConst ( ) const
inline
bool llvm::SectionKind::isMergeableConst16 ( ) const
inline
bool llvm::SectionKind::isMergeableConst4 ( ) const
inline
bool llvm::SectionKind::isMergeableConst8 ( ) const
inline
bool llvm::SectionKind::isMergeableCString ( ) const
inline

Definition at line 145 of file SectionKind.h.

Referenced by getELFSectionFlags(), and isReadOnly().

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

Definition at line 137 of file SectionKind.h.

Referenced by getCOFFSectionFlags(), and getELFSectionFlags().

bool llvm::SectionKind::isReadOnly ( ) const
inline
bool llvm::SectionKind::isReadOnlyWithRel ( ) const
inline
bool llvm::SectionKind::isReadOnlyWithRelLocal ( ) const
inline
bool llvm::SectionKind::isText ( ) const
inline
bool llvm::SectionKind::isThreadBSS ( ) const
inline
bool llvm::SectionKind::isThreadData ( ) const
inline
bool llvm::SectionKind::isThreadLocal ( ) const
inline
bool llvm::SectionKind::isWriteable ( ) const
inline

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