#include "llvm/Frontend/HLSL/HLSLResource.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
usingnamespacellvm;
usingnamespacellvm::hlsl;
GlobalVariable *FrontendResource::getGlobalVariable() { … }
ResourceKind FrontendResource::getResourceKind() { … }
ElementType FrontendResource::getElementType() { … }
bool FrontendResource::getIsROV() { … }
uint32_t FrontendResource::getResourceIndex() { … }
uint32_t FrontendResource::getSpace() { … }
FrontendResource::FrontendResource(MDNode *E) : … { … }
FrontendResource::FrontendResource(GlobalVariable *GV, ResourceKind RK,
ElementType ElTy, bool IsROV,
uint32_t ResIndex, uint32_t Space) { … }