Home
last modified time | relevance | path

Searched refs:FrameId (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DMemProf.cpp21 for (const FrameId &Id : N.CallStack) in serialize()
22 LE.write<FrameId>(Id); in serialize()
30 for (const FrameId &Id : Frames) in serialize()
31 LE.write<FrameId>(Id); in serialize()
50 const FrameId Id = in deserialize()
51 endian::readNext<FrameId, llvm::endianness::little, unaligned>(Ptr); in deserialize()
65 llvm::SmallVector<FrameId> Frames; in deserialize()
68 const FrameId Id = in deserialize()
69 endian::readNext<FrameId, llvm::endianness::little, unaligned>(Ptr); in deserialize()
H A DRawMemProfReader.cpp401 using LocationPtr = const llvm::SmallVector<FrameId> *; in mapRawProfileToRecords()
417 llvm::SmallVector<FrameId> Callstack; in mapRawProfileToRecords()
425 const SmallVector<FrameId> &Frames = SymbolizedFrame[Address]; in mapRawProfileToRecords()
530 const FrameId Hash = F.hash(); in symbolizeAndFilterStackFrames()
658 std::function<const Frame(const FrameId)> Callback) { in readNextRecord()
662 auto IdToFrameCallback = [this](const FrameId Id) { in readNextRecord()
H A DInstrProfReader.cpp1404 memprof::FrameId LastUnmappedFrameId = 0; in getMemProfRecord()
1406 auto IdToFrameCallback = [&](const memprof::FrameId Id) { in getMemProfRecord()
H A DInstrProfWriter.cpp279 bool InstrProfWriter::addMemProfFrame(const memprof::FrameId Id, in addMemProfFrame()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DMemProf.h137 using FrameId = uint64_t; variable
237 inline FrameId hash() const { in hash()
251 return static_cast<FrameId>(Result); in hash()
260 llvm::SmallVector<FrameId> CallStack;
416 for (const FrameId Id : Site) { in MemProfRecord()
552 using key_type = FrameId;
553 using key_type_ref = FrameId;
558 using hash_value_type = FrameId;
590 using internal_key_type = FrameId;
591 using external_key_type = FrameId;
[all …]
H A DRawMemProfReader.h50 const llvm::DenseMap<FrameId, Frame> &getFrameMapping() const { in getFrameMapping()
62 std::function<const Frame(const FrameId)> Callback = nullptr) {
86 llvm::DenseMap<FrameId, Frame> FrameIdMap, in MemProfReader() argument
93 const Frame &idToFrame(const FrameId Id) const { in idToFrame()
99 llvm::DenseMap<FrameId, Frame> IdToFrame;
143 std::function<const Frame(const FrameId)> Callback) override;
204 llvm::DenseMap<uint64_t, llvm::SmallVector<FrameId>> SymbolizedFrame;
H A DInstrProfWriter.h61 llvm::MapVector<memprof::FrameId, memprof::Frame> MemProfFrameData;
99 bool addMemProfFrame(const memprof::FrameId, const memprof::Frame &F,