Profiling information for a single function.
Synopsis
Declared in <llvm/ProfileData/InstrProf.h>
struct InstrProfRecord;
Enums
Name |
Description |
Pseudo hot/warm classification encoded in the first counter. |
|
Sentinel counter values used to encode pseudo hot/warm. |
Member Functions
Name |
Description |
|
Constructors |
Assignment operators |
|
Clear value data entries, edge counters, and uniformity data. |
|
Accumulate all counts into |
|
Add value data for |
|
Clear value data entries |
|
Recompute uniformity metadata from raw uniform counters, when present. |
|
Return whether the first counter encodes a pseudo hot/warm kind. |
|
Return the total number of ValueData entries for |
|
Return the number of value profile kinds with non‐zero number of profile sites. |
|
Return the number of instrumented sites for |
|
Return the array of profiled values at site |
|
Return true if basic block |
|
Merge the counts in |
|
Compute overlap between this record and |
|
Compute overlap of value‐profile counts for |
|
Reserve space for |
|
Scale profile counts (including value data) by |
|
Encode pseudo hot/warm kind |
|
Sort value profile data (per site) by count. |
Data Members
Name |
Description |
Bitmap bytes used by coverage / MC/DC instrumentation. |
|
Per‐block or per‐edge execution counts. |
|
Wave size of the offload device that produced uniformity data, if any. |
|
For AMDGPU offload profiling: raw or merged uniform counters. One uint64_t per instrumented block, tracking entries where all lanes were active. |
|
Per‐block wave‐uniformity bits for AMDGPU offload profiling. |
Derived Classes
Name |
Description |
InstrProfRecord annotated with the function's PGO name and hash. |
Created with MrDocs