LLVM 22.0.0git
IndirectCallPromotionAnalysis.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "pgo-icall-prom-analysis"

Variables

static cl::opt< unsignedICPRemainingPercentThreshold ("icp-remaining-percent-threshold", cl::init(30), cl::Hidden, cl::desc("The percentage threshold against remaining unpromoted indirect " "call count for the promotion"))
static cl::opt< uint64_tICPTotalPercentThreshold ("icp-total-percent-threshold", cl::init(5), cl::Hidden, cl::desc("The percentage threshold against total " "count for the promotion"))
static cl::opt< unsignedICPMinimumCountThreshold ("icp-minimum-count-threshold", cl::init(0), cl::Hidden, cl::desc("Minimum absolute count for promotion candidate"))
static cl::opt< unsignedMaxNumPromotions ("icp-max-prom", cl::init(3), cl::Hidden, cl::desc("Max number of promotions for a single indirect " "call callsite"))
cl::opt< unsignedMaxNumVTableAnnotations ("icp-max-num-vtables", cl::init(6), cl::Hidden, cl::desc("Max number of vtables annotated for a vtable load instruction."))

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "pgo-icall-prom-analysis"

Definition at line 23 of file IndirectCallPromotionAnalysis.cpp.

Variable Documentation

◆ ICPMinimumCountThreshold

cl::opt< unsigned > ICPMinimumCountThreshold("icp-minimum-count-threshold", cl::init(0), cl::Hidden, cl::desc("Minimum absolute count for promotion candidate")) ( "icp-minimum-count-threshold" ,
cl::init(0) ,
cl::Hidden ,
cl::desc("Minimum absolute count for promotion candidate")  )
static

◆ ICPRemainingPercentThreshold

cl::opt< unsigned > ICPRemainingPercentThreshold("icp-remaining-percent-threshold", cl::init(30), cl::Hidden, cl::desc("The percentage threshold against remaining unpromoted indirect " "call count for the promotion")) ( "icp-remaining-percent-threshold" ,
cl::init(30) ,
cl::Hidden ,
cl::desc("The percentage threshold against remaining unpromoted indirect " "call count for the promotion")  )
static

◆ ICPTotalPercentThreshold

cl::opt< uint64_t > ICPTotalPercentThreshold("icp-total-percent-threshold", cl::init(5), cl::Hidden, cl::desc("The percentage threshold against total " "count for the promotion")) ( "icp-total-percent-threshold" ,
cl::init(5) ,
cl::Hidden ,
cl::desc("The percentage threshold against total " "count for the promotion")  )
static

◆ MaxNumPromotions

cl::opt< unsigned > MaxNumPromotions("icp-max-prom", cl::init(3), cl::Hidden, cl::desc("Max number of promotions for a single indirect " "call callsite")) ( "icp-max-prom" ,
cl::init(3) ,
cl::Hidden ,
cl::desc("Max number of promotions for a single indirect " "call callsite")  )
static

◆ MaxNumVTableAnnotations

cl::opt< unsigned > MaxNumVTableAnnotations("icp-max-num-vtables", cl::init(6), cl::Hidden, cl::desc("Max number of vtables annotated for a vtable load instruction.")) ( "icp-max-num-vtables" ,
cl::init(6) ,
cl::Hidden ,
cl::desc("Max number of vtables annotated for a vtable load instruction.")  )