LLVM: llvm::dxil::ResourceTypeInfo Class Reference (original) (raw)

#include "[llvm/Analysis/DXILResource.h](DXILResource%5F8h%5Fsource.html)"

Public Member Functions
LLVM_ABI ResourceTypeInfo (TargetExtType *HandleTy, const dxil::ResourceClass RC, const dxil::ResourceKind Kind)
ResourceTypeInfo (TargetExtType *HandleTy)
TargetExtType * getHandleTy () const
LLVM_ABI StructType * createElementStruct (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

Definition at line 267 of file DXILResource.h.

Definition at line 216 of file DXILResource.cpp.

References llvm::dxil::CBuffer, llvm::dyn_cast(), llvm::dxil::Invalid, llvm::isa(), llvm_unreachable, llvm::dxil::RawBuffer, llvm::dxil::Sampler, llvm::dxil::SRV, llvm::dxil::StructuredBuffer, llvm::dxil::TypedBuffer, and llvm::dxil::UAV.

Referenced by operator!=(), operator<(), operator==(), and ResourceTypeInfo().

ResourceTypeInfo() [2/2]

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

createElementStruct()

Definition at line 331 of file DXILResource.cpp.

References llvm::cast(), llvm::dxil::CBuffer, llvm::StructType::create(), llvm::dyn_cast(), llvm::StringRef::empty(), llvm::dxil::FeedbackTexture2D, llvm::dxil::FeedbackTexture2DArray, formatTypeName(), llvm::formatv(), llvm::Type::getInt32Ty(), getOrCreateElementStruct(), getResourceKindName(), getTypeWithoutPadding(), llvm::dxil::Invalid, llvm_unreachable, llvm::dxil::NumEntries, llvm::dxil::RawBuffer, llvm::dxil::RTAccelerationStructure, llvm::dxil::Sampler, llvm::dxil::StructuredBuffer, llvm::dxil::TBuffer, llvm::dxil::Texture1D, llvm::dxil::Texture1DArray, llvm::dxil::Texture2D, llvm::dxil::Texture2DArray, llvm::dxil::Texture2DMS, llvm::dxil::Texture2DMSArray, llvm::dxil::Texture3D, llvm::dxil::TextureCube, llvm::dxil::TextureCubeArray, llvm::to_underlying(), and llvm::dxil::TypedBuffer.

getCBufferSize()

getFeedbackType()

getHandleTy()

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

getMultiSampleCount()

uint32_t ResourceTypeInfo::getMultiSampleCount ( ) const

getResourceClass()

getResourceKind()

getSamplerType()

getStruct()

getTyped()

Definition at line 574 of file DXILResource.cpp.

References assert(), llvm::Count, llvm::dyn_cast(), getTypedElementType(), isTyped(), toDXILElementType(), and toDXILStorageType().

Referenced by llvm::dxil::ResourceInfo::getAnnotateProps(), llvm::dxil::ResourceInfo::getAsMetadata(), getFormatName(), operator<(), and print().

getUAV()

isCBuffer()

bool ResourceTypeInfo::isCBuffer ( ) const

isFeedback()

bool ResourceTypeInfo::isFeedback ( ) const

isMultiSample()

bool ResourceTypeInfo::isMultiSample ( ) const

isSampler()

bool ResourceTypeInfo::isSampler ( ) const

isStruct()

bool ResourceTypeInfo::isStruct ( ) const

isTyped()

bool ResourceTypeInfo::isTyped ( ) const

Definition at line 431 of file DXILResource.cpp.

References llvm::dxil::CBuffer, llvm::dxil::FeedbackTexture2D, llvm::dxil::FeedbackTexture2DArray, llvm::dxil::Invalid, llvm_unreachable, llvm::dxil::NumEntries, llvm::dxil::RawBuffer, llvm::dxil::RTAccelerationStructure, llvm::dxil::Sampler, llvm::dxil::StructuredBuffer, llvm::dxil::TBuffer, llvm::dxil::Texture1D, llvm::dxil::Texture1DArray, llvm::dxil::Texture2D, llvm::dxil::Texture2DArray, llvm::dxil::Texture2DMS, llvm::dxil::Texture2DMSArray, llvm::dxil::Texture3D, llvm::dxil::TextureCube, llvm::dxil::TextureCubeArray, and llvm::dxil::TypedBuffer.

Referenced by calculateGEPOffset(), llvm::dxil::ResourceInfo::getAnnotateProps(), llvm::dxil::ResourceInfo::getAsMetadata(), getFormatName(), getTyped(), operator<(), and print().

isUAV()

bool ResourceTypeInfo::isUAV ( ) const

operator!=()

operator<()

Definition at line 599 of file DXILResource.cpp.

References getCBufferSize(), getFeedbackType(), getMultiSampleCount(), getSamplerType(), getStruct(), getTyped(), getUAV(), isCBuffer(), isFeedback(), isMultiSample(), isSampler(), isStruct(), isTyped(), isUAV(), and ResourceTypeInfo().

operator==()

print()

Definition at line 625 of file DXILResource.cpp.

References DL, llvm::dxil::ResourceTypeInfo::TypedInfo::DXILStorageTy, llvm::dxil::ResourceTypeInfo::TypedInfo::ElementCount, llvm::dxil::ResourceTypeInfo::TypedInfo::ElementTy, getCBufferSize(), getElementTypeName(), getFeedbackType(), getMultiSampleCount(), llvm::dxil::getResourceClassName(), getResourceKindName(), getSamplerFeedbackTypeName(), getSamplerType(), getSamplerTypeName(), getStruct(), getTyped(), getUAV(), isCBuffer(), isFeedback(), isMultiSample(), llvm::dxil::ResourceTypeInfo::UAVInfo::IsROV, isSampler(), isStruct(), isTyped(), and isUAV().

Referenced by llvm::dxil::ResourceInfo::print().


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