LLVM API Documentation
#include <NVPTXSection.h>
Public Member Functions | |
NVPTXSection (SectionVariant V, SectionKind K) | |
virtual | ~NVPTXSection () |
virtual void | PrintSwitchToSection (const MCAsmInfo &MAI, raw_ostream &OS, const MCExpr *Subsection) const |
virtual bool | isBaseAddressKnownZero () const |
Base address of PTX sections is zero. More... | |
virtual bool | UseCodeAlign () const |
virtual bool | isVirtualSection () const |
virtual std::string | getLabelBeginName () const |
virtual std::string | getLabelEndName () const |
![]() | |
virtual | ~MCSection () |
SectionKind | getKind () const |
SectionVariant | getVariant () const |
Additional Inherited Members | |
![]() | |
enum | SectionVariant { SV_COFF = 0, SV_ELF, SV_MachO } |
![]() | |
MCSection (SectionVariant V, SectionKind K) | |
![]() | |
SectionVariant | Variant |
SectionKind | Kind |
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.
|
inline |
Definition at line 29 of file NVPTXSection.h.
|
inlinevirtual |
Definition at line 30 of file NVPTXSection.h.
|
inlinevirtual |
Implements llvm::MCSection.
Definition at line 42 of file NVPTXSection.h.
|
inlinevirtual |
Implements llvm::MCSection.
Definition at line 43 of file NVPTXSection.h.
|
inlinevirtual |
Base address of PTX sections is zero.
Reimplemented from llvm::MCSection.
Definition at line 39 of file NVPTXSection.h.
|
inlinevirtual |
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.
|
inlinevirtual |
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.
|
inlinevirtual |
Implements llvm::MCSection.
Definition at line 40 of file NVPTXSection.h.