28 if (Name ==
".text" || Name ==
".data" || Name ==
".bss")
35 assert(Selection != 0 &&
"invalid COMDAT selection type");
36 this->Selection = Selection;
42 const MCExpr *Subsection)
const {
75 OS <<
"\n\t.linkonce\t";
87 OS <<
"same_contents";
99 assert(
false &&
"unsupported COFF selection type");
104 COMDATSymbol->
print(OS, &MAI);
SectionKind getKind() const
This class represents lattice values for constants.
void setSelection(int Selection) const
amdgpu Simplify well known AMD library false Value Value const Twine & Name
Base class for the full range of assembler expressions which are needed for parsing.
bool ShouldOmitSectionDirective(StringRef Name, const MCAsmInfo &MAI) const
Decides whether a '.section' directive should be printed before the section name. ...
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.
unsigned getCharacteristics() const
This class is intended to be used as a base class for asm properties and features specific to the tar...
StringRef getSectionName() const
Triple - Helper class for working with autoconf configuration names.
void PrintSwitchToSection(const MCAsmInfo &MAI, const Triple &T, raw_ostream &OS, const MCExpr *Subsection) const override
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
static bool isImplicitlyDiscardable(StringRef Name)
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.
void print(raw_ostream &OS, const MCAsmInfo *MAI) const
print - Print the value to the stream OS.