LLVM API Documentation
#include <SectionKind.h>
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.
| bool llvm::SectionKind::isMetadata | ( | ) | const [inline] |
| bool llvm::SectionKind::isText | ( | ) | const [inline] |
Definition at line 126 of file SectionKind.h.
Referenced by getCOFFSectionPrefixForUniqueGlobal(), getELFSectionFlags(), getSectionPrefixForUniqueGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFile::SelectSectionForGlobal().
| bool llvm::SectionKind::isReadOnly | ( | ) | const [inline] |
Definition at line 128 of file SectionKind.h.
References isMergeableConst(), and isMergeableCString().
Referenced by llvm::TargetLoweringObjectFileELF::getSectionForConstant(), llvm::TargetLoweringObjectFile::getSectionForConstant(), getSectionPrefixForUniqueGlobal(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFile::SelectSectionForGlobal().
| bool llvm::SectionKind::isMergeableCString | ( | ) | const [inline] |
Definition at line 133 of file SectionKind.h.
Referenced by getELFSectionFlags(), isReadOnly(), and llvm::X86ATTAsmPrinter::PrintGlobalVariable().
| bool llvm::SectionKind::isMergeable1ByteCString | ( | ) | const [inline] |
| bool llvm::SectionKind::isMergeable2ByteCString | ( | ) | const [inline] |
Definition at line 138 of file SectionKind.h.
Referenced by llvm::MCSectionELF::PrintSwitchToSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal().
| bool llvm::SectionKind::isMergeable4ByteCString | ( | ) | const [inline] |
Definition at line 139 of file SectionKind.h.
Referenced by llvm::MCSectionELF::PrintSwitchToSection(), and llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal().
| bool llvm::SectionKind::isMergeableConst | ( | ) | const [inline] |
Definition at line 141 of file SectionKind.h.
Referenced by isReadOnly(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal().
| bool llvm::SectionKind::isMergeableConst4 | ( | ) | const [inline] |
Definition at line 145 of file SectionKind.h.
Referenced by getELFSectionFlags(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), llvm::TargetLoweringObjectFileELF::getSectionForConstant(), llvm::MCSectionELF::PrintSwitchToSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal().
| bool llvm::SectionKind::isMergeableConst8 | ( | ) | const [inline] |
Definition at line 146 of file SectionKind.h.
Referenced by getELFSectionFlags(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), llvm::TargetLoweringObjectFileELF::getSectionForConstant(), llvm::MCSectionELF::PrintSwitchToSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal().
| bool llvm::SectionKind::isMergeableConst16 | ( | ) | const [inline] |
Definition at line 147 of file SectionKind.h.
Referenced by getELFSectionFlags(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), llvm::TargetLoweringObjectFileELF::getSectionForConstant(), llvm::MCSectionELF::PrintSwitchToSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal().
| bool llvm::SectionKind::isWriteable | ( | ) | const [inline] |
Definition at line 149 of file SectionKind.h.
References isGlobalWriteableData(), and isThreadLocal().
Referenced by getCOFFSectionPrefixForUniqueGlobal(), and getELFSectionFlags().
| bool llvm::SectionKind::isThreadLocal | ( | ) | const [inline] |
Definition at line 153 of file SectionKind.h.
Referenced by getELFSectionFlags(), isWriteable(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFile::SelectSectionForGlobal().
| bool llvm::SectionKind::isThreadBSS | ( | ) | const [inline] |
Definition at line 157 of file SectionKind.h.
Referenced by getELFSectionType(), getSectionPrefixForUniqueGlobal(), and llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal().
| bool llvm::SectionKind::isThreadData | ( | ) | const [inline] |
Definition at line 158 of file SectionKind.h.
Referenced by getSectionPrefixForUniqueGlobal(), and llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal().
| bool llvm::SectionKind::isGlobalWriteableData | ( | ) | const [inline] |
Definition at line 160 of file SectionKind.h.
References isBSS(), isDataRel(), and isReadOnlyWithRel().
Referenced by isWriteable().
| bool llvm::SectionKind::isBSS | ( | ) | const [inline] |
Definition at line 164 of file SectionKind.h.
Referenced by getELFSectionType(), getSectionPrefixForUniqueGlobal(), llvm::MipsTargetObjectFile::IsGlobalInSmallSection(), isGlobalWriteableData(), llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFile::SelectSectionForGlobal(), and llvm::MipsTargetObjectFile::SelectSectionForGlobal().
| bool llvm::SectionKind::isDataRel | ( | ) | const [inline] |
Definition at line 166 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), getSectionPrefixForUniqueGlobal(), llvm::MipsTargetObjectFile::IsGlobalInSmallSection(), isGlobalWriteableData(), and llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal().
| bool llvm::SectionKind::isDataRelLocal | ( | ) | const [inline] |
Definition at line 170 of file SectionKind.h.
Referenced by getSectionPrefixForUniqueGlobal(), and llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal().
| bool llvm::SectionKind::isDataNoRel | ( | ) | const [inline] |
Definition at line 174 of file SectionKind.h.
Referenced by getSectionPrefixForUniqueGlobal(), llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal(), and llvm::MipsTargetObjectFile::SelectSectionForGlobal().
| bool llvm::SectionKind::isReadOnlyWithRel | ( | ) | const [inline] |
Definition at line 176 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFileELF::getSectionForConstant(), getSectionPrefixForUniqueGlobal(), isGlobalWriteableData(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal().
| bool llvm::SectionKind::isReadOnlyWithRelLocal | ( | ) | const [inline] |
Definition at line 180 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFileELF::getSectionForConstant(), getSectionPrefixForUniqueGlobal(), and llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal().
| static SectionKind llvm::SectionKind::getMetadata | ( | ) | [inline, static] |
| static SectionKind llvm::SectionKind::getText | ( | ) | [inline, static] |
Definition at line 192 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal(), llvm::PIC16TargetObjectFile::getSectionForFunction(), llvm::TargetLoweringObjectFileCOFF::Initialize(), llvm::TargetLoweringObjectFileMachO::Initialize(), llvm::TargetLoweringObjectFileELF::Initialize(), and llvm::PIC16TargetObjectFile::Initialize().
| static SectionKind llvm::SectionKind::getReadOnly | ( | ) | [inline, static] |
Definition at line 193 of file SectionKind.h.
Referenced by llvm::AsmPrinter::EmitJumpTableInfo(), llvm::TargetLoweringObjectFile::getKindForGlobal(), llvm::TargetLoweringObjectFileCOFF::Initialize(), llvm::TargetLoweringObjectFileMachO::Initialize(), llvm::TargetLoweringObjectFileELF::Initialize(), and llvm::PIC16TargetObjectFile::Initialize().
| static SectionKind llvm::SectionKind::getMergeable1ByteCString | ( | ) | [inline, static] |
Definition at line 194 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal(), and llvm::TargetLoweringObjectFileMachO::Initialize().
| static SectionKind llvm::SectionKind::getMergeable2ByteCString | ( | ) | [inline, static] |
Definition at line 197 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal(), and llvm::TargetLoweringObjectFileMachO::Initialize().
| static SectionKind llvm::SectionKind::getMergeable4ByteCString | ( | ) | [inline, static] |
Definition at line 200 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().
| static SectionKind llvm::SectionKind::getMergeableConst | ( | ) | [inline, static] |
Definition at line 203 of file SectionKind.h.
Referenced by llvm::AsmPrinter::EmitConstantPool(), and llvm::TargetLoweringObjectFile::getKindForGlobal().
| static SectionKind llvm::SectionKind::getMergeableConst4 | ( | ) | [inline, static] |
| static SectionKind llvm::SectionKind::getMergeableConst8 | ( | ) | [inline, static] |
| static SectionKind llvm::SectionKind::getMergeableConst16 | ( | ) | [inline, static] |
| static SectionKind llvm::SectionKind::getThreadBSS | ( | ) | [inline, static] |
Definition at line 207 of file SectionKind.h.
Referenced by getELFKindForNamedSection(), llvm::TargetLoweringObjectFile::getKindForGlobal(), and llvm::TargetLoweringObjectFileELF::Initialize().
| static SectionKind llvm::SectionKind::getThreadData | ( | ) | [inline, static] |
Definition at line 208 of file SectionKind.h.
Referenced by getELFKindForNamedSection(), llvm::TargetLoweringObjectFile::getKindForGlobal(), and llvm::TargetLoweringObjectFileELF::Initialize().
| static SectionKind llvm::SectionKind::getBSS | ( | ) | [inline, static] |
Definition at line 209 of file SectionKind.h.
Referenced by getELFKindForNamedSection(), llvm::TargetLoweringObjectFile::getKindForGlobal(), llvm::XCoreTargetObjectFile::Initialize(), llvm::TargetLoweringObjectFileELF::Initialize(), llvm::PIC16TargetObjectFile::Initialize(), and llvm::MipsTargetObjectFile::Initialize().
| static SectionKind llvm::SectionKind::getDataRel | ( | ) | [inline, static] |
Definition at line 210 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal(), llvm::PIC16TargetObjectFile::getSectionForFunctionFrame(), llvm::XCoreTargetObjectFile::Initialize(), llvm::TargetLoweringObjectFileCOFF::Initialize(), llvm::TargetLoweringObjectFileMachO::Initialize(), llvm::TargetLoweringObjectFileELF::Initialize(), llvm::PIC16TargetObjectFile::Initialize(), llvm::MipsTargetObjectFile::Initialize(), and llvm::ARMElfTargetObjectFile::Initialize().
| static SectionKind llvm::SectionKind::getDataRelLocal | ( | ) | [inline, static] |
Definition at line 211 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal(), and llvm::TargetLoweringObjectFileELF::Initialize().
| static SectionKind llvm::SectionKind::getDataNoRel | ( | ) | [inline, static] |
Definition at line 212 of file SectionKind.h.
Referenced by llvm::TargetLoweringObjectFile::getKindForGlobal().
| static SectionKind llvm::SectionKind::getReadOnlyWithRel | ( | ) | [inline, static] |
| static SectionKind llvm::SectionKind::getReadOnlyWithRelLocal | ( | ) | [inline, static] |
Definition at line 214 of file SectionKind.h.
Referenced by llvm::AsmPrinter::EmitConstantPool(), llvm::TargetLoweringObjectFile::getKindForGlobal(), and llvm::TargetLoweringObjectFileELF::Initialize().