Go to the source code of this file.
|
| | STATISTIC (NumCondBranches,"Number of conditional branches") |
| |
| | STATISTIC (NumUncondBranches,"Number of uncondittional branches") |
| |
| | STATISTIC (CondBranchTakenFreq,"Potential frequency of taking conditional branches") |
| |
| | STATISTIC (UncondBranchTakenFreq,"Potential frequency of taking unconditional branches") |
| |
| | INITIALIZE_PASS_BEGIN (MachineBlockPlacement,"block-placement","Branch Probability Basic Block Placement", false, false) INITIALIZE_PASS_END(MachineBlockPlacement |
| |
block Branch Probability Basic
Block static false std::string | getBlockName (MachineBasicBlock *BB) |
| | Helper to print the name of a MBB. More...
|
| |
| static std::string | getBlockNum (MachineBasicBlock *BB) |
| | Helper to print the number of a MBB. More...
|
| |
| | INITIALIZE_PASS_BEGIN (MachineBlockPlacementStats,"block-placement-stats","Basic Block Placement Stats", false, false) INITIALIZE_PASS_END(MachineBlockPlacementStats |
| |
|
| static cl::opt< unsigned > | AlignAllBlock ("align-all-blocks", cl::desc("Force the alignment of all ""blocks in the function."), cl::init(0), cl::Hidden) |
| |
| static cl::opt< unsigned > | ExitBlockBias ("block-placement-exit-block-bias", cl::desc("Block frequency percentage a loop exit block needs ""over the original exit to be considered the new exit."), cl::init(0), cl::Hidden) |
| |
| static cl::opt< bool > | OutlineOptionalBranches ("outline-optional-branches", cl::desc("Put completely optional branches, i.e. branches with a common ""post dominator, out of line."), cl::init(false), cl::Hidden) |
| |
| static cl::opt< unsigned > | OutlineOptionalThreshold ("outline-optional-threshold", cl::desc("Don't outline optional branches that are a single block with an ""instruction count below this threshold"), cl::init(4), cl::Hidden) |
| |
| block | placement |
| |
block Branch Probability Basic
Block | Placement |
| |
block Branch Probability Basic
Block | false |
| |
| block placement | stats |
| |
block placement Basic Block
Placement | Stats |
| |
| STATISTIC |
( |
NumCondBranches |
, |
|
|
"Number of conditional branches" |
|
|
) |
| |
| STATISTIC |
( |
NumUncondBranches |
, |
|
|
"Number of uncondittional branches" |
|
|
) |
| |
| STATISTIC |
( |
CondBranchTakenFreq |
, |
|
|
"Potential frequency of taking conditional branches" |
|
|
) |
| |
| STATISTIC |
( |
UncondBranchTakenFreq |
, |
|
|
"Potential frequency of taking unconditional branches" |
|
|
) |
| |
| cl::opt<unsigned> AlignAllBlock("align-all-blocks", cl::desc("Force the alignment of all ""blocks in the function."), cl::init(0), cl::Hidden) |
|
static |
| cl::opt<unsigned> ExitBlockBias("block-placement-exit-block-bias", cl::desc("Block frequency percentage a loop exit block needs ""over the original exit to be considered the new exit."), cl::init(0), cl::Hidden) |
|
static |
| cl::opt<bool> OutlineOptionalBranches("outline-optional-branches", cl::desc("Put completely optional branches, i.e. branches with a common ""post dominator, out of line."), cl::init(false), cl::Hidden) |
|
static |
| cl::opt<unsigned> OutlineOptionalThreshold("outline-optional-threshold", cl::desc("Don't outline optional branches that are a single block with an ""instruction count below this threshold"), cl::init(4), cl::Hidden) |
|
static |
| block Branch Probability Basic Block Placement |