41 unsigned MaxInstStorageSize = InstStorage.size();
42 if (MaxInstStorageSize <= TotalCounter) {
43 auto Ratio = double(MaxInstStorageSize) / double(TotalCounter);
44 OS <<
"Cache ratio = " << MaxInstStorageSize <<
" / " << TotalCounter
45 <<
llvm::format(
" (%.2f%%)", (1.0 - Ratio) * 100.0) <<
"\n";
47 OS <<
"Error: Number of created instructions "
48 <<
"are larger than the number of issued instructions\n";
This file contains IncrementalSourceMgr, an implementation of SourceMgr that allows users to add new ...
void printStatistic(raw_ostream &OS)
Print statistic about instruction recycling stats.
void updateNext() override
Advance to the next SourceRef.
An instruction propagated through the simulated instruction pipeline.
This class implements an extremely fast bulk output stream that can only output to a stream.
This is an optimization pass for GlobalISel generic memory operations.
format_object< Ts... > format(const char *Fmt, const Ts &... Vals)
These are helper functions used to produce formatted output.