Go to the source code of this file.
◆ finishAdjustingBasicBlocksAndLandingPads()
static void finishAdjustingBasicBlocksAndLandingPads |
( |
MachineFunction & |
MF | ) |
|
|
static |
◆ INITIALIZE_PASS()
INITIALIZE_PASS |
( |
MachineFunctionSplitter |
, |
|
|
"machine-function-splitter" |
, |
|
|
"Split machine functions using profile information" |
, |
|
|
false |
, |
|
|
false |
|
|
) |
| |
◆ isColdBlock()
Definition at line 108 of file MachineFunctionSplitter.cpp.
References ColdCountThreshold, llvm::MachineBlockFrequencyInfo::getBlockProfileCount(), llvm::TargetSubtargetInfo::getInstrInfo(), llvm::MachineBasicBlock::getParent(), llvm::MachineFunction::getSubtarget(), llvm::ProfileSummaryInfo::hasCSInstrumentationProfile(), llvm::ProfileSummaryInfo::hasInstrumentationProfile(), llvm::ProfileSummaryInfo::hasSampleProfile(), llvm::ProfileSummaryInfo::isColdCountNthPercentile(), MBB, PercentileCutoff, and TII.
◆ setDescendantEHBlocksCold()
◆ ColdCountThreshold
cl::opt< unsigned > ColdCountThreshold("mfs-count-threshold", cl::desc( "Minimum number of times a block must be executed to be retained."), cl::init(1), cl::Hidden) |
( |
"mfs-count-threshold" |
, |
|
|
cl::desc( "Minimum number of times a block must be executed to be retained.") |
, |
|
|
cl::init(1) |
, |
|
|
cl::Hidden |
|
|
) |
| |
|
static |
◆ PercentileCutoff
cl::opt< unsigned > PercentileCutoff("mfs-psi-cutoff", cl::desc("Percentile profile summary cutoff used to " "determine cold blocks. Unused if set to zero."), cl::init(999950), cl::Hidden) |
( |
"mfs-psi-cutoff" |
, |
|
|
cl::desc("Percentile profile summary cutoff used to " "determine cold blocks. Unused if set to zero.") |
, |
|
|
cl::init(999950) |
, |
|
|
cl::Hidden |
|
|
) |
| |
|
static |
◆ SplitAllEHCode
cl::opt< bool > SplitAllEHCode("mfs-split-ehcode", cl::desc("Splits all EH code and it's descendants by default."), cl::init(false), cl::Hidden) |
( |
"mfs-split-ehcode" |
, |
|
|
cl::desc("Splits all EH code and it's descendants by default.") |
, |
|
|
cl::init(false) |
, |
|
|
cl::Hidden |
|
|
) |
| |
|
static |