LLVM 23.0.0git
llvm::dxbc::CompilerVersionHeader Struct Reference

#include "llvm/BinaryFormat/DXContainer.h"

Public Member Functions

void swapBytes ()

Public Attributes

uint16_t Major
uint16_t Minor
CompilerVersionFlags Flags
uint32_t CommitCount
 The number outputted by git rev-list --count HEAD in the compiler repo.
uint32_t ContentSizeInBytes
 Byte size of CommitSha and CustomVersionString, padding not included.

Detailed Description

Definition at line 834 of file DXContainer.h.

Member Function Documentation

◆ swapBytes()

void llvm::dxbc::CompilerVersionHeader::swapBytes ( )
inline

Definition at line 843 of file DXContainer.h.

References CommitCount, ContentSizeInBytes, Flags, Major, Minor, and llvm::sys::swapByteOrder().

Member Data Documentation

◆ CommitCount

uint32_t llvm::dxbc::CompilerVersionHeader::CommitCount

The number outputted by git rev-list --count HEAD in the compiler repo.

Definition at line 839 of file DXContainer.h.

Referenced by swapBytes().

◆ ContentSizeInBytes

uint32_t llvm::dxbc::CompilerVersionHeader::ContentSizeInBytes

Byte size of CommitSha and CustomVersionString, padding not included.

Definition at line 841 of file DXContainer.h.

Referenced by swapBytes().

◆ Flags

CompilerVersionFlags llvm::dxbc::CompilerVersionHeader::Flags

Definition at line 837 of file DXContainer.h.

Referenced by swapBytes().

◆ Major

uint16_t llvm::dxbc::CompilerVersionHeader::Major

Definition at line 835 of file DXContainer.h.

Referenced by swapBytes().

◆ Minor

uint16_t llvm::dxbc::CompilerVersionHeader::Minor

Definition at line 836 of file DXContainer.h.

Referenced by swapBytes().


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