Movatterモバイル変換


[0]ホーム

URL:


LLVM 20.0.0git
Macros |Functions
DXILResource.cpp File Reference
#include "llvm/Analysis/DXILResource.h"
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/SmallString.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"
#include "llvm/Support/FormatVariadic.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "dxil-resource"
 

Functions

staticStringRef getResourceClassName (ResourceClass RC)
 
staticStringRef getResourceKindName (ResourceKind RK)
 
staticStringRef getElementTypeName (ElementType ET)
 
staticStringRef getSamplerTypeName (SamplerType ST)
 
staticStringRef getSamplerFeedbackTypeName (SamplerFeedbackType SFT)
 
staticdxil::ElementType toDXILElementType (Type *Ty,bool IsSigned)
 
static void formatTypeName (SmallString< 64 > &Dest,StringRefName,bool isWriteable,boolisROV)
 
staticbool isROV (dxil::ResourceKind Kind,TargetExtType *Ty)
 
static std::pair<Type *,boolgetTypedElementType (dxil::ResourceKind Kind,TargetExtType *Ty)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "dxil-resource"

Definition at line23 of fileDXILResource.cpp.

Function Documentation

◆ formatTypeName()

static void formatTypeName(SmallString< 64 > & Dest,
StringRef Name,
bool isWriteable,
bool isROV 
)
static

Definition at line219 of fileDXILResource.cpp.

ReferencesisROV(), andName.

Referenced byllvm::dxil::ResourceTypeInfo::createElementStruct().

◆ getElementTypeName()

staticStringRef getElementTypeName(ElementType ET)
static

Definition at line87 of fileDXILResource.cpp.

Referencesllvm_unreachable.

Referenced byllvm::dxil::ResourceTypeInfo::print().

◆ getResourceClassName()

staticStringRef getResourceClassName(ResourceClass RC)
static

Definition at line28 of fileDXILResource.cpp.

Referencesllvm_unreachable.

Referenced byllvm::dxil::ResourceTypeInfo::print().

◆ getResourceKindName()

staticStringRef getResourceKindName(ResourceKind RK)
static

Definition at line42 of fileDXILResource.cpp.

Referencesllvm_unreachable.

Referenced byllvm::dxil::ResourceTypeInfo::createElementStruct(), andllvm::dxil::ResourceTypeInfo::print().

◆ getSamplerFeedbackTypeName()

staticStringRef getSamplerFeedbackTypeName(SamplerFeedbackType SFT)
static

Definition at line143 of fileDXILResource.cpp.

Referencesllvm_unreachable.

Referenced byllvm::dxil::ResourceTypeInfo::print().

◆ getSamplerTypeName()

staticStringRef getSamplerTypeName(SamplerType ST)
static

Definition at line131 of fileDXILResource.cpp.

Referencesllvm_unreachable.

Referenced byllvm::dxil::ResourceTypeInfo::print().

◆ getTypedElementType()

static std::pair<Type *,bool > getTypedElementType(dxil::ResourceKind Kind,
TargetExtTypeTy 
)
static

Definition at line407 of fileDXILResource.cpp.

Referencesllvm::dxil::CBuffer,llvm::dxil::FeedbackTexture2D,llvm::dxil::FeedbackTexture2DArray,llvm::dxil::Invalid,llvm_unreachable,llvm::dxil::NumEntries,llvm::dxil::RawBuffer,llvm::dxil::RTAccelerationStructure,llvm::dxil::Sampler,llvm::dxil::StructuredBuffer,llvm::dxil::TBuffer,llvm::dxil::Texture1D,llvm::dxil::Texture1DArray,llvm::dxil::Texture2D,llvm::dxil::Texture2DArray,llvm::dxil::Texture2DMS,llvm::dxil::Texture2DMSArray,llvm::dxil::Texture3D,llvm::dxil::TextureCube,llvm::dxil::TextureCubeArray, andllvm::dxil::TypedBuffer.

Referenced byllvm::dxil::ResourceTypeInfo::getTyped().

◆ isROV()

staticbool isROV(dxil::ResourceKind Kind,
TargetExtTypeTy 
)
static

Definition at line347 of fileDXILResource.cpp.

Referencesllvm::dxil::CBuffer,llvm::dxil::FeedbackTexture2D,llvm::dxil::FeedbackTexture2DArray,llvm::dxil::Invalid,llvm_unreachable,llvm::dxil::NumEntries,llvm::dxil::RawBuffer,llvm::dxil::RTAccelerationStructure,llvm::dxil::Sampler,llvm::dxil::StructuredBuffer,llvm::dxil::TBuffer,llvm::dxil::Texture1D,llvm::dxil::Texture1DArray,llvm::dxil::Texture2D,llvm::dxil::Texture2DArray,llvm::dxil::Texture2DMS,llvm::dxil::Texture2DMSArray,llvm::dxil::Texture3D,llvm::dxil::TextureCube,llvm::dxil::TextureCubeArray, andllvm::dxil::TypedBuffer.

Referenced byformatTypeName(), andllvm::dxil::ResourceTypeInfo::getUAV().

◆ toDXILElementType()

staticdxil::ElementType toDXILElementType(TypeTy,
bool IsSigned 
)
static

Definition at line153 of fileDXILResource.cpp.

Referencesllvm::Type::getIntegerBitWidth(),llvm::Type::getScalarType(),llvm::Type::isDoubleTy(),llvm::Type::isFloatTy(),llvm::Type::isHalfTy(), andllvm::Type::isIntegerTy().

Referenced byllvm::dxil::ResourceTypeInfo::getTyped().


Generated on Sun Jul 20 2025 15:03:22 for LLVM by doxygen 1.9.6
[8]ページ先頭

©2009-2025 Movatter.jp