InstrProfRecord annotated with the function's PGO name and hash.
Synopsis
Declared in <llvm/ProfileData/InstrProf.h>
struct NamedInstrProfRecord
: InstrProfRecord
Base Classes
Name |
Description |
Profiling information for a single function. |
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. |
Static Member Functions
Name |
Description |
Return true if |
|
Set the context‐sensitive flag bit in |
Data Members
Name |
Description |
Bitmap bytes used by coverage / MC/DC instrumentation. |
|
Per‐block or per‐edge execution counts. |
|
Structural / PGO hash of the function, including flag bits. |
|
PGO name of the profiled function. |
|
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. |
Static Data Members
Name |
Description |
Bit index in |
|
Mask of hash bits that encode the function identity (excludes flag bits). |
Created with MrDocs