LLVM 20.0.0git
Macros | Functions
DXILResource.cpp File Reference
#include "llvm/Analysis/DXILResource.h"
#include "llvm/ADT/APInt.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/IR/IntrinsicsDirectX.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "llvm/InitializePasses.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "dxil-resource"
 

Functions

static StringRef getResourceClassName (ResourceClass RC)
 
static StringRef getResourceKindName (ResourceKind RK)
 
static StringRef getElementTypeName (ElementType ET)
 
static StringRef getSamplerTypeName (SamplerType ST)
 
static StringRef getSamplerFeedbackTypeName (SamplerFeedbackType SFT)
 
static dxil::ElementType toDXILElementType (Type *Ty, bool IsSigned)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "dxil-resource"

Definition at line 21 of file DXILResource.cpp.

Function Documentation

◆ getElementTypeName()

static StringRef getElementTypeName ( ElementType  ET)
static

Definition at line 85 of file DXILResource.cpp.

References llvm_unreachable.

Referenced by llvm::dxil::ResourceInfo::print().

◆ getResourceClassName()

static StringRef getResourceClassName ( ResourceClass  RC)
static

Definition at line 26 of file DXILResource.cpp.

References llvm_unreachable.

Referenced by llvm::dxil::ResourceInfo::print().

◆ getResourceKindName()

static StringRef getResourceKindName ( ResourceKind  RK)
static

Definition at line 40 of file DXILResource.cpp.

References llvm_unreachable.

Referenced by llvm::dxil::ResourceInfo::print().

◆ getSamplerFeedbackTypeName()

static StringRef getSamplerFeedbackTypeName ( SamplerFeedbackType  SFT)
static

Definition at line 141 of file DXILResource.cpp.

References llvm_unreachable.

Referenced by llvm::dxil::ResourceInfo::print().

◆ getSamplerTypeName()

static StringRef getSamplerTypeName ( SamplerType  ST)
static

Definition at line 129 of file DXILResource.cpp.

References llvm_unreachable.

Referenced by llvm::dxil::ResourceInfo::print().

◆ toDXILElementType()

static dxil::ElementType toDXILElementType ( Type Ty,
bool  IsSigned 
)
static