LLVM 20.0.0git
|
#include "llvm/ProfileData/MemProf.h"
Public Member Functions | |
FrameId | addFrame (const Frame &F) |
CallStackId | addCallStack (ArrayRef< FrameId > CS) |
CallStackId | addCallStack (SmallVector< FrameId > &&CS) |
Public Attributes | |
llvm::MapVector< GlobalValue::GUID, IndexedMemProfRecord > | Records |
llvm::MapVector< FrameId, Frame > | Frames |
llvm::MapVector< CallStackId, llvm::SmallVector< FrameId > > | CallStacks |
|
inline |
Definition at line 1001 of file MemProf.h.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::try_emplace().
Referenced by llvm::memprof::YAMLMemProfReader::parse().
|
inline |
Definition at line 1007 of file MemProf.h.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::try_emplace().
Definition at line 995 of file MemProf.h.
References F, and llvm::MapVector< KeyT, ValueT, MapType, VectorType >::try_emplace().
Referenced by llvm::memprof::YAMLMemProfReader::parse().
llvm::MapVector<CallStackId, llvm::SmallVector<FrameId> > llvm::memprof::IndexedMemProfData::CallStacks |
Definition at line 993 of file MemProf.h.
Referenced by llvm::InstrProfWriter::addMemProfData(), llvm::InstrProfWriter::mergeRecordsFromWriter(), llvm::memprof::MemProfReader::readNextRecord(), writeMemProfV2(), and writeMemProfV3().
llvm::MapVector<FrameId, Frame> llvm::memprof::IndexedMemProfData::Frames |
Definition at line 990 of file MemProf.h.
Referenced by llvm::InstrProfWriter::addMemProfData(), llvm::memprof::MemProfReader::idToFrame(), llvm::InstrProfWriter::mergeRecordsFromWriter(), writeMemProfV2(), and writeMemProfV3().
llvm::MapVector<GlobalValue::GUID, IndexedMemProfRecord> llvm::memprof::IndexedMemProfData::Records |
Definition at line 985 of file MemProf.h.
Referenced by llvm::InstrProfWriter::addMemProfData(), llvm::memprof::MemProfReader::begin(), llvm::InstrProfWriter::mergeRecordsFromWriter(), llvm::memprof::YAMLMemProfReader::parse(), llvm::memprof::RawMemProfReader::printYAML(), llvm::memprof::MemProfReader::readNextRecord(), writeMemProfV2(), and writeMemProfV3().