Go to the source code of this file.
|
| static cl::opt< std::string > | SampleProfileFile ("sample-profile-file", cl::init(""), cl::value_desc("filename"), cl::desc("Profile file loaded by -sample-profile"), cl::Hidden) |
| |
| static cl::opt< unsigned > | SampleProfileMaxPropagateIterations ("sample-profile-max-propagate-iterations", cl::init(100), cl::desc("Maximum number of iterations to go through when propagating ""sample block/edge weights through the CFG.")) |
| |
| static cl::opt< unsigned > | SampleProfileRecordCoverage ("sample-profile-check-record-coverage", cl::init(0), cl::value_desc("N"), cl::desc("Emit a warning if less than N% of records in the input profile ""are matched to the IR.")) |
| |
| static cl::opt< unsigned > | SampleProfileSampleCoverage ("sample-profile-check-sample-coverage", cl::init(0), cl::value_desc("N"), cl::desc("Emit a warning if less than N% of samples in the input profile ""are matched to the IR.")) |
| |
| static cl::opt< double > | SampleProfileHotThreshold ("sample-profile-inline-hot-threshold", cl::init(0.1), cl::value_desc("N"), cl::desc("Inlined functions that account for more than N% of all samples ""collected in the parent function, will be inlined again.")) |
| |
| sample | profile |
| |
| sample Sample Profile | loader |
| |
| sample Sample Profile | false |
| |
| #define DEBUG_TYPE "sample-profile" |
| INITIALIZE_PASS_BEGIN |
( |
SampleProfileLoaderLegacyPass |
, |
|
|
"sample-profile" |
, |
|
|
"Sample Profile loader" |
, |
|
|
false |
, |
|
|
false |
|
|
) |
| |
| sample Sample Profile false |
| sample Sample Profile loader |
| cl::opt<unsigned> SampleProfileMaxPropagateIterations("sample-profile-max-propagate-iterations", cl::init(100), cl::desc("Maximum number of iterations to go through when propagating ""sample block/edge weights through the CFG.")) |
|
static |