LLVM 20.0.0git
Classes | Public Member Functions | List of all members
llvm::dxil::ResourceTypeInfo Class Reference

#include "llvm/Analysis/DXILResource.h"

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)
 
TargetExtTypegetHandleTy () const
 
StructTypecreateElementStruct ()
 
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
 

Detailed Description

Definition at line 202 of file DXILResource.h.

Constructor & Destructor Documentation

◆ ResourceTypeInfo() [1/2]

ResourceTypeInfo::ResourceTypeInfo ( TargetExtType HandleTy,
const dxil::ResourceClass  RC,
const dxil::ResourceKind  Kind,
bool  GloballyCoherent = false,
bool  HasCounter = false 
)

◆ ResourceTypeInfo() [2/2]

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

Definition at line 268 of file DXILResource.h.

Member Function Documentation

◆ createElementStruct()

StructType * ResourceTypeInfo::createElementStruct ( )

◆ getCBufferSize()

uint32_t ResourceTypeInfo::getCBufferSize ( const DataLayout DL) const

◆ getFeedbackType()

dxil::SamplerFeedbackType ResourceTypeInfo::getFeedbackType ( ) const

◆ getHandleTy()

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

Definition at line 273 of file DXILResource.h.

◆ getMultiSampleCount()

uint32_t ResourceTypeInfo::getMultiSampleCount ( ) const

◆ getResourceClass()

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

Definition at line 294 of file DXILResource.h.

Referenced by prettyPrintResources().

◆ getResourceKind()

dxil::ResourceKind llvm::dxil::ResourceTypeInfo::getResourceKind ( ) const
inline

◆ getSamplerType()

dxil::SamplerType ResourceTypeInfo::getSamplerType ( ) const

◆ getStruct()

ResourceTypeInfo::StructInfo ResourceTypeInfo::getStruct ( const DataLayout DL) const

◆ getTyped()

ResourceTypeInfo::TypedInfo ResourceTypeInfo::getTyped ( ) const

◆ getUAV()

ResourceTypeInfo::UAVInfo ResourceTypeInfo::getUAV ( ) const

◆ 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

◆ isUAV()

bool ResourceTypeInfo::isUAV ( ) const

◆ operator!=()

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

Definition at line 301 of file DXILResource.h.

References RHS.

◆ operator<()

bool ResourceTypeInfo::operator< ( const ResourceTypeInfo RHS) const

◆ operator==()

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

Definition at line 464 of file DXILResource.cpp.

References RHS.

◆ print()

void ResourceTypeInfo::print ( raw_ostream OS,
const DataLayout DL 
) const

◆ setGloballyCoherent()

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

Definition at line 297 of file DXILResource.h.

◆ setHasCounter()

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

Definition at line 298 of file DXILResource.h.


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