LLVM 22.0.0git
|
#include "llvm/ProfileData/InstrProf.h"
Public Member Functions | |
LLVM_ABI | ProfOStream (raw_fd_ostream &FD) |
LLVM_ABI | ProfOStream (raw_string_ostream &STR) |
LLVM_ABI uint64_t | tell () const |
LLVM_ABI void | write (uint64_t V) |
LLVM_ABI void | write32 (uint32_t V) |
LLVM_ABI void | writeByte (uint8_t V) |
LLVM_ABI void | patch (ArrayRef< PatchItem > P) |
Public Attributes | |
bool | IsFDOStream |
raw_ostream & | OS |
support::endian::Writer | LE |
Definition at line 70 of file InstrProf.h.
llvm::ProfOStream::ProfOStream | ( | raw_fd_ostream & | FD | ) |
Definition at line 263 of file InstrProf.cpp.
llvm::ProfOStream::ProfOStream | ( | raw_string_ostream & | STR | ) |
Definition at line 266 of file InstrProf.cpp.
Definition at line 274 of file InstrProf.cpp.
References llvm::Data, I, IsFDOStream, OS, P, llvm::raw_fd_ostream::seek(), llvm::raw_string_ostream::str(), llvm::raw_ostream::tell(), and write().
uint64_t llvm::ProfOStream::tell | ( | ) | const |
Definition at line 269 of file InstrProf.cpp.
References OS, and llvm::raw_ostream::tell().
void llvm::ProfOStream::write | ( | uint64_t | V | ) |
Definition at line 270 of file InstrProf.cpp.
References LE, and llvm::support::endian::Writer::write().
Referenced by patch().
void llvm::ProfOStream::write32 | ( | uint32_t | V | ) |
Definition at line 271 of file InstrProf.cpp.
References LE, and llvm::support::endian::Writer::write().
void llvm::ProfOStream::writeByte | ( | uint8_t | V | ) |
Definition at line 272 of file InstrProf.cpp.
References LE, and llvm::support::endian::Writer::write().
bool llvm::ProfOStream::IsFDOStream |
Definition at line 87 of file InstrProf.h.
Referenced by patch().
support::endian::Writer llvm::ProfOStream::LE |
Definition at line 89 of file InstrProf.h.
Referenced by write(), write32(), and writeByte().
raw_ostream& llvm::ProfOStream::OS |
Definition at line 88 of file InstrProf.h.