LLVM API Documentation
#include <NVPTXSection.h>


Public Member Functions | |
| NVPTXSection (SectionVariant V, SectionKind K) | |
| virtual | ~NVPTXSection () |
| void | PrintSwitchToSection (const MCAsmInfo &MAI, raw_ostream &OS, const MCExpr *Subsection) const override |
| bool | isBaseAddressKnownZero () const override |
| Base address of PTX sections is zero. | |
| bool | UseCodeAlign () const override |
| bool | isVirtualSection () const override |
| std::string | getLabelBeginName () const override |
| std::string | getLabelEndName () const override |
NVPTXSection - Represents a section in PTX PTX does not have sections. We create this class in order to use the ASMPrint interface.
Definition at line 26 of file NVPTXSection.h.
| llvm::NVPTXSection::NVPTXSection | ( | SectionVariant | V, |
| SectionKind | K | ||
| ) | [inline] |
Definition at line 29 of file NVPTXSection.h.
| virtual llvm::NVPTXSection::~NVPTXSection | ( | ) | [inline, virtual] |
Definition at line 30 of file NVPTXSection.h.
| std::string llvm::NVPTXSection::getLabelBeginName | ( | ) | const [inline, override, virtual] |
Implements llvm::MCSection.
Definition at line 42 of file NVPTXSection.h.
| std::string llvm::NVPTXSection::getLabelEndName | ( | ) | const [inline, override, virtual] |
Implements llvm::MCSection.
Definition at line 43 of file NVPTXSection.h.
| bool llvm::NVPTXSection::isBaseAddressKnownZero | ( | ) | const [inline, override, virtual] |
Base address of PTX sections is zero.
Reimplemented from llvm::MCSection.
Definition at line 39 of file NVPTXSection.h.
| bool llvm::NVPTXSection::isVirtualSection | ( | ) | const [inline, override, virtual] |
isVirtualSection - Check whether this section is "virtual", that is has no actual object file contents.
Implements llvm::MCSection.
Definition at line 41 of file NVPTXSection.h.
| void llvm::NVPTXSection::PrintSwitchToSection | ( | const MCAsmInfo & | MAI, |
| raw_ostream & | OS, | ||
| const MCExpr * | Subsection | ||
| ) | const [inline, override, virtual] |
Override this as NVPTX has its own way of printing switching to a section.
Implements llvm::MCSection.
Definition at line 34 of file NVPTXSection.h.
| bool llvm::NVPTXSection::UseCodeAlign | ( | ) | const [inline, override, virtual] |
Implements llvm::MCSection.
Definition at line 40 of file NVPTXSection.h.