Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | BranchProb: Simplify printing code | Duncan P. N. Exon Smith | 2014-04-29 | 1 | -10/+4 |
| | | | | llvm-svn: 207559 | ||||
* | Support: remove unnecessary namespace | Duncan P. N. Exon Smith | 2014-04-29 | 1 | -5/+1 |
| | | | | llvm-svn: 207545 | ||||
* | Support: Add BranchProbability::scale() and ::scaleByInverse() | Duncan P. N. Exon Smith | 2014-04-29 | 1 | -0/+47 |
| | | | | | | | Add API to `BranchProbability` for scaling big integers. Next job is to rip the logic out of `BlockMass` and `BlockFrequency`. llvm-svn: 207544 | ||||
* | Print branch probabilities as percentages. | Benjamin Kramer | 2011-10-23 | 1 | -3/+3 |
| | | | | | | 50% is much more readable than 5.000000e-01. llvm-svn: 142752 | ||||
* | Add compare operators to BranchProbability and use it to determine if an ↵ | Benjamin Kramer | 2011-10-23 | 1 | -7/+0 |
| | | | | | | edge is hot. llvm-svn: 142751 | ||||
* | BranchProbability::print returns void now. | Jakub Staszak | 2011-07-25 | 1 | -2/+1 |
| | | | | llvm-svn: 135994 | ||||
* | Branch profiling: floating-point avoidance. | Andrew Trick | 2011-06-11 | 1 | -0/+44 |
Patch by: Jakub Staszak! Introduces BranchProbability. Changes unsigned to uint32_t all over and uint64_t only when overflow is expected. llvm-svn: 132867 |