LLVM 22.0.0git
llvm::dxil::ResourceTypeInfo Class Reference

#include "llvm/Analysis/DXILResource.h"

Classes

struct  StructInfo
struct  TypedInfo
struct  UAVInfo

Public Member Functions

LLVM_ABI ResourceTypeInfo (TargetExtType *HandleTy, const dxil::ResourceClass RC, const dxil::ResourceKind Kind)
 ResourceTypeInfo (TargetExtType *HandleTy)
TargetExtTypegetHandleTy () const
LLVM_ABI StructTypecreateElementStruct (StringRef CBufferName="")
LLVM_ABI bool isUAV () const
LLVM_ABI bool isCBuffer () const
LLVM_ABI bool isSampler () const
LLVM_ABI bool isStruct () const
LLVM_ABI bool isTyped () const
LLVM_ABI bool isFeedback () const
LLVM_ABI bool isMultiSample () const
LLVM_ABI UAVInfo getUAV () const
LLVM_ABI uint32_t getCBufferSize (const DataLayout &DL) const
LLVM_ABI dxil::SamplerType getSamplerType () const
LLVM_ABI StructInfo getStruct (const DataLayout &DL) const
LLVM_ABI TypedInfo getTyped () const
LLVM_ABI dxil::SamplerFeedbackType getFeedbackType () const
LLVM_ABI uint32_t getMultiSampleCount () const
dxil::ResourceClass getResourceClass () const
dxil::ResourceKind getResourceKind () const
LLVM_ABI bool operator== (const ResourceTypeInfo &RHS) const
bool operator!= (const ResourceTypeInfo &RHS) const
LLVM_ABI bool operator< (const ResourceTypeInfo &RHS) const
LLVM_ABI void print (raw_ostream &OS, const DataLayout &DL) const

Detailed Description

Definition at line 248 of file DXILResource.h.

Constructor & Destructor Documentation

◆ ResourceTypeInfo() [1/2]

◆ ResourceTypeInfo() [2/2]

llvm::dxil::ResourceTypeInfo::ResourceTypeInfo ( TargetExtType * HandleTy)
inline

Definition at line 300 of file DXILResource.h.

References ResourceTypeInfo().

Member Function Documentation

◆ createElementStruct()

◆ getCBufferSize()

uint32_t ResourceTypeInfo::getCBufferSize ( const DataLayout & DL) const

◆ getFeedbackType()

dxil::SamplerFeedbackType ResourceTypeInfo::getFeedbackType ( ) const

◆ getHandleTy()

TargetExtType * llvm::dxil::ResourceTypeInfo::getHandleTy ( ) const
inline

◆ getMultiSampleCount()

uint32_t ResourceTypeInfo::getMultiSampleCount ( ) const

◆ getResourceClass()

dxil::ResourceClass llvm::dxil::ResourceTypeInfo::getResourceClass ( ) const
inline

Definition at line 324 of file DXILResource.h.

Referenced by prettyPrintResources(), and validateRootSignature().

◆ getResourceKind()

◆ getSamplerType()

dxil::SamplerType ResourceTypeInfo::getSamplerType ( ) const

◆ getStruct()

◆ getTyped()

◆ getUAV()

ResourceTypeInfo::UAVInfo ResourceTypeInfo::getUAV ( ) const

◆ isCBuffer()

◆ isFeedback()

◆ isMultiSample()

◆ isSampler()

◆ isStruct()

◆ isTyped()

◆ isUAV()

bool ResourceTypeInfo::isUAV ( ) const

◆ operator!=()

bool llvm::dxil::ResourceTypeInfo::operator!= ( const ResourceTypeInfo & RHS) const
inline

Definition at line 328 of file DXILResource.h.

References ResourceTypeInfo(), and RHS.

◆ operator<()

◆ operator==()

bool ResourceTypeInfo::operator== ( const ResourceTypeInfo & RHS) const

Definition at line 540 of file DXILResource.cpp.

References ResourceTypeInfo().

◆ print()


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