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

Use this type to describe the size and type of a DXIL container part. More...

#include "llvm/BinaryFormat/DXContainer.h"

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

Public Member Functions

void swapBytes ()
 
StringRef getName () const
 

Public Attributes

uint8_t Name [4]
 
uint32_t Size
 

Detailed Description

Use this type to describe the size and type of a DXIL container part.

Definition at line 83 of file DXContainer.h.

Member Function Documentation

◆ getName()

StringRef llvm::dxbc::PartHeader::getName ( ) const
inline

Definition at line 88 of file DXContainer.h.

References Name.

◆ swapBytes()

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

Definition at line 87 of file DXContainer.h.

References Size, and llvm::sys::swapByteOrder().

Member Data Documentation

◆ Name

uint8_t llvm::dxbc::PartHeader::Name[4]

Definition at line 84 of file DXContainer.h.

Referenced by getName().

◆ Size

uint32_t llvm::dxbc::PartHeader::Size

Definition at line 85 of file DXContainer.h.

Referenced by swapBytes().


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