LLVM: llvm::ProfOStream Class Reference (original) (raw)
#include "[llvm/ProfileData/InstrProf.h](InstrProf%5F8h%5Fsource.html)"
| 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) |
Definition at line 69 of file InstrProf.h.
◆ ProfOStream() [2/2]
◆ patch()
Definition at line 274 of file InstrProf.cpp.
References llvm::support::endian::byte_swap(), llvm::Data, I, IsFDOStream, llvm::little, OS, P, llvm::raw_fd_ostream::seek(), llvm::raw_string_ostream::str(), llvm::raw_ostream::tell(), and write().
Referenced by llvm::writeMemProfRadixTreeBased(), and llvm::writeMemProfV2().
◆ tell()
| uint64_t llvm::ProfOStream::tell ( ) const | nodiscard |
|---|
◆ write()
| void llvm::ProfOStream::write | ( | uint64_t | V | ) |
|---|
◆ write32()
| void llvm::ProfOStream::write32 | ( | uint32_t | V | ) |
|---|
◆ writeByte()
| void llvm::ProfOStream::writeByte | ( | uint8_t | V | ) |
|---|
◆ IsFDOStream
bool llvm::ProfOStream::IsFDOStream
◆ LE
◆ OS
The documentation for this class was generated from the following files:
- include/llvm/ProfileData/InstrProf.h
- lib/ProfileData/InstrProf.cpp