Analysis that loads and maintains contextual PGO profiles for a module.
Declared in <llvm/Analysis/CtxProfAnalysis.h>
class CtxProfAnalysis
: public AnalysisInfoMixin<CtxProfAnalysis>
| Name | Description |
|---|---|
AnalysisInfoMixin<CtxProfAnalysis> | A CRTP mix-in that provides informational APIs needed for analysis passes. |
| Name | Description |
|---|---|
Result | The analysis result type; an instrumented contextual profile. |
| Name | Description |
|---|---|
CtxProfAnalysis [constructor] | Construct the analysis, optionally loading a profile from Profile. |
run | Run the contextual profile analysis on module M. |
| Name | Description |
|---|---|
ID | Returns an opaque, unique ID for this analysis type. |
collectIndirectCallPromotionList | Collect candidate direct callees for promoting indirect call IC. |
getBBInstrumentation | Get the instruction instrumenting a BB, or nullptr if not present. |
getCallsiteInstrumentation | Get the instruction instrumenting a callsite, or nullptr if that cannot be found. |
getSelectInstrumentation | Get the step instrumentation associated with a select |
| Name | Description |
|---|---|
Key | Analysis key for CtxProfAnalysis. |