New PM pass that annotates static data section prefixes from profiles.
Synopsis
Declared in <llvm/CodeGen/StaticDataAnnotator.h>
class StaticDataAnnoatorPass
: public OptionalPassInfoMixin<StaticDataAnnoatorPass>
Description
Iterates global variables in the module, looks up hotness counters from StaticDataProfileInfo, and sets each variable's section prefix based on profile summary analysis. Coordinates with StaticDataSplitter, which gathers the per‐data profile information this pass consumes.
Base Classes
Name |
Description |
A CRTP mix‐in for passes that can be skipped. |
Member Functions
Name |
Description |
Annotate section prefixes of static data in |
Static Member Functions
Name |
Description |
Return false; optional passes may be skipped. |
Created with MrDocs