Reader for the simple text based instrprof format.
Synopsis
Declared in <llvm/ProfileData/InstrProfReader.h>
class TextInstrProfReader
: public InstrProfReader
Description
This format is a simple text format that's suitable for test data. Records are separated by one or more blank lines, and record fields are separated by new lines.
Each record consists of a function name, a function hash, a number of counters, and then each counter value, in that order.
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. |
Get the current error. |
|
|
Returns a BitsetEnum describing the attributes of the profile. |
|
Return the PGO symbol table. |
Return the total number of temporal profile traces seen. |
|
|
Return the temporal profile traces. |
|
Return the profile version (always 0 for the text format). |
|
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. |
|
Read a single record. |
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