15#ifndef LLVM_PROFILEDATA_INDEXEDMEMPROFDATA_H
16#define LLVM_PROFILEDATA_INDEXEDMEMPROFDATA_H
71 std::memcpy(&Id, Hash.data(),
sizeof(Hash));
83 std::memcpy(&CSId, Hash.data(),
sizeof(Hash));
91 ProfOStream &
OS, memprof::IndexedMemProfData &MemProfData,
93 std::unique_ptr<memprof::DataAccessProfData> DataAccessProfileData,
94 std::unique_ptr<memprof::MemProfSummary> MemProfSum);
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
HashResultTy< HasherT_ > final()
Forward to HasherT::final() if available.
Interface to help hash various types through a hasher type.
std::enable_if_t< hashbuilder_detail::IsHashableData< T >::value, HashBuilder & > add(T Value)
Implement hashing for hashable data types, e.g. integral or enum values.
This class implements a map that also provides access to all stored values in a deterministic order.
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
This is an optimization pass for GlobalISel generic memory operations.
std::array< uint8_t, NumBytes > BLAKE3Result
The constant LLVM_BLAKE3_OUT_LEN provides the default output length, 32 bytes, which is recommended f...
LLVM_ABI Error writeMemProf(ProfOStream &OS, memprof::IndexedMemProfData &MemProfData, memprof::IndexedVersion MemProfVersionRequested, bool MemProfFullSchema, std::unique_ptr< memprof::DataAccessProfData > DataAccessProfileData, std::unique_ptr< memprof::MemProfSummary > MemProfSum)
llvm::MapVector< CallStackId, llvm::SmallVector< FrameId > > CallStacks
CallStackId addCallStack(SmallVector< FrameId > &&CS)
llvm::MapVector< GlobalValue::GUID, IndexedMemProfRecord > Records
CallStackId addCallStack(ArrayRef< FrameId > CS)
FrameId addFrame(const Frame &F)
llvm::MapVector< FrameId, Frame > Frames