Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
81fe1fbf4abd00b24e078a80cb15a2d2c1343f11
/
llvm
/
unittests
/
Support
/
BlockFrequencyTest.cpp
61e13de
Add - and -= operators to BlockFrequency using saturating arithmetic.
by Cong Hou
· 10 years ago
15ea016
Use fixed-point representation for BranchProbability.
by Cong Hou
· 10 years ago
9ffa6cd
Support: Add missing header to BlockFrequencyTest.cpp, NFC
by Duncan P. N. Exon Smith
· 11 years ago
7c8cf3e
Support: More BlockFrequencyTest => BranchProbabilityTest
by Duncan P. N. Exon Smith
· 11 years ago
a097c48
Support: BlockFrequencyTest => BranchProbabilityTest
by Duncan P. N. Exon Smith
· 11 years ago
547183b
blockfreq: Defer to BranchProbability::scale() (again)
by Duncan P. N. Exon Smith
· 11 years ago
8f17dcc
[block-freq] Add a right shift to BlockFrequency that saturates at 1.
by Michael Gottesman
· 12 years ago
983f94a
[block-freq] Update data in test case to be unsigned long long to fix mingw build.
by Michael Gottesman
· 12 years ago
4d078a3
[block-freq] Add BlockFrequency::scale that returns a remainder from the division and make the private scale in BlockFrequency more performant.
by Michael Gottesman
· 12 years ago
3192b2f
Fix a bad overflow check pointed out by Ben.
by Jakob Stoklund Olesen
· 12 years ago
c506e5d
Add a division operator to BlockFrequency.
by Jakob Stoklund Olesen
· 12 years ago
bfb84d0
Revert "BlockFrequency: Saturate at 1 instead of 0 when multiplying a frequency with a branch probability."
by Benjamin Kramer
· 12 years ago
bd0f107
BlockFrequency: Saturate at 1 instead of 0 when multiplying a frequency with a branch probability.
by Benjamin Kramer
· 12 years ago
130cec2
Sort the #include lines for unittest/...
by Chandler Carruth
· 13 years ago
a520de1
For reasons I can't fathom MSVC supports ULL but not LLU suffixes on long long integer literals.
by Benjamin Kramer
· 13 years ago
812da49
Implement comparison operators for BranchProbability in a way that can't overflow INT64_MAX.
by Benjamin Kramer
· 14 years ago
929f53f
Add compare operators to BranchProbability and use it to determine if an edge is hot.
by Benjamin Kramer
· 14 years ago
8a3d4c4
Add test cases for BlockFrequency.
by Jakub Staszak
· 14 years ago