LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::ProfOStream Class Reference

Public Member Functions

 ProfOStream (raw_fd_ostream &FD)
 
 ProfOStream (raw_string_ostream &STR)
 
uint64_t tell () const
 
void write (uint64_t V)
 
void write32 (uint32_t V)
 
void writeByte (uint8_t V)
 
void patch (ArrayRef< PatchItem > P)
 

Public Attributes

bool IsFDOStream
 
raw_ostreamOS
 
support::endian::Writer LE
 

Detailed Description

Definition at line 50 of file InstrProfWriter.cpp.

Constructor & Destructor Documentation

◆ ProfOStream() [1/2]

llvm::ProfOStream::ProfOStream ( raw_fd_ostream FD)
inline

Definition at line 52 of file InstrProfWriter.cpp.

◆ ProfOStream() [2/2]

llvm::ProfOStream::ProfOStream ( raw_string_ostream STR)
inline

Definition at line 54 of file InstrProfWriter.cpp.

Member Function Documentation

◆ patch()

void llvm::ProfOStream::patch ( ArrayRef< PatchItem P)
inline

◆ tell()

uint64_t llvm::ProfOStream::tell ( ) const
inline

Definition at line 57 of file InstrProfWriter.cpp.

References OS, and llvm::raw_ostream::tell().

◆ write()

void llvm::ProfOStream::write ( uint64_t  V)
inline

Definition at line 58 of file InstrProfWriter.cpp.

References LE, and llvm::support::endian::Writer::write().

Referenced by patch().

◆ write32()

void llvm::ProfOStream::write32 ( uint32_t  V)
inline

Definition at line 59 of file InstrProfWriter.cpp.

References LE, and llvm::support::endian::Writer::write().

◆ writeByte()

void llvm::ProfOStream::writeByte ( uint8_t  V)
inline

Definition at line 60 of file InstrProfWriter.cpp.

References LE, and llvm::support::endian::Writer::write().

Member Data Documentation

◆ IsFDOStream

bool llvm::ProfOStream::IsFDOStream

Definition at line 96 of file InstrProfWriter.cpp.

Referenced by patch().

◆ LE

support::endian::Writer llvm::ProfOStream::LE

Definition at line 98 of file InstrProfWriter.cpp.

Referenced by write(), write32(), and writeByte().

◆ OS

raw_ostream& llvm::ProfOStream::OS

Definition at line 97 of file InstrProfWriter.cpp.

Referenced by patch(), and tell().


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