class AMDGPUNumSGPRAttr

Declaration

class AMDGPUNumSGPRAttr : public InheritableAttr { /* full declaration omitted */ };

Description

Attr - This represents one attribute.

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:148

Inherits from: InheritableAttr

Member Variables

private unsigned int numSGPR

Inherited from Attr:

protected Inherited
protected IsPackExpansion
protected Implicit
protected IsLateParsed
protected InheritEvenIfAlreadyPresent

Inherited from AttributeCommonInfo:

protected static SpellingNotCalculated = 15

Method Overview

  • public AMDGPUNumSGPRAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, unsigned int NumSGPR)
  • public static clang::AMDGPUNumSGPRAttr * Create(clang::ASTContext & Ctx, unsigned int NumSGPR, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::AMDGPUNumSGPRAttr * Create(clang::ASTContext & Ctx, unsigned int NumSGPR, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::AMDGPUNumSGPRAttr * CreateImplicit(clang::ASTContext & Ctx, unsigned int NumSGPR, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::AMDGPUNumSGPRAttr * CreateImplicit(clang::ASTContext & Ctx, unsigned int NumSGPR, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static bool classof(const clang::Attr * A)
  • public clang::AMDGPUNumSGPRAttr * clone(clang::ASTContext & C) const
  • public unsigned int getNumSGPR() const
  • public const char * getSpelling() const
  • public void printPretty(llvm::raw_ostream & OS, const clang::PrintingPolicy & Policy) const

Inherited from InheritableAttr:

Inherited from Attr:

Inherited from AttributeCommonInfo:

Methods

AMDGPUNumSGPRAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    unsigned int NumSGPR)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:166

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo
unsigned int NumSGPR

static clang::AMDGPUNumSGPRAttr* Create(
    clang::ASTContext& Ctx,
    unsigned int NumSGPR,
    const clang::AttributeCommonInfo& CommonInfo)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:161

Parameters

clang::ASTContext& Ctx
unsigned int NumSGPR
const clang::AttributeCommonInfo& CommonInfo

static clang::AMDGPUNumSGPRAttr* Create(
    clang::ASTContext& Ctx,
    unsigned int NumSGPR,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:163

Parameters

clang::ASTContext& Ctx
unsigned int NumSGPR
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

static clang::AMDGPUNumSGPRAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    unsigned int NumSGPR,
    const clang::AttributeCommonInfo& CommonInfo =
        {clang::SourceRange{}})

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:160

Parameters

clang::ASTContext& Ctx
unsigned int NumSGPR
const clang::AttributeCommonInfo& CommonInfo = {clang::SourceRange{}}

static clang::AMDGPUNumSGPRAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    unsigned int NumSGPR,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:162

Parameters

clang::ASTContext& Ctx
unsigned int NumSGPR
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

static bool classof(const clang::Attr* A)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:180

Parameters

const clang::Attr* A

clang::AMDGPUNumSGPRAttr* clone(
    clang::ASTContext& C) const

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:170

Parameters

clang::ASTContext& C

unsigned int getNumSGPR() const

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:174

const char* getSpelling() const

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:173

void printPretty(
    llvm::raw_ostream& OS,
    const clang::PrintingPolicy& Policy) const

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:171

Parameters

llvm::raw_ostream& OS
const clang::PrintingPolicy& Policy