The instrumented contextual profile, produced by the CtxProfAnalysis.
Synopsis
Declared in <llvm/Analysis/CtxProfAnalysis.h>
class PGOContextualProfile;
Type Aliases
Name |
Description |
Callback type for read‐only walks over contextual profile nodes. |
|
Callback type for mutable walks over contextual profile nodes. |
Member Functions
Name |
Description |
|
Constructors |
Allocate and return the next callsite index for function |
|
Allocate and return the next counter index for function |
|
Return the contextual profiles keyed by root GUID. |
|
Flatten contextual profiles into a GUID‐to‐counter‐vector map. |
|
Flatten virtual/indirect call targets from the contextual profile. |
|
Return the name recorded for function GUID |
|
Return the number of callsite indices allocated for function |
|
Return the number of counter indices allocated for function |
|
Handle invalidation of this analysis result. |
|
Return whether |
|
Return whether this module only contains functions in contextual profiles. |
|
Return the full contextual profile, including flat and contextual data. |
|
Apply |
|
Visit contextual profile nodes, optionally limited to function |
Friends
Name |
Description |
Printer pass for the |
|
Analysis that loads and maintains contextual PGO profiles for a module. |
Created with MrDocs