LLVM 20.0.0git
|
#include "Target/DirectX/DXILResource.h"
Public Member Functions | |
UAVResource (uint32_t I, hlsl::FrontendResource R) | |
MDNode * | write () const |
void | print (raw_ostream &O) const |
Additional Inherited Members | |
Protected Member Functions inherited from llvm::dxil::ResourceBase | |
ResourceBase (uint32_t I, hlsl::FrontendResource R) | |
void | write (LLVMContext &Ctx, MutableArrayRef< Metadata * > Entries) const |
void | print (raw_ostream &O, StringRef IDPrefix, StringRef BindingPrefix) const |
Static Protected Member Functions inherited from llvm::dxil::ResourceBase | |
static StringRef | getKindName (dxil::ResourceKind Kind) |
static void | printKind (dxil::ResourceKind Kind, unsigned Alignment, raw_ostream &OS, bool SRV=false, bool HasCounter=false, uint32_t SampleCount=0) |
static StringRef | getElementTypeName (dxil::ElementType CompType) |
static void | printElementType (dxil::ResourceKind Kind, dxil::ElementType CompType, unsigned Alignment, raw_ostream &OS) |
Protected Attributes inherited from llvm::dxil::ResourceBase | |
uint32_t | ID |
GlobalVariable * | GV |
StringRef | Name |
uint32_t | Space |
uint32_t | LowerBound |
uint32_t | RangeSize |
Definition at line 71 of file DXILResource.h.
|
inline |
Definition at line 81 of file DXILResource.h.
void UAVResource::print | ( | raw_ostream & | O | ) | const |
Definition at line 234 of file DXILResource.cpp.
References llvm::dxil::ResourceBase::ExtendedProperties::ElementType, llvm::dxil::Invalid, llvm::left_justify(), llvm::dxil::ResourceBase::Name, OS, llvm::dxil::ResourceBase::print(), llvm::dxil::ResourceBase::printElementType(), llvm::dxil::ResourceBase::printKind(), and llvm::right_justify().
MDNode * UAVResource::write | ( | ) | const |
Definition at line 298 of file DXILResource.cpp.
References B, llvm::ConstantAsMetadata::get(), llvm::MDNode::get(), llvm::Value::getContext(), llvm::dxil::ResourceBase::GV, and llvm::dxil::ResourceBase::write().