class MCSectionSPIRV

Declaration

class MCSectionSPIRV : public MCSection { /* full declaration omitted */ };

Description

Instances of this class represent a uniqued identifier for a section in the current translation unit. The MCContext class uniques and creates these.

Declared at: llvm/include/llvm/MC/MCSectionSPIRV.h:23

Inherits from: MCSection

Member Variables

Inherited from MCSection:

protected Name
protected Variant
protected Kind
public static NonUniqueID = ~0U

Method Overview

Inherited from MCSection:

Methods

MCSectionSPIRV(llvm::SectionKind K,
               llvm::MCSymbol* Begin)

Declared at: llvm/include/llvm/MC/MCSectionSPIRV.h:26

Parameters

llvm::SectionKind K
llvm::MCSymbol* Begin

bool isVirtualSection() const

Description

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

Declared at: llvm/include/llvm/MC/MCSectionSPIRV.h:36

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

Declared at: llvm/include/llvm/MC/MCSectionSPIRV.h:32

Parameters

const llvm::MCAsmInfo& MAI
const llvm::Triple& T
llvm::raw_ostream& OS
const llvm::MCExpr* Subsection

bool useCodeAlign() const

Description

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

Declared at: llvm/include/llvm/MC/MCSectionSPIRV.h:35

~MCSectionSPIRV()

Declared at: llvm/include/llvm/MC/MCSectionSPIRV.h:31