llvm-mirror/include
Duncan P. N. Exon Smith c69dc1873d blockfreq: Defer to BranchProbability::scale() (again)
Change `BlockFrequency` to defer to `BranchProbability::scale()` and
`BranchProbability::scaleByInverse()`.

This removes `BlockFrequency::scale()` from its API (and drops the
ability to see the remainder), but the only user was the unit tests.  If
some code in the future needs an API that exposes the remainder, we can
add something to `BranchProbability`, but I find that unlikely.

llvm-svn: 207550
2014-04-29 16:31:29 +00:00
..
llvm blockfreq: Defer to BranchProbability::scale() (again) 2014-04-29 16:31:29 +00:00
llvm-c [PM] Add pass run listeners to the pass manager. 2014-04-28 18:19:25 +00:00