LLVM: lib/Transforms/IPO/SampleProfileMatcher.cpp File Reference (original) (raw)

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 "sample-profile-matcher"
Variables
static cl::opt< unsigned > llvm::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 > llvm::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 > llvm::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."))
static cl::opt< bool > llvm::LoadFuncProfileforCGMatching ("load-func-profile-for-cg-matching", cl::Hidden, cl::init(true), cl::desc("Load top-level profiles that the sample reader initially skipped for " "the call-graph matching (only meaningful for extended binary " "format)"))
static cl::opt< unsigned > llvm::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"