llvm::hlsl

HLSL frontend utilities for resources, bindings, and related IR helpers.

Namespaces

NameDescription
rootsig In-memory representations of HLSL root signature elements and helpers.

Types

NameDescription
Binding A single resource binding with its resource class, space, and range.
BindingInfo Ranges of bindings and free space for each dxil::ResourceClass.
BindingInfoBuilder Builder class for creating a BindingInfo.
BoundRegs Sorted collection of resource bindings for lookup by range.
CBufferMapping Mapping from an HLSL cbuffer handle to its constituent members.
CBufferMember A global variable member of an HLSL constant buffer and its byte offset.
CBufferMetadata Parsed view of the hlsl.cbs named metadata on a module.
SemanticSignatureElement Models a single packed range of signature rows with its semantic name and indices, register placement, component masks, and stage-specific attributes.

Functions

NameDescription
getDXILElementType Converts a scalar or vector LLVM type to its DXIL element type.
getSemanticKind Map a semantic name string to its corresponding PSV::SemanticKind.

Variables

NameDescription
CBufferRowSizeInBytes Size in bytes of one constant-buffer row in HLSL packing layout.

Using Declarations

NameDescription
ResourceClass HLSL frontend alias for dxil::ResourceClass.
ResourceDimension HLSL frontend alias for dxil::ResourceDimension.