commit | 66d847c8ffff5199248fccc10cb27f80c5cf9ebe | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Sun Oct 23 20:10:34 2011 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Sun Oct 23 20:10:34 2011 +0000 |
tree | c85984aecdf46a13c7e758c9fd0978dac1ebc7f7 | |
parent | 4f780536953cdd3d92c21111301763ddd57ab720 [diff] |
Now that we have comparison on probabilities, add some static functions to get important constant branch probabilities and use them for finding the best branch out of a set of possibilities. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142762 91177308-0d34-0410-b5e6-96231b3b80d8