LLVM 22.0.0git
IndirectCallPromotionAnalysis.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Macros

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

Variables

static cl::opt< unsignedllvm::ICPRemainingPercentThreshold ("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_tllvm::ICPTotalPercentThreshold ("icp-total-percent-threshold", cl::init(5), cl::Hidden, cl::desc("The percentage threshold against total " "count for the promotion"))
static cl::opt< unsignedllvm::ICPMinimumCountThreshold ("icp-minimum-count-threshold", cl::init(0), cl::Hidden, cl::desc("Minimum absolute count for promotion candidate"))
static cl::opt< unsignedllvm::MaxNumPromotions ("icp-max-prom", cl::init(3), cl::Hidden, cl::desc("Max number of promotions for a single indirect " "call callsite"))
cl::opt< unsignedllvm::MaxNumVTableAnnotations ("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.