LLVM  15.0.0git
Namespaces | Classes | Typedefs | Enumerations | Functions
llvm::dxil Namespace Reference

Namespaces

 PointerTypeAnalysis
 An analysis to compute the PointerTypes for pointers in a Module.
 

Classes

class  BitcodeWriter
 
class  DXILBitcodeWriter
 
class  TypedPointerType
 
class  ValueEnumerator
 

Typedefs

using PointerTypeMap = DenseMap< const Value *, Type * >
 

Enumerations

enum  MetadataAbbrev : unsigned { LastPlusOne }
 

Functions

void WriteDXILToFile (const Module &M, raw_ostream &Out)
 Write the specified module to the specified raw output stream. More...
 

Typedef Documentation

◆ PointerTypeMap

Definition at line 25 of file PointerTypeAnalysis.h.

Enumeration Type Documentation

◆ MetadataAbbrev

enum llvm::dxil::MetadataAbbrev : unsigned
Enumerator
LastPlusOne 

Definition at line 57 of file DXILBitcodeWriter.cpp.

Function Documentation

◆ WriteDXILToFile()

void llvm::dxil::WriteDXILToFile ( const Module M,
raw_ostream Out 
)

Write the specified module to the specified raw output stream.

Write the specified module to the specified output stream.

For streams where it matters, the given stream should be in "binary" mode.

Definition at line 376 of file DXILBitcodeWriter.cpp.

References llvm::BWH_HeaderSize, llvm::SmallVectorImpl< T >::insert(), M, llvm::SmallVectorImpl< T >::reserve(), llvm::raw_ostream::write(), llvm::dxil::BitcodeWriter::writeModule(), llvm::dxil::BitcodeWriter::writeStrtab(), and llvm::dxil::BitcodeWriter::writeSymtab().