Jakob Stoklund Olesen d7648ff20f Add a division operator to BlockFrequency.
Allow a BlockFrequency to be divided by a non-zero BranchProbability
with saturating arithmetic. This will be used to compute the frequency
of a loop header given the probability of leaving the loop.

Our long division algorithm already saturates on overflow, so that was a
freebie.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185184 91177308-0d34-0410-b5e6-96231b3b80d8
2013-06-28 18:23:42 +00:00
..
2013-05-01 21:01:06 +00:00
2012-08-08 18:37:39 +00:00
2012-08-08 18:37:39 +00:00
2012-07-27 21:41:59 +00:00
2013-03-18 23:04:30 +00:00
2013-06-25 16:49:50 +00:00
2012-09-14 14:57:36 +00:00
2012-07-19 00:01:00 +00:00
2013-06-11 22:21:28 +00:00
2013-06-13 21:16:58 +00:00
2013-05-21 20:36:13 +00:00
2013-02-26 18:05:31 +00:00