LLVM 24.0.0git
llvm::hlsl Namespace Reference

Namespaces

namespace  rootsig

Classes

struct  Binding
class  BindingInfo
 BindingInfo represents the ranges of bindings and free space for each dxil::ResourceClass. More...
class  BindingInfoBuilder
 Builder class for creating a /c BindingInfo. More...
class  BoundRegs
struct  CBufferMapping
struct  CBufferMember
struct  SemanticSignatureElement

Enumerations

enum class  ResourceClass
enum class  ResourceDimension

Functions

LLVM_ABI dxil::ElementType getDXILElementType (Type *Ty, bool IsSigned)
 Converts a scalar or vector LLVM type to its DXIL element type.
LLVM_ABI dxbc::PSV::SemanticKind getSemanticKind (StringRef SemanticName)

Variables

const unsigned CBufferRowSizeInBytes = 16U
static constexpr uint32_t UnallocatedRow = ~0U
static constexpr uint8_t UnallocatedCol = 0xFF

Enumeration Type Documentation

◆ ResourceClass

enum class llvm::dxil::ResourceClass : uint8_t
strong

Definition at line 26 of file DXILABI.h.

◆ ResourceDimension

Definition at line 34 of file DXILABI.h.

Function Documentation

◆ getDXILElementType()

dxil::ElementType llvm::hlsl::getDXILElementType ( Type * Ty,
bool IsSigned )

Converts a scalar or vector LLVM type to its DXIL element type.

Integer signedness must be supplied separately because LLVM integer types are signless.

Definition at line 19 of file HLSLResource.cpp.

References llvm::dxil::F16, llvm::dxil::F32, llvm::dxil::F64, llvm::dxil::I16, llvm::dxil::I32, llvm::dxil::I64, llvm::dxil::Invalid, llvm::dxil::U16, llvm::dxil::U32, and llvm::dxil::U64.

Referenced by formatTypeName(), and llvm::dxil::ResourceTypeInfo::getTyped().

◆ getSemanticKind()

Variable Documentation

◆ CBufferRowSizeInBytes

const unsigned llvm::hlsl::CBufferRowSizeInBytes = 16U

Definition at line 27 of file HLSLResource.h.

Referenced by createCBufferLoad().

◆ UnallocatedCol

uint8_t llvm::hlsl::UnallocatedCol = 0xFF
staticconstexpr

◆ UnallocatedRow

uint32_t llvm::hlsl::UnallocatedRow = ~0U
staticconstexpr