aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/MachineBranchProbabilityInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use BranchProbability compare operators.Benjamin Kramer2011-11-141-8/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143190 91177308-0d34-0410-b5e6-96231b3b80d8
* Introduce MachineBranchProbabilityInfo class, which has similar API toJakub Staszak2011-06-161-0/+113
BranchProbabilityInfo (expect setEdgeWeight which is not available here). Branch Weights are kept in MachineBasicBlocks. To turn off this analysis set -use-mbpi=false. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133184 91177308-0d34-0410-b5e6-96231b3b80d8