LLVM 22.0.0git
llvm::hlsl::rootsig::ShaderRegisterOverflowError Class Reference

#include "llvm/Frontend/HLSL/RootSignatureMetadata.h"

Inheritance diagram for llvm::hlsl::rootsig::ShaderRegisterOverflowError:
[legend]

Public Member Functions

 ShaderRegisterOverflowError (dxil::ResourceClass Type, uint32_t Register, uint32_t Space)
void log (raw_ostream &OS) const override
 Print an error message to an output stream.
std::error_code convertToErrorCode () const override
 Convert this error to a std::error_code.
Public Member Functions inherited from llvm::ErrorInfo< ShaderRegisterOverflowError >
const void * dynamicClassID () const override
bool isA (const void *const ClassID) const override
Public Member Functions inherited from llvm::ErrorInfoBase
virtual ~ErrorInfoBase ()=default
virtual std::string message () const
 Return the error message as a string.
template<typename ErrorInfoT>
bool isA () const

Public Attributes

dxil::ResourceClass Type
uint32_t Register
uint32_t Space

Static Public Attributes

static char ID

Additional Inherited Members

Static Public Member Functions inherited from llvm::ErrorInfo< ShaderRegisterOverflowError >
static const void * classID ()
Static Public Member Functions inherited from llvm::ErrorInfoBase
static const void * classID ()

Detailed Description

Definition at line 73 of file RootSignatureMetadata.h.

Constructor & Destructor Documentation

◆ ShaderRegisterOverflowError()

llvm::hlsl::rootsig::ShaderRegisterOverflowError::ShaderRegisterOverflowError ( dxil::ResourceClass Type,
uint32_t Register,
uint32_t Space )
inline

Definition at line 81 of file RootSignatureMetadata.h.

References Register, Space, and Type.

Member Function Documentation

◆ convertToErrorCode()

std::error_code llvm::hlsl::rootsig::ShaderRegisterOverflowError::convertToErrorCode ( ) const
inlineoverridevirtual

Convert this error to a std::error_code.

This is a temporary crutch to enable interaction with code still using std::error_code. It will be removed in the future.

Implements llvm::ErrorInfoBase.

Definition at line 90 of file RootSignatureMetadata.h.

References llvm::inconvertibleErrorCode().

◆ log()

void llvm::hlsl::rootsig::ShaderRegisterOverflowError::log ( raw_ostream & OS) const
inlineoverridevirtual

Print an error message to an output stream.

Implements llvm::ErrorInfoBase.

Definition at line 85 of file RootSignatureMetadata.h.

References Register, Space, and Type.

Member Data Documentation

◆ ID

char llvm::hlsl::rootsig::ShaderRegisterOverflowError::ID
static

Definition at line 76 of file RootSignatureMetadata.h.

◆ Register

uint32_t llvm::hlsl::rootsig::ShaderRegisterOverflowError::Register

Definition at line 78 of file RootSignatureMetadata.h.

Referenced by log(), and ShaderRegisterOverflowError().

◆ Space

uint32_t llvm::hlsl::rootsig::ShaderRegisterOverflowError::Space

Definition at line 79 of file RootSignatureMetadata.h.

Referenced by log(), and ShaderRegisterOverflowError().

◆ Type

dxil::ResourceClass llvm::hlsl::rootsig::ShaderRegisterOverflowError::Type

Definition at line 77 of file RootSignatureMetadata.h.

Referenced by log(), and ShaderRegisterOverflowError().


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