Go to the source code of this file.
|
static cl::opt< unsigned > | FuncProfileSimilarityThreshold ("func-profile-similarity-threshold", cl::Hidden, cl::init(80), cl::desc("Consider a profile matches a function if the similarity of their " "callee sequences is above the specified percentile.")) |
|
static cl::opt< unsigned > | MinFuncCountForCGMatching ("min-func-count-for-cg-matching", cl::Hidden, cl::init(5), cl::desc("The minimum number of basic blocks required for a function to " "run stale profile call graph matching.")) |
|
static cl::opt< unsigned > | MinCallCountForCGMatching ("min-call-count-for-cg-matching", cl::Hidden, cl::init(3), cl::desc("The minimum number of call anchors required for a function to " "run stale profile call graph matching.")) |
|
cl::opt< bool > | SalvageStaleProfile |
|
cl::opt< bool > | SalvageUnusedProfile |
|
cl::opt< bool > | PersistProfileStaleness |
|
cl::opt< bool > | ReportProfileStaleness |
|
static cl::opt< unsigned > | SalvageStaleProfileMaxCallsites ("salvage-stale-profile-max-callsites", cl::Hidden, cl::init(UINT_MAX), cl::desc("The maximum number of callsites in a function, above which stale " "profile matching will be skipped.")) |
|
◆ DEBUG_TYPE
#define DEBUG_TYPE "sample-profile-matcher" |
◆ FuncProfileSimilarityThreshold
cl::opt< unsigned > FuncProfileSimilarityThreshold("func-profile-similarity-threshold", cl::Hidden, cl::init(80), cl::desc("Consider a profile matches a function if the similarity of their " "callee sequences is above the specified percentile.")) |
( |
"func-profile-similarity-threshold" |
, |
|
|
cl::Hidden |
, |
|
|
cl::init(80) |
, |
|
|
cl::desc("Consider a profile matches a function if the similarity of their " "callee sequences is above the specified percentile.") |
|
|
) |
| |
|
static |
◆ MinCallCountForCGMatching
cl::opt< unsigned > MinCallCountForCGMatching("min-call-count-for-cg-matching", cl::Hidden, cl::init(3), cl::desc("The minimum number of call anchors required for a function to " "run stale profile call graph matching.")) |
( |
"min-call-count-for-cg-matching" |
, |
|
|
cl::Hidden |
, |
|
|
cl::init(3) |
, |
|
|
cl::desc("The minimum number of call anchors required for a function to " "run stale profile call graph matching.") |
|
|
) |
| |
|
static |
◆ MinFuncCountForCGMatching
cl::opt< unsigned > MinFuncCountForCGMatching("min-func-count-for-cg-matching", cl::Hidden, cl::init(5), cl::desc("The minimum number of basic blocks required for a function to " "run stale profile call graph matching.")) |
( |
"min-func-count-for-cg-matching" |
, |
|
|
cl::Hidden |
, |
|
|
cl::init(5) |
, |
|
|
cl::desc("The minimum number of basic blocks required for a function to " "run stale profile call graph matching.") |
|
|
) |
| |
|
static |
◆ PersistProfileStaleness
◆ ReportProfileStaleness
◆ SalvageStaleProfile
◆ SalvageStaleProfileMaxCallsites
cl::opt< unsigned > SalvageStaleProfileMaxCallsites("salvage-stale-profile-max-callsites", cl::Hidden, cl::init(UINT_MAX), cl::desc("The maximum number of callsites in a function, above which stale " "profile matching will be skipped.")) |
( |
"salvage-stale-profile-max-callsites" |
, |
|
|
cl::Hidden |
, |
|
|
cl::init(UINT_MAX) |
, |
|
|
cl::desc("The maximum number of callsites in a function, above which stale " "profile matching will be skipped.") |
|
|
) |
| |
|
static |
◆ SalvageUnusedProfile