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

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

Classes
struct StructInfo
struct TypedInfo
struct UAVInfo
Public Member Functions
ResourceTypeInfo (TargetExtType *HandleTy, const dxil::ResourceClass RC, const dxil::ResourceKind Kind, bool GloballyCoherent=false, bool HasCounter=false)
ResourceTypeInfo (TargetExtType *HandleTy, bool GloballyCoherent=false, bool HasCounter=false)
TargetExtType * getHandleTy () const
StructType * createElementStruct ()
bool isUAV () const
bool isCBuffer () const
bool isSampler () const
bool isStruct () const
bool isTyped () const
bool isFeedback () const
bool isMultiSample () const
UAVInfo getUAV () const
uint32_t getCBufferSize (const DataLayout &DL) const
dxil::SamplerType getSamplerType () const
StructInfo getStruct (const DataLayout &DL) const
TypedInfo getTyped () const
dxil::SamplerFeedbackType getFeedbackType () const
uint32_t getMultiSampleCount () const
dxil::ResourceClass getResourceClass () const
dxil::ResourceKind getResourceKind () const
void setGloballyCoherent (bool V)
void setHasCounter (bool V)
bool operator== (const ResourceTypeInfo &RHS) const
bool operator!= (const ResourceTypeInfo &RHS) const
bool operator< (const ResourceTypeInfo &RHS) const
void print (raw_ostream &OS, const DataLayout &DL) const

Definition at line 202 of file DXILResource.h.

ResourceTypeInfo() [2/2]

llvm::dxil::ResourceTypeInfo::ResourceTypeInfo ( TargetExtType * HandleTy, bool GloballyCoherent = false, bool HasCounter = false ) inline

createElementStruct()

StructType * ResourceTypeInfo::createElementStruct ( )

Definition at line 225 of file DXILResource.cpp.

References llvm::dxil::CBuffer, llvm::StructType::create(), llvm::dxil::FeedbackTexture2D, llvm::dxil::FeedbackTexture2DArray, formatTypeName(), llvm::formatv(), llvm::Type::getContext(), llvm::Type::getInt32Ty(), getResourceKindName(), 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()

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 308 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 llvm::dxil::ResourceBindingInfo::getAnnotateProps(), llvm::dxil::ResourceBindingInfo::getAsMetadata(), getFormatName(), getTyped(), operator<(), and print().

isUAV()

bool ResourceTypeInfo::isUAV ( ) const

operator!=()

operator<()

Definition at line 469 of file DXILResource.cpp.

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

operator==()

print()

Definition at line 495 of file DXILResource.cpp.

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

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

setGloballyCoherent()

void llvm::dxil::ResourceTypeInfo::setGloballyCoherent ( bool V) inline

setHasCounter()

void llvm::dxil::ResourceTypeInfo::setHasCounter ( bool V) inline

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