LLVM  15.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::ProfOStream Class Reference
Collaboration diagram for llvm::ProfOStream:
Collaboration graph

Public Member Functions

 ProfOStream (raw_fd_ostream &FD)
 ProfOStream (raw_string_ostream &STR)
uint64_t tell ()
void write (uint64_t V)
void patch (PatchItem *P, int NItems)

Public Attributes

bool IsFDOStream
support::endian::Writer LE

Detailed Description

Definition at line 48 of file InstrProfWriter.cpp.

Constructor & Destructor Documentation

◆ ProfOStream() [1/2]

llvm::ProfOStream::ProfOStream ( raw_fd_ostream FD)

Definition at line 50 of file InstrProfWriter.cpp.

◆ ProfOStream() [2/2]

llvm::ProfOStream::ProfOStream ( raw_string_ostream STR)

Definition at line 52 of file InstrProfWriter.cpp.

Member Function Documentation

◆ patch()

void llvm::ProfOStream::patch ( PatchItem P,
int  NItems 

◆ tell()

uint64_t llvm::ProfOStream::tell ( )

Definition at line 55 of file InstrProfWriter.cpp.

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

◆ write()

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

Definition at line 56 of file InstrProfWriter.cpp.

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

Referenced by patch().

Member Data Documentation

◆ IsFDOStream

bool llvm::ProfOStream::IsFDOStream

Definition at line 91 of file InstrProfWriter.cpp.

Referenced by patch().

◆ LE

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

◆ OS

raw_ostream& llvm::ProfOStream::OS

Definition at line 92 of file InstrProfWriter.cpp.

Referenced by patch(), and tell().

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