Chandler Carruth
|
6b547686c5
Update the file headers across all of the LLVM projects in the monorepo
|
6 سال پیش |
Cong Hou
|
7ebb1848c3
Add - and -= operators to BlockFrequency using saturating arithmetic.
|
10 سال پیش |
Cong Hou
|
fed6bd8617
Use fixed-point representation for BranchProbability.
|
10 سال پیش |
Duncan P. N. Exon Smith
|
63773729ca
Support: Add missing header to BlockFrequencyTest.cpp, NFC
|
10 سال پیش |
Duncan P. N. Exon Smith
|
31413d8f1d
Support: More BlockFrequencyTest => BranchProbabilityTest
|
11 سال پیش |
Duncan P. N. Exon Smith
|
2c252dd576
Support: BlockFrequencyTest => BranchProbabilityTest
|
11 سال پیش |
Duncan P. N. Exon Smith
|
07f96126af
blockfreq: Defer to BranchProbability::scale() (again)
|
11 سال پیش |
Michael Gottesman
|
1b98ef1c19
[block-freq] Add a right shift to BlockFrequency that saturates at 1.
|
11 سال پیش |
Michael Gottesman
|
e323506316
[block-freq] Update data in test case to be unsigned long long to fix mingw build.
|
11 سال پیش |
Michael Gottesman
|
e7a1e3ee82
[block-freq] Add BlockFrequency::scale that returns a remainder from the division and make the private scale in BlockFrequency more performant.
|
11 سال پیش |
Jakob Stoklund Olesen
|
5d3257e37c
Fix a bad overflow check pointed out by Ben.
|
12 سال پیش |
Jakob Stoklund Olesen
|
d7648ff20f
Add a division operator to BlockFrequency.
|
12 سال پیش |
Benjamin Kramer
|
b47aceaf06
Revert "BlockFrequency: Saturate at 1 instead of 0 when multiplying a frequency with a branch probability."
|
12 سال پیش |
Benjamin Kramer
|
93702a3b07
BlockFrequency: Saturate at 1 instead of 0 when multiplying a frequency with a branch probability.
|
12 سال پیش |
Chandler Carruth
|
5a88dda4be
Sort the #include lines for unittest/...
|
12 سال پیش |
Benjamin Kramer
|
3b6752eec5
For reasons I can't fathom MSVC supports ULL but not LLU suffixes on long long integer literals.
|
13 سال پیش |
Benjamin Kramer
|
13b10731ab
Implement comparison operators for BranchProbability in a way that can't overflow INT64_MAX.
|
14 سال پیش |
Benjamin Kramer
|
341473c86d
Add compare operators to BranchProbability and use it to determine if an edge is hot.
|
14 سال پیش |
Jakub Staszak
|
0031b4f74e
Add test cases for BlockFrequency.
|
14 سال پیش |