mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
revert the additional stuff.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163241 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
851343c741
commit
73e562a95a
@ -588,15 +588,13 @@ static int AnalyzeBitcode() {
|
|||||||
std::reverse(FreqPairs.begin(), FreqPairs.end());
|
std::reverse(FreqPairs.begin(), FreqPairs.end());
|
||||||
|
|
||||||
outs() << "\tRecord Histogram:\n";
|
outs() << "\tRecord Histogram:\n";
|
||||||
outs() << "\t\t Count # Bits Bytes-Per %% Abv Record Kind\n";
|
outs() << "\t\t Count # Bits %% Abv Record Kind\n";
|
||||||
for (unsigned i = 0, e = FreqPairs.size(); i != e; ++i) {
|
for (unsigned i = 0, e = FreqPairs.size(); i != e; ++i) {
|
||||||
const PerRecordStats &RecStats = Stats.CodeFreq[FreqPairs[i].second];
|
const PerRecordStats &RecStats = Stats.CodeFreq[FreqPairs[i].second];
|
||||||
|
|
||||||
outs() <<
|
outs() << format("\t\t%7d %9.2f",
|
||||||
format("\t\t%7d %9lu %9.2f",
|
RecStats.NumInstances,
|
||||||
RecStats.NumInstances,
|
(unsigned long)RecStats.TotalBits);
|
||||||
(unsigned long)RecStats.TotalBits,
|
|
||||||
((double)RecStats.TotalBits/RecStats.NumInstances)/8.0);
|
|
||||||
|
|
||||||
if (RecStats.NumAbbrev)
|
if (RecStats.NumAbbrev)
|
||||||
outs() <<
|
outs() <<
|
||||||
|
Loading…
x
Reference in New Issue
Block a user