13 #ifndef LLVM_BITCODE_BITCODE_ANALYZER_H 14 #define LLVM_BITCODE_BITCODE_ANALYZER_H 54 unsigned NumTopBlocks = 0;
56 struct PerRecordStats {
57 unsigned NumInstances;
60 PerRecordStats() : NumInstances(0), NumAbbrev(0), TotalBits(0) {}
63 struct PerBlockIDStats {
65 unsigned NumInstances;
69 unsigned NumSubBlocks;
74 unsigned NumRecords, NumAbbreviatedRecords;
76 std::vector<PerRecordStats> CodeFreq;
78 : NumInstances(0), NumBits(0), NumSubBlocks(0), NumAbbrevs(0),
79 NumRecords(0), NumAbbreviatedRecords(0) {}
82 std::map<unsigned, PerBlockIDStats> BlockIDStats;
104 #endif // LLVM_BITCODE_BITCODE_ANALYZER_H bool ShowBinaryBlobs
Print binary blobs using hex escapes.
This class represents lattice values for constants.
bool Symbolic
Don't emit numeric info in dump if symbolic info is available.
This represents a position within a bitcode file, implemented on top of a SimpleBitstreamCursor.
raw_ostream & OS
The stream.
This class maintains the abbreviations read from a block info block.
BCDumpOptions(raw_ostream &OS)
bool Histogram
Print per-code histogram.
Lightweight error class with error context and mandatory checking.
This class implements an extremely fast bulk output stream that can only output to a stream...
StringRef - Represent a constant reference to a string, i.e.
CurStreamTypeType
CurStreamTypeType - A type for CurStreamType.