Reader for the indexed binary instrprof format.
Synopsis
Declared in <llvm/ProfileData/InstrProfReader.h>
class IndexedInstrProfReader
: public InstrProfReader
Base Classes
Name |
Description |
Base class and interface for reading profiling data of any known instrprof format. Provides an iterator over NamedInstrProfRecords. |
Member Functions
Name |
Description |
|
Constructors |
|
Deleted copy assignment. |
Compute the sum of counts and return in Sum. |
|
Iterator over profile data. |
|
Return an end iterator for the profile data. |
|
|
Return true if the profile only instruments function entries. |
Return the entire MemProf profile. |
|
Returns non‐owned pointer to the data access profile data. Will be null if unavailable (version < 4). |
|
Get the current error. |
|
Fill Bitmap with the profile data for the given function name. |
|
Fill Counts with the profile data for the given function name. |
|
Return the NamedInstrProfRecord for |
|
Return the maximum of all known function counts. |
|
Return caller‐callee pairs derived from the MemProf call graph. |
|
Return the memprof record for the function identified by llvm::md5(Name). |
|
Return the MemProf summary. Will be null if unavailable (version < 4). |
|
|
Returns a BitsetEnum describing the attributes of the indexed instr profile. |
Return the profile summary. |
|
|
Return the PGO symbol table. |
Return the total number of temporal profile traces seen. |
|
|
Return the temporal profile traces. |
|
Return the profile version. |
|
Return true if this is a context‐sensitive IR‐level profile. |
Return true if the reader encountered an error reading profiling data. |
|
|
Return true if profile includes a memory profile. |
|
Return true if the profile has single byte counters representing coverage. |
|
Return true if this has a temporal profile. |
|
Return true if the profile instruments function entries. |
|
Return true if the profile instruments all loop entries. |
Return true if the reader has finished reading the profile data. |
|
|
Return true if this is an IR‐level instrumentation profile. |
|
Print binary ids. |
|
Read a list of binary ids. |
|
Read the file header. |
|
Read a single record. |
Set the endianness used when reading value profile data (testing only). |
Static Member Functions
Protected Member Functions
Protected Data Members
Name |
Description |
Optional PGO symbol table owned by the reader. |
|
The total number of temporal profile traces seen. |
|
A list of temporal profile traces. |
Created with MrDocs