14 #ifndef LLVM_LIB_TARGET_NVPTX_NVPTXSECTION_H
15 #define LLVM_LIB_TARGET_NVPTX_NVPTXSECTION_H
27 virtual void anchor();
36 const MCExpr *Subsection)
const override {}
NVPTXSection(SectionVariant V, SectionKind K)
Instances of this class represent a uniqued identifier for a section in the current translation unit...
bool UseCodeAlign() const override
Base address of PTX sections is zero.
Base class for the full range of assembler expressions which are needed for parsing.
This class is intended to be used as a base class for asm properties and features specific to the tar...
void PrintSwitchToSection(const MCAsmInfo &MAI, raw_ostream &OS, const MCExpr *Subsection) const override
Override this as NVPTX has its own way of printing switching to a section.
SectionKind - This is a simple POD value that classifies the properties of a section.
NVPTXSection - Represents a section in PTX PTX does not have sections.
bool isVirtualSection() const override
Check whether this section is "virtual", that is has no actual object file contents.
This class implements an extremely fast bulk output stream that can only output to a stream...