Analysis that loads and maintains contextual PGO profiles for a module.
Synopsis
Declared in <llvm/Analysis/CtxProfAnalysis.h>
class CtxProfAnalysis
: public AnalysisInfoMixin<CtxProfAnalysis>
Base Classes
Name |
Description |
A CRTP mix‐in that provides informational APIs needed for analysis passes. |
Type Aliases
Name |
Description |
The analysis result type; an instrumented contextual profile. |
Member Functions
Name |
Description |
|
Construct the analysis, optionally loading a profile from |
Run the contextual profile analysis on module |
Static Member Functions
Name |
Description |
Returns an opaque, unique ID for this analysis type. |
|
Collect candidate direct callees for promoting indirect call |
|
Get the instruction instrumenting a BB, or nullptr if not present. |
|
Get the instruction instrumenting a callsite, or nullptr if that cannot be found. |
|
Get the step instrumentation associated with a |