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

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

Public Member Functions
ResourceInfo (uint32_t RecordID, uint32_t Space, uint32_t LowerBound, uint32_t Size, TargetExtType *HandleTy, StringRef Name="", GlobalVariable *Symbol=nullptr)
void setBindingID (unsigned ID)
bool hasCounter () const
const ResourceBinding & getBinding () const
TargetExtType * getHandleTy () const
StringRef getName () const
bool hasSymbol () const
LLVM_ABI GlobalVariable * createSymbol (Module &M, StructType *Ty)
LLVM_ABI MDTuple * getAsMetadata (Module &M, dxil::ResourceTypeInfo &RTI) const
LLVM_ABI std::pair< uint32_t, uint32_t > getAnnotateProps (Module &M, dxil::ResourceTypeInfo &RTI) const
bool operator== (const ResourceInfo &RHS) const
bool operator!= (const ResourceInfo &RHS) const
bool operator< (const ResourceInfo &RHS) const
LLVM_ABI void print (raw_ostream &OS, dxil::ResourceTypeInfo &RTI, const DataLayout &DL) const

Definition at line 363 of file DXILResource.h.

createSymbol()

getAnnotateProps()

Definition at line 742 of file DXILResource.cpp.

References llvm::dxil::ResourceTypeInfo::StructInfo::AlignLog2, llvm::dxil::Comparison, DL, llvm::dxil::ResourceTypeInfo::TypedInfo::ElementCount, llvm::dxil::ResourceTypeInfo::TypedInfo::ElementTy, llvm::dxil::ResourceTypeInfo::getCBufferSize(), llvm::dxil::ResourceTypeInfo::getFeedbackType(), llvm::dxil::ResourceTypeInfo::getMultiSampleCount(), llvm::dxil::ResourceTypeInfo::getResourceKind(), llvm::dxil::ResourceTypeInfo::getSamplerType(), llvm::dxil::ResourceTypeInfo::getStruct(), llvm::dxil::ResourceTypeInfo::getTyped(), llvm::dxil::ResourceTypeInfo::getUAV(), GloballyCoherent, hasCounter(), llvm::dxil::ResourceTypeInfo::isCBuffer(), llvm::dxil::ResourceTypeInfo::isFeedback(), llvm::dxil::ResourceTypeInfo::isMultiSample(), llvm::dxil::ResourceTypeInfo::UAVInfo::IsROV, llvm::dxil::ResourceTypeInfo::isSampler(), llvm::dxil::ResourceTypeInfo::isStruct(), llvm::dxil::ResourceTypeInfo::isTyped(), llvm::dxil::ResourceTypeInfo::isUAV(), llvm::dxil::ResourceTypeInfo::StructInfo::Stride, and llvm::to_underlying().

getAsMetadata()

Definition at line 671 of file DXILResource.cpp.

References assert(), DL, llvm::dxil::ResourceTypeInfo::TypedInfo::DXILStorageTy, llvm::dxil::ElementType, llvm::SmallVectorTemplateCommon< T, typename >::empty(), llvm::ConstantAsMetadata::get(), llvm::MDNode::get(), llvm::MDString::get(), llvm::ValueAsMetadata::get(), llvm::dxil::ResourceTypeInfo::getCBufferSize(), llvm::dxil::ResourceTypeInfo::getFeedbackType(), llvm::Type::getInt1Ty(), llvm::Type::getInt32Ty(), llvm::Constant::getIntegerValue(), llvm::dxil::ResourceTypeInfo::getMultiSampleCount(), llvm::dxil::ResourceTypeInfo::getResourceKind(), llvm::dxil::ResourceTypeInfo::getSamplerType(), llvm::dxil::ResourceTypeInfo::getStruct(), llvm::dxil::ResourceTypeInfo::getTyped(), llvm::dxil::ResourceTypeInfo::getUAV(), GloballyCoherent, hasCounter(), llvm::dxil::ResourceTypeInfo::isCBuffer(), llvm::dxil::ResourceTypeInfo::isFeedback(), llvm::dxil::ResourceTypeInfo::isMultiSample(), llvm::dxil::ResourceTypeInfo::UAVInfo::IsROV, llvm::dxil::ResourceTypeInfo::isSampler(), llvm::dxil::ResourceTypeInfo::isStruct(), llvm::dxil::ResourceTypeInfo::isTyped(), llvm::dxil::ResourceTypeInfo::isUAV(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::dxil::SamplerFeedbackKind, llvm::dxil::ResourceTypeInfo::StructInfo::Stride, llvm::dxil::StructuredBufferStride, and llvm::to_underlying().

getBinding()

getHandleTy()

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

getName()

StringRef llvm::dxil::ResourceInfo::getName ( ) const inline

hasCounter()

bool llvm::dxil::ResourceInfo::hasCounter ( ) const inline

hasSymbol()

bool llvm::dxil::ResourceInfo::hasSymbol ( ) const inline

operator!=()

operator<()

operator==()

print()

setBindingID()

void llvm::dxil::ResourceInfo::setBindingID ( unsigned ID) inline

CounterDirection

GloballyCoherent

bool llvm::dxil::ResourceInfo::GloballyCoherent = false


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