summaryrefslogtreecommitdiff
path: root/unittests/Support/BlockFrequencyTest.cpp
AgeCommit message (Expand)AuthorFilesLines
2014-04-29Support: More BlockFrequencyTest => BranchProbabilityTestDuncan P. N. Exon Smith1-29/+0
2014-04-29Support: BlockFrequencyTest => BranchProbabilityTestDuncan P. N. Exon Smith1-97/+0
2014-04-29blockfreq: Defer to BranchProbability::scale() (again)Duncan P. N. Exon Smith1-96/+87
2013-12-14[block-freq] Add a right shift to BlockFrequency that saturates at 1.Michael Gottesman1-0/+8
2013-11-22[block-freq] Update data in test case to be unsigned long long to fix mingw b...Michael Gottesman1-80/+80
2013-11-17[block-freq] Add BlockFrequency::scale that returns a remainder from the divi...Michael Gottesman1-0/+133
2013-06-28Fix a bad overflow check pointed out by Ben.Jakob Stoklund Olesen1-0/+5
2013-06-28Add a division operator to BlockFrequency.Jakob Stoklund Olesen1-0/+18
2013-06-21Revert "BlockFrequency: Saturate at 1 instead of 0 when multiplying a frequen...Benjamin Kramer1-12/+1
2013-06-21BlockFrequency: Saturate at 1 instead of 0 when multiplying a frequency with ...Benjamin Kramer1-1/+12
2012-12-04Sort the #include lines for unittest/...Chandler Carruth1-2/+1
2012-06-17For reasons I can't fathom MSVC supports ULL but not LLU suffixes on long lon...Benjamin Kramer1-1/+1
2011-10-24Implement comparison operators for BranchProbability in a way that can't over...Benjamin Kramer1-0/+9
2011-10-23Add compare operators to BranchProbability and use it to determine if an edge...Benjamin Kramer1-0/+20
2011-07-27Add test cases for BlockFrequency.Jakub Staszak1-0/+56