| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
| |
LBH_TAKEN_WEIGHT + LBH_NONTAKEN_WEIGHT = 128 which in _most_ cases reduce
number of rounding errors.
llvm-svn: 136428
|
| |
|
|
| |
llvm-svn: 136402
|
| |
|
|
|
|
|
| |
there is no frequency difference whether condition is in the header or in
the latch.
llvm-svn: 136398
|
| |
|
|
| |
llvm-svn: 135353
|
| |
|
|
|
|
| |
not isEquality().
llvm-svn: 135296
|
| |
|
|
| |
llvm-svn: 133776
|
| |
|
|
| |
llvm-svn: 133766
|
| |
|
|
|
|
|
|
| |
BranchProbabilityInfo (expect setEdgeWeight which is not available here).
Branch Weights are kept in MachineBasicBlocks. To turn off this analysis
set -use-mbpi=false.
llvm-svn: 133184
|
| |
|
|
| |
llvm-svn: 132925
|
| |
|
|
|
|
|
|
|
| |
Patch by: Jakub Staszak!
Introduces BranchProbability. Changes unsigned to uint32_t all over and
uint64_t only when overflow is expected.
llvm-svn: 132867
|
| |
|
|
| |
llvm-svn: 132620
|
| |
|
|
| |
llvm-svn: 132616
|
|
|
BranchProbabilityInfo provides an interface for IR passes to query the
likelihood that control follows a CFG edge. This patch provides an
initial implementation of static branch predication that will populate
BranchProbabilityInfo for branches with no external profile
information using very simple heuristics. It currently isn't hooked up
to any external profile data, so static prediction does all the work.
llvm-svn: 132613
|