31 if (
Name.find_first_not_of(
"0123456789_."
32 "abcdefghijklmnopqrstuvwxyz"
33 "ABCDEFGHIJKLMNOPQRSTUVWXYZ") ==
Name.npos) {
38 for (
const char *
B =
Name.begin(), *E =
Name.end();
B < E; ++
B) {
59 OS <<
'\t' << Subsection;
118 }
else if (
T.isARM() ||
T.isThumb()) {
144 OS <<
"preinit_array";
160 OS <<
"llvm_linker_options";
162 OS <<
"llvm_call_graph_profile";
164 OS <<
"llvm_dependent_libraries";
166 OS <<
"llvm_sympart";
168 OS <<
"llvm_bb_addr_map";
170 OS <<
"llvm_bb_addr_map_v0";
172 OS <<
"llvm_offloading";
176 OS <<
"llvm_jt_sizes";
182 OS <<
"," << EntrySize;
201 OS <<
",unique," << UniqueID;
206 OS <<
"\t.subsection\t" << Subsection;
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
static void printName(raw_ostream &OS, StringRef Name)
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
This class is intended to be used as a base class for asm properties and features specific to the tar...
bool usesSunStyleELFSectionSwitchSyntax() const
StringRef getCommentString() const
virtual bool shouldOmitSectionDirective(StringRef SectionName) const
Return true if the .section directive should be omitted when emitting SectionName.
unsigned getFlags() const
void printSwitchToSection(const MCAsmInfo &MAI, const Triple &T, raw_ostream &OS, uint32_t Subsection) const override
StringRef getVirtualSectionKind() const override
bool shouldOmitSectionDirective(StringRef Name, const MCAsmInfo &MAI) const
Decides whether a '.section' directive should be printed before the section name.
bool useCodeAlign() const override
Return true if a .align directive should use "optimized nops" to fill instead of 0s.
StringRef getName() const
StringRef getName() const
getName - Get the symbol name.
StringRef - Represent a constant reference to a string, i.e.
Triple - Helper class for working with autoconf configuration names.
static Twine utohexstr(const uint64_t &Val)
The instances of the Type class are immutable: once they are created, they are never changed.
This class implements an extremely fast bulk output stream that can only output to a stream.
@ SHT_LLVM_BB_ADDR_MAP_V0
@ SHT_LLVM_DEPENDENT_LIBRARIES
@ SHT_LLVM_LINKER_OPTIONS
@ SHT_LLVM_CALL_GRAPH_PROFILE
@ XCORE_SHF_DP_SECTION
All sections with the "d" flag are grouped together by the linker to form the data section and the dp...
@ XCORE_SHF_CP_SECTION
All sections with the "c" flag are grouped together by the linker to form the constant pool and the c...
This is an optimization pass for GlobalISel generic memory operations.