LLVM 18.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"

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 93 of file DXContainer.h.

Member Function Documentation

◆ getName()

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

Definition at line 98 of file DXContainer.h.

References Name.

◆ swapBytes()

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

Definition at line 97 of file DXContainer.h.

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

Member Data Documentation

◆ Name

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

Definition at line 94 of file DXContainer.h.

Referenced by getName().

◆ Size

uint32_t llvm::dxbc::PartHeader::Size

Definition at line 95 of file DXContainer.h.

Referenced by swapBytes().


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