LLVM 20.0.0git
Macros | Variables
IndirectCallPromotionAnalysis.cpp File Reference
#include "llvm/Analysis/IndirectCallPromotionAnalysis.h"
#include "llvm/IR/Instruction.h"
#include "llvm/ProfileData/InstrProf.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"

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< unsignedICPTotalPercentThreshold ("icp-total-percent-threshold", cl::init(5), cl::Hidden, cl::desc("The percentage threshold against total " "count for the promotion"))
 
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

◆ 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< unsigned > 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.")   
)