mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
PR9505:
--- Merging r127858 into '.': U tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@128201 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
962a797052
commit
c9acfcd22c
@ -471,11 +471,11 @@ static bool ParseBlock(BitstreamCursor &Stream, unsigned IndentLevel) {
|
||||
}
|
||||
|
||||
static void PrintSize(double Bits) {
|
||||
fprintf(stderr, "%.2f/%.2fB/%lluW", Bits, Bits/8,(unsigned long long)Bits/32);
|
||||
fprintf(stderr, "%.2f/%.2fB/%luW", Bits, Bits/8,(unsigned long)(Bits/32));
|
||||
}
|
||||
static void PrintSize(uint64_t Bits) {
|
||||
fprintf(stderr, "%llub/%.2fB/%lluW", (unsigned long long)Bits,
|
||||
(double)Bits/8, (unsigned long long)Bits/32);
|
||||
fprintf(stderr, "%lub/%.2fB/%luW", (unsigned long)Bits,
|
||||
(double)Bits/8, (unsigned long)(Bits/32));
|
||||
}
|
||||
|
||||
|
||||
@ -601,8 +601,8 @@ static int AnalyzeBitcode() {
|
||||
for (unsigned i = 0, e = FreqPairs.size(); i != e; ++i) {
|
||||
const PerRecordStats &RecStats = Stats.CodeFreq[FreqPairs[i].second];
|
||||
|
||||
fprintf(stderr, "\t\t%7d %9llu ", RecStats.NumInstances,
|
||||
(unsigned long long)RecStats.TotalBits);
|
||||
fprintf(stderr, "\t\t%7d %9lu ", RecStats.NumInstances,
|
||||
(unsigned long)RecStats.TotalBits);
|
||||
|
||||
if (RecStats.NumAbbrev)
|
||||
fprintf(stderr, "%7.2f ",
|
||||
|
Loading…
Reference in New Issue
Block a user