|
LLVM
3.7.0
|
SectionKind - This is a simple POD value that classifies the properties of a section. More...
#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 | 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 () |
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.
|
inlinestatic |
Definition at line 223 of file SectionKind.h.
Referenced by getELFKindForNamedSection(), llvm::TargetLoweringObjectFile::getKindForGlobal(), and llvm::NVPTXTargetObjectFile::Initialize().
|
inlinestatic |
Definition at line 225 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inlinestatic |
Definition at line 224 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inlinestatic |
Definition at line 226 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inlinestatic |
Definition at line 229 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFileMachO::emitModuleFlags(), and llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inlinestatic |
Definition at line 227 of file SectionKind.h.
Referenced by computeSectionKind(), llvm::TargetLoweringObjectFile::getKindForGlobal(), llvm::WinEH::getUnwindInfoSection(), and llvm::NVPTXTargetObjectFile::Initialize().
|
inlinestatic |
Definition at line 228 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inlinestatic |
Definition at line 209 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 215 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inlinestatic |
Definition at line 220 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal(), and llvm::MachineConstantPoolEntry::getSectionKind().
|
inlinestatic |
Definition at line 218 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal(), and llvm::MachineConstantPoolEntry::getSectionKind().
|
inlinestatic |
Definition at line 219 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal(), and llvm::MachineConstantPoolEntry::getSectionKind().
|
inlinestatic |
Definition at line 206 of file SectionKind.h.
Referenced by llvm::X86AsmPrinter::EmitEndOfAsmFile(), and llvm::NVPTXTargetObjectFile::Initialize().
|
inlinestatic |
Definition at line 208 of file SectionKind.h.
Referenced by computeSectionKind(), llvm::MCContext::createELFGroupSection(), llvm::MCContext::createELFRelSection(), llvm::AsmPrinter::doFinalization(), llvm::MCContext::getELFSection(), llvm::TargetLoweringObjectFile::getKindForGlobal(), llvm::TargetLoweringObjectFileELF::getSectionForJumpTable(), llvm::TargetLoweringObjectFile::getSectionForJumpTable(), llvm::TargetLoweringObjectFileCOFF::getSectionForJumpTable(), llvm::MachineConstantPoolEntry::getSectionKind(), and llvm::NVPTXTargetObjectFile::Initialize().
|
inlinestatic |
Definition at line 230 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal(), and llvm::MachineConstantPoolEntry::getSectionKind().
|
inlinestatic |
Definition at line 231 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal(), and llvm::MachineConstantPoolEntry::getSectionKind().
|
inlinestatic |
Definition at line 207 of file SectionKind.h.
Referenced by computeSectionKind(), llvm::MCContext::getELFSection(), llvm::TargetLoweringObjectFile::getKindForGlobal(), and llvm::NVPTXTargetObjectFile::Initialize().
|
inlinestatic |
Definition at line 221 of file SectionKind.h.
Referenced by getELFKindForNamedSection(), and llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inlinestatic |
Definition at line 222 of file SectionKind.h.
Referenced by getELFKindForNamedSection(), and llvm::TargetLoweringObjectFile::getKindForGlobal().
|
inline |
Definition at line 175 of file SectionKind.h.
Referenced by getCOFFSectionFlags(), getCOFFSectionNameForUniqueGlobal(), getELFSectionType(), getSectionPrefixForGlobal(), getXCoreSectionType(), llvm::MipsTargetObjectFile::IsGlobalInSmallSection(), llvm::HexagonTargetObjectFile::IsGlobalInSmallSection(), isGlobalWriteableData(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), llvm::HexagonTargetObjectFile::SelectSectionForGlobal(), llvm::MipsTargetObjectFile::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal().
|
inline |
Definition at line 177 of file SectionKind.h.
Referenced by llvm::AsmPrinter::EmitGlobalVariable(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
inline |
Definition at line 176 of file SectionKind.h.
Referenced by llvm::AsmPrinter::EmitGlobalVariable(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
inline |
Definition at line 179 of file SectionKind.h.
Referenced by llvm::AsmPrinter::EmitGlobalVariable(), llvm::HexagonTargetObjectFile::IsGlobalInSmallSection(), llvm::MipsTargetObjectFile::IsGlobalInSmallSection(), isGlobalWriteableData(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal().
|
inline |
Definition at line 189 of file SectionKind.h.
Referenced by getSectionPrefixForGlobal(), llvm::HexagonTargetObjectFile::IsGlobalInSmallSection(), and llvm::HexagonTargetObjectFile::SelectSectionForGlobal().
|
inline |
Definition at line 181 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), getSectionPrefixForGlobal(), llvm::MipsTargetObjectFile::IsGlobalInSmallSection(), isGlobalWriteableData(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), and llvm::MipsTargetObjectFile::SelectSectionForGlobal().
|
inline |
Definition at line 185 of file SectionKind.h.
Referenced by getSectionPrefixForGlobal().
|
inline |
Definition at line 171 of file SectionKind.h.
References isBSS(), isCommon(), isDataRel(), and isReadOnlyWithRel().
Referenced by isWriteable().
|
inline |
Definition at line 148 of file SectionKind.h.
Referenced by selectELFSectionForGlobal(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
inline |
Definition at line 149 of file SectionKind.h.
Referenced by selectELFSectionForGlobal(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
inline |
Definition at line 150 of file SectionKind.h.
Referenced by selectELFSectionForGlobal().
|
inline |
Definition at line 152 of file SectionKind.h.
Referenced by getELFSectionFlags(), isReadOnly(), selectELFSectionForGlobal(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
inline |
Definition at line 158 of file SectionKind.h.
Referenced by llvm::XCoreTargetObjectFile::getSectionForConstant(), llvm::TargetLoweringObjectFileELF::getSectionForConstant(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), getXCoreSectionFlags(), selectELFSectionForGlobal(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
inline |
Definition at line 156 of file SectionKind.h.
Referenced by llvm::XCoreTargetObjectFile::getSectionForConstant(), llvm::TargetLoweringObjectFileELF::getSectionForConstant(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), getXCoreSectionFlags(), selectELFSectionForGlobal(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
inline |
Definition at line 157 of file SectionKind.h.
Referenced by llvm::XCoreTargetObjectFile::getSectionForConstant(), llvm::TargetLoweringObjectFileELF::getSectionForConstant(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), getXCoreSectionFlags(), selectELFSectionForGlobal(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
inline |
Definition at line 144 of file SectionKind.h.
Referenced by getELFSectionFlags(), getXCoreSectionFlags(), isReadOnly(), and selectELFSectionForGlobal().
|
inline |
Definition at line 136 of file SectionKind.h.
Referenced by getCOFFSectionFlags(), getELFSectionFlags(), and getXCoreSectionFlags().
|
inline |
Definition at line 139 of file SectionKind.h.
References isMergeableConst(), and isMergeableCString().
Referenced by getCOFFSectionFlags(), getCOFFSectionNameForUniqueGlobal(), llvm::XCoreTargetObjectFile::getExplicitSectionGlobal(), llvm::XCoreTargetObjectFile::getSectionForConstant(), llvm::TargetLoweringObjectFileELF::getSectionForConstant(), llvm::TargetLoweringObjectFile::getSectionForConstant(), getSectionPrefixForGlobal(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal().
|
inline |
Definition at line 191 of file SectionKind.h.
Referenced by getCOFFSectionFlags(), getCOFFSectionNameForUniqueGlobal(), llvm::XCoreTargetObjectFile::getSectionForConstant(), llvm::TargetLoweringObjectFileELF::getSectionForConstant(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), getSectionPrefixForGlobal(), isGlobalWriteableData(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal().
|
inline |
Definition at line 195 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFileELF::getSectionForConstant(), and getSectionPrefixForGlobal().
|
inline |
Definition at line 137 of file SectionKind.h.
Referenced by getCOFFSectionFlags(), getCOFFSectionNameForUniqueGlobal(), getELFSectionFlags(), getSectionPrefixForGlobal(), getXCoreSectionFlags(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), and llvm::MCSectionCOFF::UseCodeAlign().
|
inline |
Definition at line 168 of file SectionKind.h.
Referenced by llvm::AsmPrinter::EmitGlobalVariable(), getELFSectionType(), getSectionPrefixForGlobal(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
inline |
Definition at line 169 of file SectionKind.h.
Referenced by llvm::AsmPrinter::EmitGlobalVariable(), getSectionPrefixForGlobal(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
inline |
Definition at line 164 of file SectionKind.h.
Referenced by llvm::AsmPrinter::EmitGlobalVariable(), getCOFFSectionFlags(), getCOFFSectionNameForUniqueGlobal(), getELFSectionFlags(), isWriteable(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal().
|
inline |
Definition at line 160 of file SectionKind.h.
References isGlobalWriteableData(), and isThreadLocal().
Referenced by getCOFFSectionFlags(), getELFSectionFlags(), and getXCoreSectionFlags().
1.8.6