LLVM 22.0.0git
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 81 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 88 of file DXContainerRootSignature.h.

References ParametersInfo.

Referenced by addParameter(), addParameter(), and addParameter().

◆ addParameter() [1/3]

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

Definition at line 106 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 93 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 99 of file DXContainerRootSignature.h.

References addInfo(), and Descriptors.

◆ begin()

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

Definition at line 131 of file DXContainerRootSignature.h.

References ParametersInfo.

◆ end()

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

Definition at line 134 of file DXContainerRootSignature.h.

References ParametersInfo.

◆ getConstant()

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

Definition at line 117 of file DXContainerRootSignature.h.

References Constants.

Referenced by validateRootSignature().

◆ getDescriptorTable()

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

Definition at line 125 of file DXContainerRootSignature.h.

References Tables.

Referenced by validateRootSignature().

◆ getInfo()

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

Definition at line 112 of file DXContainerRootSignature.h.

References Info, and ParametersInfo.

◆ getRootDescriptor()

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

Definition at line 121 of file DXContainerRootSignature.h.

References Descriptors.

Referenced by validateRootSignature().

◆ size()

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

Definition at line 129 of file DXContainerRootSignature.h.

References ParametersInfo.

Member Data Documentation

◆ Constants

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

Definition at line 84 of file DXContainerRootSignature.h.

Referenced by addParameter(), and getConstant().

◆ Descriptors

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

Definition at line 85 of file DXContainerRootSignature.h.

Referenced by addParameter(), and getRootDescriptor().

◆ ParametersInfo

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

Definition at line 82 of file DXContainerRootSignature.h.

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

◆ Tables

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

Definition at line 86 of file DXContainerRootSignature.h.

Referenced by addParameter(), and getDescriptorTable().


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