LLVM 20.0.0git
|
#include "llvm/ProfileData/InstrProfReader.h"
Public Member Functions | |
IndexedMemProfReader ()=default | |
Error | deserialize (const unsigned char *Start, uint64_t MemProfOffset) |
Expected< memprof::MemProfRecord > | getMemProfRecord (const uint64_t FuncNameHash) const |
Definition at line 650 of file InstrProfReader.h.
|
default |
Definition at line 1287 of file InstrProfReader.cpp.
References llvm::formatv(), llvm::memprof::MaximumSupportedVersion, llvm::memprof::MinimumSupportedVersion, Ptr, llvm::Error::success(), llvm::unsupported_version, llvm::memprof::Version0, llvm::memprof::Version1, llvm::memprof::Version2, and llvm::memprof::Version3.
Referenced by llvm::IndexedInstrProfReader::readHeader().
Expected< memprof::MemProfRecord > IndexedMemProfReader::getMemProfRecord | ( | const uint64_t | FuncNameHash | ) | const |
Definition at line 1600 of file InstrProfReader.cpp.
References assert(), llvm::formatv(), getMemProfRecordV0(), getMemProfRecordV2(), getMemProfRecordV3(), llvm::invalid_prof, llvm::memprof::MaximumSupportedVersion, llvm::memprof::MinimumSupportedVersion, llvm::unknown_function, llvm::unsupported_version, llvm::memprof::Version0, llvm::memprof::Version1, llvm::memprof::Version2, and llvm::memprof::Version3.
Referenced by llvm::IndexedInstrProfReader::getMemProfRecord().