LLVM 20.0.0git
|
#include "llvm/Frontend/HLSL/HLSLResource.h"
Public Member Functions | |
FrontendResource (MDNode *E) | |
FrontendResource (GlobalVariable *GV, ResourceKind RK, ElementType ElTy, bool IsROV, uint32_t ResIndex, uint32_t Space) | |
GlobalVariable * | getGlobalVariable () |
StringRef | getSourceType () |
ResourceKind | getResourceKind () |
ElementType | getElementType () |
bool | getIsROV () |
uint32_t | getResourceIndex () |
uint32_t | getSpace () |
MDNode * | getMetadata () |
Definition at line 30 of file HLSLResource.h.
FrontendResource::FrontendResource | ( | MDNode * | E | ) |
Definition at line 54 of file HLSLResource.cpp.
References assert(), and llvm::MDNode::getNumOperands().
FrontendResource::FrontendResource | ( | GlobalVariable * | GV, |
ResourceKind | RK, | ||
ElementType | ElTy, | ||
bool | IsROV, | ||
uint32_t | ResIndex, | ||
uint32_t | Space | ||
) |
Definition at line 58 of file HLSLResource.cpp.
References B, llvm::ConstantAsMetadata::get(), llvm::MDNode::get(), llvm::ValueAsMetadata::get(), and llvm::Value::getContext().
ElementType FrontendResource::getElementType | ( | ) |
Definition at line 32 of file HLSLResource.cpp.
References llvm::MDNode::getOperand().
GlobalVariable * FrontendResource::getGlobalVariable | ( | ) |
Definition at line 21 of file HLSLResource.cpp.
References llvm::MDNode::getOperand().
bool FrontendResource::getIsROV | ( | ) |
Definition at line 38 of file HLSLResource.cpp.
References llvm::MDNode::getOperand().
|
inline |
Definition at line 45 of file HLSLResource.h.
uint32_t FrontendResource::getResourceIndex | ( | ) |
Definition at line 43 of file HLSLResource.cpp.
References llvm::MDNode::getOperand().
ResourceKind FrontendResource::getResourceKind | ( | ) |
Definition at line 26 of file HLSLResource.cpp.
References llvm::MDNode::getOperand().
StringRef llvm::hlsl::FrontendResource::getSourceType | ( | ) |
uint32_t FrontendResource::getSpace | ( | ) |
Definition at line 48 of file HLSLResource.cpp.
References llvm::MDNode::getOperand().