Reader for the MemProf section of an indexed instrumentation profile.

Synopsis

Declared in <llvm/ProfileData/InstrProfReader.h>

class IndexedMemProfReader;

Member Functions

Name

Description

IndexedMemProfReader [constructor]

Construct an empty MemProf reader with no deserialized data.

deserialize

Deserialize the MemProf section starting at MemProfOffset in Start.

getAllMemProfData

Return the entire MemProf profile.

getDataAccessProfileData

Return a non‐owned pointer to data access profile data.

getMemProfCallerCalleePairs

Return caller‐callee pairs derived from the MemProf call graph.

getMemProfRecord

Return the memprof record for the function identified by FuncNameHash.

getSummary

Return the MemProf summary, or nullptr if unavailable.

Created with MrDocs