LLVM 19.0.0git
|
#include "llvm/Transforms/Utils/DXILResource.h"
Public Member Functions | |
bool | operator== (const ResourceInfo &RHS) const |
MDTuple * | getAsMetadata (LLVMContext &Ctx) const |
ResourceBinding | getBinding () const |
std::pair< uint32_t, uint32_t > | getAnnotateProps () const |
Definition at line 31 of file DXILResource.h.
|
static |
Definition at line 221 of file DXILResource.cpp.
References llvm::dxil::CBuffer, CBufferSize, and Size.
|
static |
Definition at line 195 of file DXILResource.cpp.
References Feedback, llvm::dxil::FeedbackTexture2D, llvm::dxil::UAV, and UAVFlags.
|
static |
Definition at line 209 of file DXILResource.cpp.
References Feedback, llvm::dxil::FeedbackTexture2DArray, llvm::dxil::UAV, and UAVFlags.
Definition at line 327 of file DXILResource.cpp.
References CBufferSize, llvm::dxil::Comparison, Feedback, if(), llvm::Log2(), SamplerTy, Struct, llvm::to_underlying(), Typed, and UAVFlags.
MDTuple * ResourceInfo::getAsMetadata | ( | LLVMContext & | Ctx | ) | const |
Definition at line 265 of file DXILResource.cpp.
References CBufferSize, llvm::dxil::ElementType, llvm::SmallVectorBase< Size_T >::empty(), Feedback, llvm::ConstantAsMetadata::get(), llvm::MDNode::get(), llvm::MDString::get(), llvm::ValueAsMetadata::get(), llvm::Type::getInt1Ty(), llvm::Type::getInt32Ty(), llvm::Constant::getIntegerValue(), llvm::dxil::ResourceBinding::LowerBound, llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::dxil::SamplerFeedbackKind, SamplerTy, llvm::dxil::ResourceBinding::Size, llvm::dxil::ResourceBinding::Space, Struct, llvm::dxil::StructuredBufferStride, llvm::to_underlying(), Typed, and UAVFlags.
|
inline |
Definition at line 184 of file DXILResource.h.
bool ResourceInfo::operator== | ( | const ResourceInfo & | RHS | ) | const |
Definition at line 239 of file DXILResource.cpp.
References assert(), CBufferSize, Feedback, llvm::dxil::RawBuffer, RHS, SamplerTy, Struct, Typed, and UAVFlags.
|
static |
Definition at line 76 of file DXILResource.cpp.
References llvm::dxil::RawBuffer, and llvm::dxil::SRV.
|
static |
Definition at line 135 of file DXILResource.cpp.
References llvm::dxil::RawBuffer, llvm::dxil::UAV, and UAVFlags.
|
static |
Definition at line 147 of file DXILResource.cpp.
References Struct, llvm::dxil::StructuredBuffer, llvm::dxil::UAV, and UAVFlags.
|
static |
Definition at line 164 of file DXILResource.cpp.
References llvm::dxil::Texture2DMS, Typed, llvm::dxil::UAV, and UAVFlags.
|
static |
Definition at line 180 of file DXILResource.cpp.
References llvm::dxil::Texture2DMSArray, Typed, llvm::dxil::UAV, and UAVFlags.
|
static |
Definition at line 230 of file DXILResource.cpp.
References llvm::dxil::Sampler, and SamplerTy.
|
static |
Definition at line 64 of file DXILResource.cpp.
References assert(), llvm::dxil::SRV, and Typed.
|
static |
Definition at line 84 of file DXILResource.cpp.
References llvm::dxil::SRV, Struct, and llvm::dxil::StructuredBuffer.
|
static |
Definition at line 95 of file DXILResource.cpp.
References llvm::dxil::SRV, llvm::dxil::Texture2DMS, and Typed.
|
static |
Definition at line 108 of file DXILResource.cpp.
References llvm::dxil::SRV, llvm::dxil::Texture2DMSArray, and Typed.
|
static |
Definition at line 119 of file DXILResource.cpp.
References assert(), Typed, llvm::dxil::UAV, and UAVFlags.
uint32_t llvm::dxil::ResourceInfo::CBufferSize |
Definition at line 93 of file DXILResource.h.
Referenced by CBuffer(), getAnnotateProps(), getAsMetadata(), and operator==().
FeedbackInfo llvm::dxil::ResourceInfo::Feedback |
Definition at line 101 of file DXILResource.h.
Referenced by FeedbackTexture2D(), FeedbackTexture2DArray(), getAnnotateProps(), getAsMetadata(), and operator==().
dxil::SamplerType llvm::dxil::ResourceInfo::SamplerTy |
Definition at line 94 of file DXILResource.h.
Referenced by getAnnotateProps(), getAsMetadata(), operator==(), and Sampler().
StructInfo llvm::dxil::ResourceInfo::Struct |
Definition at line 99 of file DXILResource.h.
Referenced by getAnnotateProps(), getAsMetadata(), operator==(), RWStructuredBuffer(), and StructuredBuffer().
TypedInfo llvm::dxil::ResourceInfo::Typed |
Definition at line 100 of file DXILResource.h.
Referenced by getAnnotateProps(), getAsMetadata(), operator==(), RWTexture2DMS(), RWTexture2DMSArray(), SRV(), Texture2DMS(), Texture2DMSArray(), and UAV().
UAVInfo llvm::dxil::ResourceInfo::UAVFlags |
Definition at line 92 of file DXILResource.h.
Referenced by FeedbackTexture2D(), FeedbackTexture2DArray(), getAnnotateProps(), getAsMetadata(), operator==(), RWRawBuffer(), RWStructuredBuffer(), RWTexture2DMS(), RWTexture2DMSArray(), and UAV().