summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/BlockFrequency.cpp
Commit message (Expand)AuthorAgeFilesLines
* Add - and -= operators to BlockFrequency using saturating arithmetic.Cong Hou2015-10-121-0/+15
* Turn const/const& into value type for BlockFrequency in functions of this cla...Cong Hou2015-10-121-8/+6
* Fixed a bug that BranchProbability is not defined in BlockFrequency.cpp. NFC.Cong Hou2015-09-111-1/+0
* Pass BranchProbability/BlockMass by value instead of const& as they are small...Cong Hou2015-09-101-4/+4
* blockfreq: Defer to BranchProbability::scale() (again)Duncan P. N. Exon Smith2014-04-291-93/+2
* [block-freq] Add a right shift to BlockFrequency that saturates at 1.Michael Gottesman2013-12-141-0/+12
* [block-freq] Remove old BlockFrequency entry frequency and printing code.Michael Gottesman2013-12-141-21/+0
* [block-freq] Add BlockFrequency::scale that returns a remainder from the divi...Michael Gottesman2013-11-171-38/+60
* Fix a bad overflow check pointed out by Ben.Jakob Stoklund Olesen2013-06-281-4/+2
* Eliminate an assortment of undefined behavior.Jakob Stoklund Olesen2013-06-281-1/+5
* Stylistic cleanups, no functional change.Jakob Stoklund Olesen2013-06-281-10/+7
* Add a division operator to BlockFrequency.Jakob Stoklund Olesen2013-06-281-23/+35
* Print block frequencies in decimal form.Jakob Stoklund Olesen2013-06-251-1/+10
* Revert "BlockFrequency: Saturate at 1 instead of 0 when multiplying a frequen...Benjamin Kramer2013-06-211-10/+2
* BlockFrequency: Saturate at 1 instead of 0 when multiplying a frequency with ...Benjamin Kramer2013-06-211-2/+10
* BlockFrequency: Use a smarter overflow check.Benjamin Kramer2011-10-271-4/+8
* Optimize 96-bit division a little bit.Jakub Staszak2011-07-271-2/+3
* Move static methods to the anonymous namespace.Jakub Staszak2011-07-271-2/+7
* Add BlockFrequency class.Jakub Staszak2011-07-251-0/+120
OpenPOWER on IntegriCloud