LLVM 23.0.0git
DXContainerInfo.cpp File Reference
#include "llvm/MC/DXContainerInfo.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/BinaryFormat/DXContainer.h"
#include "llvm/Config/config.h"
#include "llvm/Support/Compression.h"
#include "llvm/Support/EndianStream.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/SwapByteOrder.h"
#include "llvm/Support/VCSRevision.h"
#include <type_traits>

Go to the source code of this file.

Functions

static uint64_t align (uint64_t Size)
template<typename StructT>
static void writeStruct (raw_ostream &OS, StructT S)
static void writeString (raw_ostream &OS, StringRef S)
static void writePadding (raw_ostream &OS, uint64_t Prev)
template<typename VecT>
static void clearAndReserve (VecT &Vec, size_t N)

Function Documentation

◆ align()

◆ clearAndReserve()

template<typename VecT>
void clearAndReserve ( VecT & Vec,
size_t N )
static

Definition at line 196 of file DXContainerInfo.cpp.

References N.

Referenced by llvm::mcdxbc::SourceInfoBuilder::computeEntries().

◆ writePadding()

◆ writeString()

◆ writeStruct()