Benjamin Kramer
f2c4baf01b
Remove unused typedef. GCC warns about this.
...
llvm-svn: 212105
2014-07-01 15:39:32 +00:00
Duncan P. N. Exon Smith
7ef44be792
Support: Return ScaledNumbers::MaxScale from getQuotient()
...
Return MaxScale now that it's available.
llvm-svn: 211559
2014-06-24 00:26:08 +00:00
Duncan P. N. Exon Smith
eceabc1f7d
Support: Extract ScaledNumbers::getSum() and getDifference()
...
llvm-svn: 211553
2014-06-23 23:15:25 +00:00
Duncan P. N. Exon Smith
68a5ef1a63
Support: Return scale from ScaledNumbers::matchScales()
...
This will be convenient when extracting `ScaledNumbers::getSum()`.
llvm-svn: 211552
2014-06-23 23:14:51 +00:00
Duncan P. N. Exon Smith
aa908fc991
Support: Extract ScaledNumbers::matchScale()
...
llvm-svn: 211531
2014-06-23 20:40:45 +00:00
Duncan P. N. Exon Smith
820c3ab3d9
Cleanup r211507
...
llvm-svn: 211521
2014-06-23 18:08:58 +00:00
Duncan P. N. Exon Smith
0067ff4678
Support: Extract ScaledNumbers::compare()
...
llvm-svn: 211507
2014-06-23 17:47:40 +00:00
Duncan P. N. Exon Smith
03c2bfc2ef
Support: ScaledNumber: Fix inconsistent test names
...
llvm-svn: 211414
2014-06-20 22:36:09 +00:00
Duncan P. N. Exon Smith
818a8176ea
Support: Write ScaledNumbers::getLg{,Floor,Ceiling}()
...
llvm-svn: 211413
2014-06-20 22:33:40 +00:00
Duncan P. N. Exon Smith
411840d963
Support: Write ScaledNumber::getQuotient() and getProduct()
...
llvm-svn: 211409
2014-06-20 21:47:47 +00:00
Duncan P. N. Exon Smith
d4ea631fec
Support: Mark end of namespaces
...
This convinces clang-format to leave a newline.
llvm-svn: 211406
2014-06-20 21:43:20 +00:00
Duncan P. N. Exon Smith
2800a3770d
Support: Clean up getRounded() tests
...
llvm-svn: 211337
2014-06-20 02:31:07 +00:00
Duncan P. N. Exon Smith
e9e44cd189
Support: Write ScaledNumbers::getAdjusted()
...
llvm-svn: 211336
2014-06-20 02:31:03 +00:00
Duncan P. N. Exon Smith
9c62dd583b
Support: Write ScaledNumbers::getRounded()
...
Start extracting helper functions out of -block-freq's `UnsignedFloat`
into `Support/ScaledNumber.h` with the eventual goal of moving and
renaming the class to `ScaledNumber`.
The bike shed about names is still being painted, but I'm going with
this for now.
llvm-svn: 211333
2014-06-20 01:30:43 +00:00