LLVM 22.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::mcdxbc::RootParametersContainer Struct Reference

#include "llvm/MC/DXContainerRootSignature.h"

Public Member Functions

void addInfo (dxbc::RootParameterType Type, dxbc::ShaderVisibility Visibility, size_t Location)
 
void addParameter (dxbc::RootParameterType Type, dxbc::ShaderVisibility Visibility, RootConstants Constant)
 
void addParameter (dxbc::RootParameterType Type, dxbc::ShaderVisibility Visibility, RootDescriptor Descriptor)
 
void addParameter (dxbc::RootParameterType Type, dxbc::ShaderVisibility Visibility, DescriptorTable Table)
 
const RootParameterInfogetInfo (uint32_t Location) const
 
const RootConstantsgetConstant (size_t Index) const
 
const RootDescriptorgetRootDescriptor (size_t Index) const
 
const DescriptorTablegetDescriptorTable (size_t Index) const
 
size_t size () const
 
SmallVector< RootParameterInfo >::const_iterator begin () const
 
SmallVector< RootParameterInfo >::const_iterator end () const
 

Public Attributes

SmallVector< RootParameterInfoParametersInfo
 
SmallVector< RootConstantsConstants
 
SmallVector< RootDescriptorDescriptors
 
SmallVector< DescriptorTableTables
 

Detailed Description

Definition at line 54 of file DXContainerRootSignature.h.

Member Function Documentation

◆ addInfo()

void llvm::mcdxbc::RootParametersContainer::addInfo ( dxbc::RootParameterType  Type,
dxbc::ShaderVisibility  Visibility,
size_t  Location 
)
inline

Definition at line 61 of file DXContainerRootSignature.h.

References ParametersInfo.

Referenced by addParameter().

◆ addParameter() [1/3]

void llvm::mcdxbc::RootParametersContainer::addParameter ( dxbc::RootParameterType  Type,
dxbc::ShaderVisibility  Visibility,
DescriptorTable  Table 
)
inline

Definition at line 79 of file DXContainerRootSignature.h.

References addInfo(), and Tables.

◆ addParameter() [2/3]

void llvm::mcdxbc::RootParametersContainer::addParameter ( dxbc::RootParameterType  Type,
dxbc::ShaderVisibility  Visibility,
RootConstants  Constant 
)
inline

Definition at line 66 of file DXContainerRootSignature.h.

References addInfo(), and Constants.

◆ addParameter() [3/3]

void llvm::mcdxbc::RootParametersContainer::addParameter ( dxbc::RootParameterType  Type,
dxbc::ShaderVisibility  Visibility,
RootDescriptor  Descriptor 
)
inline

Definition at line 72 of file DXContainerRootSignature.h.

References addInfo(), and Descriptors.

◆ begin()

SmallVector< RootParameterInfo >::const_iterator llvm::mcdxbc::RootParametersContainer::begin ( ) const
inline

Definition at line 104 of file DXContainerRootSignature.h.

References ParametersInfo.

◆ end()

SmallVector< RootParameterInfo >::const_iterator llvm::mcdxbc::RootParametersContainer::end ( ) const
inline

Definition at line 107 of file DXContainerRootSignature.h.

References ParametersInfo.

◆ getConstant()

const RootConstants & llvm::mcdxbc::RootParametersContainer::getConstant ( size_t  Index) const
inline

Definition at line 90 of file DXContainerRootSignature.h.

References Constants, and Index.

Referenced by validateRootSignature(), and llvm::mcdxbc::RootSignatureDesc::write().

◆ getDescriptorTable()

const DescriptorTable & llvm::mcdxbc::RootParametersContainer::getDescriptorTable ( size_t  Index) const
inline

◆ getInfo()

const RootParameterInfo & llvm::mcdxbc::RootParametersContainer::getInfo ( uint32_t  Location) const
inline

Definition at line 85 of file DXContainerRootSignature.h.

References Info, and ParametersInfo.

Referenced by llvm::mcdxbc::RootSignatureDesc::write().

◆ getRootDescriptor()

const RootDescriptor & llvm::mcdxbc::RootParametersContainer::getRootDescriptor ( size_t  Index) const
inline

Definition at line 94 of file DXContainerRootSignature.h.

References Descriptors, and Index.

Referenced by validateRootSignature(), and llvm::mcdxbc::RootSignatureDesc::write().

◆ size()

size_t llvm::mcdxbc::RootParametersContainer::size ( ) const
inline

Definition at line 102 of file DXContainerRootSignature.h.

References ParametersInfo.

Referenced by llvm::mcdxbc::RootSignatureDesc::write().

Member Data Documentation

◆ Constants

SmallVector<RootConstants> llvm::mcdxbc::RootParametersContainer::Constants

Definition at line 57 of file DXContainerRootSignature.h.

Referenced by addParameter(), and getConstant().

◆ Descriptors

SmallVector<RootDescriptor> llvm::mcdxbc::RootParametersContainer::Descriptors

Definition at line 58 of file DXContainerRootSignature.h.

Referenced by addParameter(), and getRootDescriptor().

◆ ParametersInfo

SmallVector<RootParameterInfo> llvm::mcdxbc::RootParametersContainer::ParametersInfo

Definition at line 55 of file DXContainerRootSignature.h.

Referenced by addInfo(), begin(), end(), getInfo(), and size().

◆ Tables

SmallVector<DescriptorTable> llvm::mcdxbc::RootParametersContainer::Tables

Definition at line 59 of file DXContainerRootSignature.h.

Referenced by addParameter(), and getDescriptorTable().


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