LLVM  4.0.0
Public Member Functions | Public Attributes | List of all members
llvm::ProfOStream Class Reference
Collaboration diagram for llvm::ProfOStream:
[legend]

Public Member Functions

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

Public Attributes

bool IsFDOStream
 
raw_ostreamOS
 
support::endian::Writer
< support::little
LE
 

Detailed Description

Definition at line 43 of file InstrProfWriter.cpp.

Constructor & Destructor Documentation

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

Definition at line 46 of file InstrProfWriter.cpp.

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

Definition at line 47 of file InstrProfWriter.cpp.

Member Function Documentation

void llvm::ProfOStream::patch ( PatchItem P,
int  NItems 
)
inline
uint64_t llvm::ProfOStream::tell ( )
inline

Definition at line 50 of file InstrProfWriter.cpp.

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

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

Definition at line 51 of file InstrProfWriter.cpp.

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

Referenced by patch().

Member Data Documentation

bool llvm::ProfOStream::IsFDOStream

Definition at line 81 of file InstrProfWriter.cpp.

Referenced by patch().

support::endian::Writer<support::little> llvm::ProfOStream::LE
raw_ostream& llvm::ProfOStream::OS

Definition at line 82 of file InstrProfWriter.cpp.

Referenced by patch(), and tell().


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