LLVM API Documentation
Classes | |
| struct | KeyInfo |
Typedefs | |
| typedef DenseMap< unsigned, std::string, KeyInfo > | FlagsStringsMapType |
Functions | |
| static unsigned | getEntitySize (unsigned Flags) |
| static unsigned | setEntitySize (unsigned Flags, unsigned Size) |
Variables | |
| const unsigned | Invalid = -1U |
| const unsigned | None = 0 |
| const unsigned | Code = 1 << 0 |
| Section contains code. | |
| const unsigned | Writeable = 1 << 1 |
| Section is writeable. | |
| const unsigned | BSS = 1 << 2 |
| Section contains only zeroes. | |
| const unsigned | Mergeable = 1 << 3 |
| Section contains mergeable data. | |
| const unsigned | Strings = 1 << 4 |
| Section contains C-type strings. | |
| const unsigned | TLS = 1 << 5 |
| Section contains thread-local data. | |
| const unsigned | Debug = 1 << 6 |
| Section contains debug data. | |
| const unsigned | Linkonce = 1 << 7 |
| Section is linkonce. | |
| const unsigned | Small = 1 << 8 |
| Section is small. | |
| const unsigned | TypeFlags = 0xFF |
| const unsigned | Named = 1 << 23 |
| Section is named. | |
| const unsigned | EntitySize = 0xFF << 24 |
| Entity size for mergeable stuff. | |
| typedef DenseMap<unsigned, std::string, KeyInfo> llvm::SectionFlags::FlagsStringsMapType |
Definition at line 96 of file TargetAsmInfo.h.
Definition at line 80 of file TargetAsmInfo.h.
Referenced by llvm::XCoreTargetAsmInfo::printSectionFlags(), and llvm::ELFTargetAsmInfo::printSectionFlags().
| static unsigned llvm::SectionFlags::setEntitySize | ( | unsigned | Flags, | |
| unsigned | Size | |||
| ) | [inline, static] |
Definition at line 84 of file TargetAsmInfo.h.
References EntitySize.
Referenced by llvm::XCoreTargetAsmInfo::MergeableConstSection(), llvm::ELFTargetAsmInfo::MergeableConstSection(), and llvm::ELFTargetAsmInfo::MergeableStringSection().
| const unsigned llvm::SectionFlags::BSS = 1 << 2 |
Section contains only zeroes.
Definition at line 68 of file TargetAsmInfo.h.
Referenced by llvm::ELFTargetAsmInfo::ELFTargetAsmInfo(), llvm::MipsTargetAsmInfo::MipsTargetAsmInfo(), llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo(), llvm::PPCLinuxTargetAsmInfo::PPCLinuxTargetAsmInfo(), llvm::XCoreTargetAsmInfo::printSectionFlags(), llvm::ELFTargetAsmInfo::printSectionFlags(), llvm::TargetAsmInfo::SectionFlagsForGlobal(), llvm::SparcELFTargetAsmInfo::SparcELFTargetAsmInfo(), llvm::SPULinuxTargetAsmInfo::SPULinuxTargetAsmInfo(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().
| const unsigned llvm::SectionFlags::Code = 1 << 0 |
Section contains code.
Definition at line 66 of file TargetAsmInfo.h.
Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), llvm::XCoreTargetAsmInfo::printSectionFlags(), llvm::X86COFFTargetAsmInfo::printSectionFlags(), llvm::SparcELFTargetAsmInfo::printSectionFlags(), llvm::ELFTargetAsmInfo::printSectionFlags(), llvm::BitstreamReader::ReadBlockInfoBlock(), llvm::BitstreamReader::ReadRecord(), llvm::TargetAsmInfo::SectionFlagsForGlobal(), llvm::AsmPrinter::SwitchToSection(), WriteConstants(), WriteInstruction(), WriteTypeTable(), WriteValueSymbolTable(), llvm::X86WinTargetAsmInfo::X86WinTargetAsmInfo(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().
| const unsigned llvm::SectionFlags::Debug = 1 << 6 |
Section contains debug data.
Definition at line 72 of file TargetAsmInfo.h.
Referenced by llvm::XCoreTargetAsmInfo::printSectionFlags(), llvm::SparcELFTargetAsmInfo::printSectionFlags(), and llvm::ELFTargetAsmInfo::printSectionFlags().
| const unsigned llvm::SectionFlags::EntitySize = 0xFF << 24 |
Entity size for mergeable stuff.
Definition at line 78 of file TargetAsmInfo.h.
Referenced by setEntitySize().
| const unsigned llvm::SectionFlags::Invalid = -1U |
Definition at line 64 of file TargetAsmInfo.h.
Referenced by llvm::SectionFlags::KeyInfo::getEmptyKey(), llvm::TargetAsmInfo::getNamedSection(), llvm::SectionFlags::KeyInfo::getTombstoneKey(), and llvm::TargetAsmInfo::getUnnamedSection().
| const unsigned llvm::SectionFlags::Linkonce = 1 << 7 |
Section is linkonce.
Definition at line 73 of file TargetAsmInfo.h.
Referenced by llvm::AsmPrinter::EmitJumpTableInfo(), and llvm::TargetAsmInfo::SectionFlagsForGlobal().
| const unsigned llvm::SectionFlags::Mergeable = 1 << 3 |
Section contains mergeable data.
Definition at line 69 of file TargetAsmInfo.h.
Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), llvm::XCoreTargetAsmInfo::MergeableConstSection(), llvm::ELFTargetAsmInfo::MergeableConstSection(), llvm::ELFTargetAsmInfo::MergeableStringSection(), llvm::XCoreTargetAsmInfo::printSectionFlags(), llvm::SparcELFTargetAsmInfo::printSectionFlags(), llvm::ELFTargetAsmInfo::printSectionFlags(), and llvm::X86DarwinTargetAsmInfo::X86DarwinTargetAsmInfo().
| const unsigned llvm::SectionFlags::Named = 1 << 23 |
Section is named.
Definition at line 77 of file TargetAsmInfo.h.
Referenced by llvm::TargetAsmInfo::getNamedSection(), llvm::Section::isNamed(), and llvm::TargetAsmInfo::SectionFlagsForGlobal().
| const unsigned llvm::SectionFlags::None = 0 |
Definition at line 65 of file TargetAsmInfo.h.
Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), llvm::ELFTargetAsmInfo::ELFTargetAsmInfo(), llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo(), llvm::TargetAsmInfo::SectionFlagsForGlobal(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().
| const unsigned llvm::SectionFlags::Small = 1 << 8 |
Section is small.
Definition at line 74 of file TargetAsmInfo.h.
Referenced by llvm::XCoreTargetAsmInfo::MergeableConstSection(), llvm::XCoreTargetAsmInfo::printSectionFlags(), llvm::ELFTargetAsmInfo::printSectionFlags(), llvm::XCoreTargetAsmInfo::SectionFlagsForGlobal(), llvm::TargetAsmInfo::SectionFlagsForGlobal(), llvm::MipsTargetAsmInfo::SectionFlagsForGlobal(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().
| const unsigned llvm::SectionFlags::Strings = 1 << 4 |
Section contains C-type strings.
Definition at line 70 of file TargetAsmInfo.h.
Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), llvm::ELFTargetAsmInfo::MergeableStringSection(), llvm::XCoreTargetAsmInfo::printSectionFlags(), and llvm::ELFTargetAsmInfo::printSectionFlags().
| const unsigned llvm::SectionFlags::TLS = 1 << 5 |
Section contains thread-local data.
Definition at line 71 of file TargetAsmInfo.h.
Referenced by llvm::ELFTargetAsmInfo::ELFTargetAsmInfo(), llvm::XCoreTargetAsmInfo::printSectionFlags(), llvm::SparcELFTargetAsmInfo::printSectionFlags(), llvm::ELFTargetAsmInfo::printSectionFlags(), llvm::XCoreTargetAsmInfo::SectionFlagsForGlobal(), and llvm::TargetAsmInfo::SectionFlagsForGlobal().
| const unsigned llvm::SectionFlags::TypeFlags = 0xFF |
Definition at line 75 of file TargetAsmInfo.h.
| const unsigned llvm::SectionFlags::Writeable = 1 << 1 |
Section is writeable.
Definition at line 67 of file TargetAsmInfo.h.
Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), llvm::ELFTargetAsmInfo::ELFTargetAsmInfo(), llvm::MipsTargetAsmInfo::MipsTargetAsmInfo(), llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo(), llvm::PPCLinuxTargetAsmInfo::PPCLinuxTargetAsmInfo(), llvm::XCoreTargetAsmInfo::printSectionFlags(), llvm::X86COFFTargetAsmInfo::printSectionFlags(), llvm::SparcELFTargetAsmInfo::printSectionFlags(), llvm::ELFTargetAsmInfo::printSectionFlags(), llvm::XCoreTargetAsmInfo::SectionFlagsForGlobal(), llvm::TargetAsmInfo::SectionFlagsForGlobal(), llvm::SparcELFTargetAsmInfo::SparcELFTargetAsmInfo(), llvm::SPULinuxTargetAsmInfo::SPULinuxTargetAsmInfo(), llvm::X86WinTargetAsmInfo::X86WinTargetAsmInfo(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().