LLVM 23.0.0git
llvm::mcdxbc::SourceInfo::SourceContents Struct Reference

#include "llvm/MC/DXContainerInfo.h"

Inheritance diagram for llvm::mcdxbc::SourceInfo::SourceContents:
[legend]

Classes

struct  Entry

Public Member Functions

void computeUncompressed (dxbc::SourceInfo::Contents::CompressionType Type)
 Compute Parameters based on the content of Args.
void computeFinalSize (uint32_t CompressedSize)
 Update Parameters based on the compressed size of section content.
Public Member Functions inherited from llvm::mcdxbc::SourceInfo::Section
void computeGenericHeader (uint32_t ContentSize, dxbc::SourceInfo::SectionType Type)

Public Attributes

dxbc::SourceInfo::Contents::Header Parameters
SmallVector< EntryEntries
Public Attributes inherited from llvm::mcdxbc::SourceInfo::Section
dxbc::SourceInfo::SectionHeader GenericHeader

Detailed Description

Definition at line 56 of file DXContainerInfo.h.

Member Function Documentation

◆ computeFinalSize()

void SourceInfo::SourceContents::computeFinalSize ( uint32_t CompressedSize)

Update Parameters based on the compressed size of section content.

Definition at line 131 of file DXContainerInfo.cpp.

References align(), llvm::mcdxbc::SourceInfo::Section::computeGenericHeader(), and Parameters.

Referenced by computeUncompressed().

◆ computeUncompressed()

void SourceInfo::SourceContents::computeUncompressed ( dxbc::SourceInfo::Contents::CompressionType Type)

Compute Parameters based on the content of Args.

Sizes are computed assuming CompressionType == None.

Definition at line 117 of file DXContainerInfo.cpp.

References align(), computeFinalSize(), Entries, and Parameters.

Member Data Documentation

◆ Entries

SmallVector<Entry> llvm::mcdxbc::SourceInfo::SourceContents::Entries

Definition at line 66 of file DXContainerInfo.h.

Referenced by computeUncompressed(), and parseUncompressedContentsEntries().

◆ Parameters


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