Base class and interface for reading profiling data of any known instrprof format. Provides an iterator over NamedInstrProfRecords.
Synopsis
Declared in <llvm/ProfileData/InstrProfReader.h>
class InstrProfReader;
Member Functions
Name |
Description |
|
Construct a default instrprof reader with no open profile. |
|
Destroy the reader. |
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. |
Get the current error. |
|
|
Returns a BitsetEnum describing the attributes of the profile. To check individual attributes prefer using the helpers above. |
|
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 header. Required before reading first record. |
|
Read a single record. |
Static Member Functions
Name |
Description |
|
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. |
Derived Classes
Name |
Description |
Reader for the indexed binary instrprof format. |
|
Reader for the raw instrprof binary format from runtime. |
|
Reader for the simple text based instrprof format. |
Created with MrDocs