summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/BranchProbability.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Print branch probabilities as percentages.Benjamin Kramer2011-10-231-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 Kramer2011-10-231-7/+0
| | | | | | edge is hot. llvm-svn: 142751
* BranchProbability::print returns void now.Jakub Staszak2011-07-251-2/+1
| | | | llvm-svn: 135994
* Branch profiling: floating-point avoidance.Andrew Trick2011-06-111-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
OpenPOWER on IntegriCloud