LLVM 20.0.0git
|
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCDirectives.h"
#include "llvm/MC/MCParser/MCAsmLexer.h"
#include "llvm/MC/MCParser/MCAsmParser.h"
#include "llvm/MC/MCParser/MCAsmParserExtension.h"
#include "llvm/MC/MCSectionELF.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MCSymbolELF.h"
#include "llvm/MC/SectionKind.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/SMLoc.h"
#include <cassert>
#include <cstdint>
#include <utility>
Go to the source code of this file.
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
Functions | |
static unsigned | parseSectionFlags (const Triple &TT, StringRef flagsStr, bool *UseLastGroup) |
static bool | hasPrefix (StringRef SectionName, StringRef Prefix) |
static bool | allowSectionTypeMismatch (const Triple &TT, StringRef SectionName, unsigned Type) |
static MCSymbolAttr | MCAttrForString (StringRef Type) |
MCAsmParserExtension * | llvm::createELFAsmParser () |
|
static |
Definition at line 522 of file ELFAsmParser.cpp.
References llvm::ELF::SHT_PROGBITS, and llvm::Triple::x86_64.
Definition at line 517 of file ELFAsmParser.cpp.
|
static |
Definition at line 736 of file ELFAsmParser.cpp.
References llvm::StringSwitch< T, R >::Case(), llvm::StringSwitch< T, R >::Cases(), llvm::StringSwitch< T, R >::Default(), llvm::MCSA_ELF_TypeCommon, llvm::MCSA_ELF_TypeFunction, llvm::MCSA_ELF_TypeGnuUniqueObject, llvm::MCSA_ELF_TypeIndFunction, llvm::MCSA_ELF_TypeNoType, llvm::MCSA_ELF_TypeObject, llvm::MCSA_ELF_TypeTLS, and llvm::MCSA_Invalid.
|
static |
Definition at line 286 of file ELFAsmParser.cpp.
References llvm::StringRef::getAsInteger(), llvm::Triple::hexagon, llvm::ELF::SHF_ALLOC, llvm::ELF::SHF_ARM_PURECODE, llvm::ELF::SHF_EXCLUDE, llvm::ELF::SHF_EXECINSTR, llvm::ELF::SHF_GNU_RETAIN, llvm::ELF::SHF_GROUP, llvm::ELF::SHF_HEX_GPREL, llvm::ELF::SHF_LINK_ORDER, llvm::ELF::SHF_MERGE, llvm::ELF::SHF_STRINGS, llvm::ELF::SHF_SUNW_NODISCARD, llvm::ELF::SHF_TLS, llvm::ELF::SHF_WRITE, llvm::ELF::SHF_X86_64_LARGE, llvm::Triple::x86_64, llvm::Triple::xcore, llvm::ELF::XCORE_SHF_CP_SECTION, and llvm::ELF::XCORE_SHF_DP_SECTION.