LLVM 23.0.0git
llvm::dxbc::SourceInfo::Names::Entry Struct Reference

#include "llvm/BinaryFormat/DXContainer.h"

Public Member Functions

void swapBytes ()
 Followed by a string of size NameSizeInBytes with HLSL source file name.

Public Attributes

uint32_t AlignedSizeInBytes
 Size of entry, including this header. Aligned to a 4-byte boundary.
uint32_t Flags
 Reserved, must be set to zero.
uint32_t NameSizeInBytes
 Size of the file name following this header, including the null terminator, excluding entry padding.
uint32_t ContentSizeInBytes
 Size of the file content, including the null terminator.

Detailed Description

Definition at line 919 of file DXContainer.h.

Member Function Documentation

◆ swapBytes()

void llvm::dxbc::SourceInfo::Names::Entry::swapBytes ( )
inline

Followed by a string of size NameSizeInBytes with HLSL source file name.

Definition at line 931 of file DXContainer.h.

References AlignedSizeInBytes, ContentSizeInBytes, Flags, NameSizeInBytes, and llvm::sys::swapByteOrder().

Member Data Documentation

◆ AlignedSizeInBytes

uint32_t llvm::dxbc::SourceInfo::Names::Entry::AlignedSizeInBytes

Size of entry, including this header. Aligned to a 4-byte boundary.

Definition at line 921 of file DXContainer.h.

Referenced by swapBytes().

◆ ContentSizeInBytes

uint32_t llvm::dxbc::SourceInfo::Names::Entry::ContentSizeInBytes

Size of the file content, including the null terminator.

Definition at line 928 of file DXContainer.h.

Referenced by swapBytes().

◆ Flags

uint32_t llvm::dxbc::SourceInfo::Names::Entry::Flags

Reserved, must be set to zero.

Definition at line 923 of file DXContainer.h.

Referenced by swapBytes().

◆ NameSizeInBytes

uint32_t llvm::dxbc::SourceInfo::Names::Entry::NameSizeInBytes

Size of the file name following this header, including the null terminator, excluding entry padding.

Definition at line 926 of file DXContainer.h.

Referenced by swapBytes().


The documentation for this struct was generated from the following file: