Reader for the raw instrprof binary format from runtime.
Synopsis
Declared in <llvm/ProfileData/InstrProfReader.h>
template<class IntPtrT>
class RawInstrProfReader
: public InstrProfReader
Description
This format is a raw memory dump of the instrumentation‐based profiling data from the runtime. It has no index.
Templated on the unsigned type whose size matches pointers on the platform that wrote the profile.
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 raw instr profile. |
|
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
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