LLVM 20.0.0git
Public Member Functions | List of all members
llvm::dxil::BitcodeWriter Class Reference

#include "Target/DirectX/DXILWriter/DXILBitcodeWriter.h"

Public Member Functions

 BitcodeWriter (SmallVectorImpl< char > &Buffer)
 Create a BitcodeWriter that writes to Buffer.
 
 ~BitcodeWriter ()
 
void writeModule (const Module &M)
 Write the specified module to the buffer specified at construction time.
 

Detailed Description

Definition at line 34 of file DXILBitcodeWriter.h.

Constructor & Destructor Documentation

◆ BitcodeWriter()

dxil::BitcodeWriter::BitcodeWriter ( SmallVectorImpl< char > &  Buffer)

Create a BitcodeWriter that writes to Buffer.

Begin dxil::BitcodeWriter Implementation.

Definition at line 372 of file DXILBitcodeWriter.cpp.

References llvm::BitstreamWriter::Emit().

◆ ~BitcodeWriter()

dxil::BitcodeWriter::~BitcodeWriter ( )

Definition at line 383 of file DXILBitcodeWriter.cpp.

Member Function Documentation

◆ writeModule()

void BitcodeWriter::writeModule ( const Module M)

Write the specified module to the buffer specified at construction time.

Definition at line 417 of file DXILBitcodeWriter.cpp.

References assert(), and llvm::dxil::DXILBitcodeWriter::write().

Referenced by llvm::dxil::WriteDXILToFile().


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