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 53 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 57 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 31 of file HLSLResource.cpp.
References llvm::MDNode::getOperand().
GlobalVariable * FrontendResource::getGlobalVariable | ( | ) |
Definition at line 20 of file HLSLResource.cpp.
References llvm::MDNode::getOperand().
bool FrontendResource::getIsROV | ( | ) |
Definition at line 37 of file HLSLResource.cpp.
References llvm::MDNode::getOperand().
|
inline |
Definition at line 45 of file HLSLResource.h.
uint32_t FrontendResource::getResourceIndex | ( | ) |
Definition at line 42 of file HLSLResource.cpp.
References llvm::MDNode::getOperand().
ResourceKind FrontendResource::getResourceKind | ( | ) |
Definition at line 25 of file HLSLResource.cpp.
References llvm::MDNode::getOperand().
StringRef llvm::hlsl::FrontendResource::getSourceType | ( | ) |
uint32_t FrontendResource::getSpace | ( | ) |
Definition at line 47 of file HLSLResource.cpp.
References llvm::MDNode::getOperand().