LLVM 24.0.0git
StaticDataAnnotator.cpp File Reference

Go to the source code of this file.

Classes

class  StaticDataAnnotatorLegacy
 A module pass which iterates global variables in the module and annotates their section prefixes based on profile-driven analysis. More...

Macros

#define DEBUG_TYPE   "static-data-annotator"

Functions

static bool annotateModule (Module &M, StaticDataProfileInfo *SDPI, ProfileSummaryInfo *PSI)
 INITIALIZE_PASS (StaticDataAnnotatorLegacy, DEBUG_TYPE, "Static Data Annotator", false, false) ModulePass *llvm

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "static-data-annotator"

Definition at line 40 of file StaticDataAnnotator.cpp.

Function Documentation

◆ annotateModule()

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( StaticDataAnnotatorLegacy ,
DEBUG_TYPE ,
"Static Data Annotator" ,
false ,
false  )