LLVM  15.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::dxbc::BitcodeHeader Struct Reference

#include "llvm/BinaryFormat/DXContainer.h"

Collaboration diagram for llvm::dxbc::BitcodeHeader:
Collaboration graph
[legend]

Public Member Functions

void swapBytes ()
 

Public Attributes

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

Detailed Description

Definition at line 94 of file DXContainer.h.

Member Function Documentation

◆ swapBytes()

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

Member Data Documentation

◆ Magic

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

Definition at line 95 of file DXContainer.h.

◆ MajorVersion

uint8_t llvm::dxbc::BitcodeHeader::MajorVersion

Definition at line 96 of file DXContainer.h.

Referenced by swapBytes().

◆ MinorVersion

uint8_t llvm::dxbc::BitcodeHeader::MinorVersion

Definition at line 97 of file DXContainer.h.

Referenced by swapBytes().

◆ Offset

uint32_t llvm::dxbc::BitcodeHeader::Offset

Definition at line 99 of file DXContainer.h.

Referenced by swapBytes().

◆ Size

uint32_t llvm::dxbc::BitcodeHeader::Size

Definition at line 100 of file DXContainer.h.

Referenced by swapBytes().

◆ Unused

uint16_t llvm::dxbc::BitcodeHeader::Unused

Definition at line 98 of file DXContainer.h.


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