LLVM 22.0.0git
llvm::dxbc::BitcodeHeader Struct Reference

#include "llvm/BinaryFormat/DXContainer.h"

Public Member Functions

void swapBytes ()

Public Attributes

uint8_t Magic [4]
uint8_t MinorVersion
uint8_t MajorVersion
uint16_t Unused
uint32_t Offset
uint32_t Size

Detailed Description

Definition at line 110 of file DXContainer.h.

Member Function Documentation

◆ swapBytes()

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

Definition at line 119 of file DXContainer.h.

References MajorVersion, MinorVersion, Offset, Size, and llvm::sys::swapByteOrder().

Member Data Documentation

◆ Magic

uint8_t llvm::dxbc::BitcodeHeader::Magic[4]

Definition at line 111 of file DXContainer.h.

◆ MajorVersion

uint8_t llvm::dxbc::BitcodeHeader::MajorVersion

Definition at line 113 of file DXContainer.h.

Referenced by swapBytes().

◆ MinorVersion

uint8_t llvm::dxbc::BitcodeHeader::MinorVersion

Definition at line 112 of file DXContainer.h.

Referenced by swapBytes().

◆ Offset

uint32_t llvm::dxbc::BitcodeHeader::Offset

Definition at line 115 of file DXContainer.h.

Referenced by swapBytes().

◆ Size

uint32_t llvm::dxbc::BitcodeHeader::Size

Definition at line 116 of file DXContainer.h.

Referenced by swapBytes().

◆ Unused

uint16_t llvm::dxbc::BitcodeHeader::Unused

Definition at line 114 of file DXContainer.h.


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