30 "abcdefghijklmnopqrstuvwxyz"
31 "ABCDEFGHIJKLMNOPQRSTUVWXYZ") == Name.
npos) {
36 for (
const char *
B = Name.
begin(), *
E = Name.
end();
B <
E; ++
B) {
53 const MCExpr *Subsection)
const {
59 Subsection->
print(OS, &MAI);
84 OS <<
",unique," << UniqueID;
89 OS <<
"\t.subsection\t";
90 Subsection->
print(OS, &MAI);
StringRef getCommentString() const
Base class for the full range of assembler expressions which are needed for parsing.
static void printName(raw_ostream &OS, StringRef Name)
virtual bool shouldOmitSectionDirective(StringRef SectionName) const
Return true if the .section directive should be omitted when emitting SectionName.
StringRef getSectionName() const
bool UseCodeAlign() const override
Return true if a .align directive should use "optimized nops" to fill instead of 0s.
This class is intended to be used as a base class for asm properties and features specific to the tar...
LLVM_NODISCARD size_t find_first_not_of(char C, size_t From=0) const
Find the first character in the string that is not C or npos if not found.
Triple - Helper class for working with autoconf configuration names.
bool ShouldOmitSectionDirective(StringRef Name, const MCAsmInfo &MAI) const
Decides whether a '.section' directive should be printed before the section name. ...
void PrintSwitchToSection(const MCAsmInfo &MAI, const Triple &T, raw_ostream &OS, const MCExpr *Subsection) const override
void print(raw_ostream &OS, const MCAsmInfo *MAI, bool InParens=false) const
This class implements an extremely fast bulk output stream that can only output to a stream...
StringRef - Represent a constant reference to a string, i.e.
bool isVirtualSection() const override
Check whether this section is "virtual", that is has no actual object file contents.