LLVM  15.0.0git
Classes | Typedefs | Enumerations | Functions
llvm::memprof Namespace Reference

Classes

struct  AllocationInfo
 
struct  Frame
 
class  FrameLookupTrait
 
class  FrameWriterTrait
 
struct  IndexedAllocationInfo
 
struct  IndexedMemProfRecord
 
struct  MemProfRecord
 
struct  PortableMemInfoBlock
 
class  RawMemProfReader
 
class  RecordLookupTrait
 
class  RecordWriterTrait
 

Typedefs

using MemProfSchema = llvm::SmallVector< Meta, static_cast< int >(Meta::Size)>
 
using FrameId = uint64_t
 
using CallStackMap = llvm::DenseMap< uint64_t, llvm::SmallVector< uint64_t > >
 

Enumerations

enum  Meta : uint64_t { Meta::Start = 0, Meta::MIBEntryDef, Meta::Size }
 

Functions

Expected< MemProfSchemareadMemProfSchema (const unsigned char *&Buffer)
 

Typedef Documentation

◆ CallStackMap

Definition at line 37 of file RawMemProfReader.h.

◆ FrameId

Definition at line 137 of file MemProf.h.

◆ MemProfSchema

Definition at line 26 of file MemProf.h.

Enumeration Type Documentation

◆ Meta

Enumerator
Start 
MIBEntryDef 
Size 

Definition at line 18 of file MemProf.h.

Function Documentation

◆ readMemProfSchema()

Expected< MemProfSchema > llvm::memprof::readMemProfSchema ( const unsigned char *&  Buffer)

Definition at line 84 of file MemProf.cpp.

References I, llvm::malformed, Size, and support().

Referenced by llvm::IndexedInstrProfReader::readHeader().