Home
last modified time | relevance | path

Searched refs:PortableMemInfoBlock (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DMemProf.h31 struct PortableMemInfoBlock { struct
32 PortableMemInfoBlock() = default;
33 explicit PortableMemInfoBlock(const MemInfoBlock &Block) { in PortableMemInfoBlock() function
39 PortableMemInfoBlock(const MemProfSchema &Schema, const unsigned char *Ptr) { in PortableMemInfoBlock() function
98 void clear() { *this = PortableMemInfoBlock(); } in clear() argument
109 bool operator==(const PortableMemInfoBlock &Other) const { argument
118 bool operator!=(const PortableMemInfoBlock &Other) const {
258 PortableMemInfoBlock Info;
268 PortableMemInfoBlock::serializedSize(); // The size of the payload. in serializedSize()
296 PortableMemInfoBlock Info;
/llvm-project-15.0.7/llvm/unittests/ProfileData/
H A DMemProfTest.cpp35 using ::llvm::memprof::PortableMemInfoBlock;
247 PortableMemInfoBlock WriteBlock(Info); in TEST()
254 PortableMemInfoBlock ReadBlock( in TEST()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DMemProf.cpp52 Ptr += PortableMemInfoBlock::serializedSize(); in deserialize()
H A DInstrProfWriter.cpp425 auto Schema = memprof::PortableMemInfoBlock::getSchema(); in writeImpl()