1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/include
Jakob Stoklund Olesen a9465b9413 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.

llvm-svn: 185184
2013-06-28 18:23:42 +00:00
..
llvm Add a division operator to BlockFrequency. 2013-06-28 18:23:42 +00:00
llvm-c Add a new function attribute 'cold' to functions. 2013-05-24 12:26:52 +00:00