LLVM 19.0.0git
Public Member Functions | Friends | List of all members
llvm::MCSectionSPIRV Class Referencefinal

#include "llvm/MC/MCSectionSPIRV.h"

Inheritance diagram for llvm::MCSectionSPIRV:
Inheritance graph
[legend]

Public Member Functions

 ~MCSectionSPIRV ()=default
 
void printSwitchToSection (const MCAsmInfo &MAI, const Triple &T, raw_ostream &OS, const MCExpr *Subsection) const override
 
bool useCodeAlign () const override
 Return true if a .align directive should use "optimized nops" to fill instead of 0s.
 
bool isVirtualSection () const override
 Check whether this section is "virtual", that is has no actual object file contents.
 
- Public Member Functions inherited from llvm::MCSection
 MCSection (const MCSection &)=delete
 
MCSectionoperator= (const MCSection &)=delete
 
StringRef getName () const
 
SectionKind getKind () const
 
SectionVariant getVariant () const
 
MCSymbolgetBeginSymbol ()
 
const MCSymbolgetBeginSymbol () const
 
void setBeginSymbol (MCSymbol *Sym)
 
MCSymbolgetEndSymbol (MCContext &Ctx)
 
bool hasEnded () const
 
Align getAlign () const
 
void setAlignment (Align Value)
 
void ensureMinAlignment (Align MinAlignment)
 Makes sure that Alignment is at least MinAlignment.
 
unsigned getOrdinal () const
 
void setOrdinal (unsigned Value)
 
unsigned getLayoutOrder () const
 
void setLayoutOrder (unsigned Value)
 
BundleLockStateType getBundleLockState () const
 
void setBundleLockState (BundleLockStateType NewState)
 
bool isBundleLocked () const
 
bool isBundleGroupBeforeFirstInst () const
 
void setBundleGroupBeforeFirstInst (bool IsFirst)
 
bool hasInstructions () const
 
void setHasInstructions (bool Value)
 
bool hasLayout () const
 
void setHasLayout (bool Value)
 
bool isRegistered () const
 
void setIsRegistered (bool Value)
 
const MCDummyFragmentgetDummyFragment () const
 
MCDummyFragmentgetDummyFragment ()
 
FragListcurFragList () const
 
iterator begin () const
 
iterator end () const
 
bool empty () const
 
void addFragment (MCFragment &F)
 
void switchSubsection (unsigned Subsection)
 
void dump () const
 
virtual void printSwitchToSection (const MCAsmInfo &MAI, const Triple &T, raw_ostream &OS, const MCExpr *Subsection) const =0
 
virtual bool useCodeAlign () const =0
 Return true if a .align directive should use "optimized nops" to fill instead of 0s.
 
virtual bool isVirtualSection () const =0
 Check whether this section is "virtual", that is has no actual object file contents.
 
virtual StringRef getVirtualSectionKind () const
 
void addPendingLabel (MCSymbol *label, unsigned Subsection=0)
 Add a pending label for the requested subsection.
 
void flushPendingLabels (MCFragment *F, unsigned Subsection)
 Associate all pending labels in a subsection with a fragment.
 
void flushPendingLabels ()
 Associate all pending labels with empty data fragments.
 

Friends

class MCContext
 

Additional Inherited Members

- Public Types inherited from llvm::MCSection
enum  SectionVariant {
  SV_COFF = 0 , SV_ELF , SV_GOFF , SV_MachO ,
  SV_Wasm , SV_XCOFF , SV_SPIRV , SV_DXContainer
}
 
enum  BundleLockStateType { NotBundleLocked , BundleLocked , BundleLockedAlignToEnd }
 Express the state of bundle locked groups while emitting code. More...
 
- Public Attributes inherited from llvm::MCSection
friend MCAssembler
 
- Static Public Attributes inherited from llvm::MCSection
static constexpr unsigned NonUniqueID = ~0U
 
- Protected Member Functions inherited from llvm::MCSection
 MCSection (SectionVariant V, StringRef Name, SectionKind K, MCSymbol *Begin)
 
 ~MCSection ()
 
- Protected Attributes inherited from llvm::MCSection
StringRef Name
 
SectionVariant Variant
 
SectionKind Kind
 

Detailed Description

Definition at line 23 of file MCSectionSPIRV.h.

Constructor & Destructor Documentation

◆ ~MCSectionSPIRV()

llvm::MCSectionSPIRV::~MCSectionSPIRV ( )
default

Member Function Documentation

◆ isVirtualSection()

bool llvm::MCSectionSPIRV::isVirtualSection ( ) const
inlineoverridevirtual

Check whether this section is "virtual", that is has no actual object file contents.

Implements llvm::MCSection.

Definition at line 36 of file MCSectionSPIRV.h.

◆ printSwitchToSection()

void llvm::MCSectionSPIRV::printSwitchToSection ( const MCAsmInfo MAI,
const Triple T,
raw_ostream OS,
const MCExpr Subsection 
) const
inlineoverridevirtual

Implements llvm::MCSection.

Definition at line 32 of file MCSectionSPIRV.h.

◆ useCodeAlign()

bool llvm::MCSectionSPIRV::useCodeAlign ( ) const
inlineoverridevirtual

Return true if a .align directive should use "optimized nops" to fill instead of 0s.

Implements llvm::MCSection.

Definition at line 35 of file MCSectionSPIRV.h.

Friends And Related Function Documentation

◆ MCContext

friend class MCContext
friend

Definition at line 24 of file MCSectionSPIRV.h.


The documentation for this class was generated from the following file: