25 if (
Name ==
".text" ||
Name ==
".data" ||
Name ==
".bss")
39 const MCExpr *Subsection)
const {
46 OS <<
"\t.section\t" <<
getName() <<
",\"";
74 OS <<
"\n\t.linkonce\t";
86 OS <<
"same_contents";
98 assert(
false &&
"unsupported COFF selection type");
116 return "IMAGE_SCN_CNT_UNINITIALIZED_DATA";
amdgpu AMDGPU DAG DAG Pattern Instruction Selection
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...
Base class for the full range of assembler expressions which are needed for parsing.
static bool isImplicitlyDiscardable(StringRef Name)
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
unsigned getCharacteristics() const
StringRef getVirtualSectionKind() const override
bool isVirtualSection() const override
Check whether this section is "virtual", that is has no actual object file contents.
bool useCodeAlign() const override
Return true if a .align directive should use "optimized nops" to fill instead of 0s.
void setSelection(int Selection) const
SectionKind getKind() const
StringRef getName() const
void print(raw_ostream &OS, const MCAsmInfo *MAI) const
print - Print the value to the stream OS.
StringRef - Represent a constant reference to a string, i.e.
Triple - Helper class for working with autoconf configuration names.
This class implements an extremely fast bulk output stream that can only output to a stream.
@ IMAGE_SCN_CNT_UNINITIALIZED_DATA
@ IMAGE_SCN_MEM_DISCARDABLE
@ IMAGE_SCN_CNT_INITIALIZED_DATA
@ IMAGE_COMDAT_SELECT_NODUPLICATES
@ IMAGE_COMDAT_SELECT_LARGEST
@ IMAGE_COMDAT_SELECT_NEWEST
@ IMAGE_COMDAT_SELECT_SAME_SIZE
@ IMAGE_COMDAT_SELECT_ASSOCIATIVE
@ IMAGE_COMDAT_SELECT_EXACT_MATCH
@ IMAGE_COMDAT_SELECT_ANY
This is an optimization pass for GlobalISel generic memory operations.