Add some new fields for bytecode analysis.
authorReid Spencer <rspencer@reidspencer.com>
Wed, 9 Jun 2004 06:18:53 +0000 (06:18 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 9 Jun 2004 06:18:53 +0000 (06:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14092 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Bytecode/Analyzer.h

index 3bc944f62f6668f11f9be0b56b0716207ee7b772..b1cd009fef42bdda70bc8be23f36b25591a75d78 100644 (file)
@@ -29,7 +29,8 @@ namespace llvm {
 /// results.
 /// @brief Bytecode Analysis results structure
 struct BytecodeAnalysis {
-  unsigned byteSize;            ///< The size of the bytecode file in bytes
+  std::string ModuleId;     ///< Identification of the module
+  unsigned byteSize;        ///< The size of the bytecode file in bytes
   unsigned numTypes;        ///< The number of types
   unsigned numValues;       ///< The number of values
   unsigned numFunctions;    ///< The number of functions defined
@@ -38,6 +39,8 @@ struct BytecodeAnalysis {
   unsigned numInstructions; ///< The number of instructions in all functions
   unsigned numBasicBlocks;  ///< The number of BBs in all functions
   unsigned numOperands;     ///< The number of BBs in all functions
+  unsigned numCmpctnTables; ///< The number of compaction tables
+  unsigned numSymTab;       ///< The number of symbol tables
   unsigned maxTypeSlot;     ///< The maximum slot number for types
   unsigned maxValueSlot;    ///< The maximum slot number for values
   double   density;         ///< Density of file (bytes/defs)